Permalink
Switch branches/tags
Nothing to show
Commits on Apr 23, 2017
  1. Merge pull request #10 from mlb-/patch-1

    dcodeIO committed on GitHub Apr 23, 2017
    Typo fix, added missing function
  2. Merge pull request #12 from kraag22/master

    dcodeIO committed on GitHub Apr 23, 2017
    add missing functions fs.access, fs.accessSync
  3. Merge pull request #13 from spirinvladimir/master

    dcodeIO committed on GitHub Apr 23, 2017
    extend util.inspect
Commits on Jan 23, 2017
  1. extend util.inspect

    spirinvladimir committed Jan 23, 2017
Commits on Nov 4, 2016
  1. Merge pull request #9 from wimpyprogrammer/callback-type-annotations-…

    dcodeIO committed on GitHub Nov 4, 2016
    …syntax
    
    Fixing type annotations in domain.js
Commits on Dec 7, 2015
Commits on Mar 15, 2015
  1. Typo fix, added missing function

    mlb- committed Mar 15, 2015
    The os module has both `tmpdir` and `tmpDir`, but no `tmddir` ;)
Commits on Feb 19, 2015
  1. Fixing type annotations in domain.js

    wimpyprogrammer committed Feb 19, 2015
    Fixing the syntax of the type annotations for variable number, any type callbacks to avoid warnings from the Closure Compiler.
Commits on Aug 24, 2014
  1. Post-merge

    dcodeIO committed Aug 24, 2014
  2. Merge pull request #7 from keunwoo/master

    dcodeIO committed Aug 24, 2014
    +require.main
  3. +require.main

    keunwoo committed Aug 24, 2014
    This is present and equal to module when a module is run as main:
    http://nodejs.org/api/modules.html#modules_accessing_the_main_module
Commits on Aug 23, 2014
  1. Post-merge

    dcodeIO committed Aug 23, 2014
  2. Merge pull request #6 from keunwoo/master

    dcodeIO committed Aug 23, 2014
    update fs.{read,write}File{,Sync} decls
  3. update fs.{read,write}File{,Sync} decls

    keunwoo committed Aug 23, 2014
    In current (0.10.31) node, these functions take an options object as
    their second parameter, not a string.  I'm not sure when this was
    changed, although I think it happened many versions ago.
    
    http://nodejs.org/api/fs.html#fs_fs_readfile_filename_options_callback
    http://nodejs.org/api/fs.html#fs_fs_readfilesync_filename_options
    http://nodejs.org/api/fs.html#fs_fs_writefile_filename_data_options_callback
    http://nodejs.org/api/fs.html#fs_fs_writefilesync_filename_data_options
    
    The string form has been left as an alternative for users who are using
    old versions of node.
Commits on Jul 6, 2014
  1. Use 0.10 with travis

    dcodeIO committed Jul 6, 2014
  2. Merge pull request #4 from nicks/master

    dcodeIO committed Jul 6, 2014
    Fix the util.inspect contract
Commits on Mar 6, 2014
  1. Fix the util.inspect contract

    nicks committed Mar 6, 2014
Commits on Aug 14, 2013
  1. Versioning

    dcodeIO committed Aug 14, 2013
  2. Typo, fixes #3

    dcodeIO committed Aug 14, 2013
Commits on Apr 13, 2013
  1. Merge pull request #2 from kevinoid/fix-some-type-errors

    kevinoid committed Apr 13, 2013
    Fix type errors
  2. Remove @nosideeffects from fs functions with callback

    kevinoid committed Apr 13, 2013
    The side-effectfulness of these functions is determined based on whether
    the callback function has side-effects.  Presumably it does (what's the
    point of the callback otherwise?).  So remove the @nosideeffects
    annotation.
    
    Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
  3. Remove @nosideeffects from buffer.Buffer.prototype.copy

    kevinoid committed Apr 13, 2013
    The side-effect of this method is copying data into the target buffer
    given as an argument.
    
    Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
  4. Match stream.WritableStream.end to stream.Writable.end

    kevinoid committed Apr 13, 2013
    Until we decide what to do with WritableStream, fix it to avoid
    producing any warnings.
    
    Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
  5. Remove Object.prototype.inspect

    kevinoid committed Apr 13, 2013
    I'm not sure if this used to be added by node, but I can't find it
    anywhere in the docs or code in recent versions.  It was also causing
    the following warning (due to a conflict with util.inspect):
    
    ./util.js:77: WARNING - assignment to property inspect of Object.<string,*>
    found   : function (*, boolean=, number=, boolean=): string
    required: function (this:Object): ?
    util.inspect = function(object, showHidden, depth, colors) {};
    ^
    
    Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
  6. Remove unnecessary members from tls.Server

    kevinoid committed Apr 13, 2013
    These members are all inherited from net.Server and don't need to be
    redefined for tls.Server (and the listen definition was causing type
    warnings).
    
    Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
  7. Update crypto module

    kevinoid committed Apr 13, 2013
    Lots of refactoring to work around the fact that Closure Compiler
    doesn't have proper support for mixins.  Ensure that @extends meets the
    requirement that X instanceof Y if X @extends Y.  Add copies of the
    annotations for all mixin methods and aliased functions.
    
    Also add missing annotations for pbkdf2.
    
    Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
  8. Replace ServerRequest/ClientResponse with IncomingMessage

    kevinoid committed Apr 13, 2013
    Replace the http.ServerRequest and http.ClientResponse classes with the
    IncomingMessage class, as is done in recent versions of node.  Add the
    missing members to the prototype.
    
    Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
  9. Remove number assignment to Date properties

    kevinoid committed Apr 13, 2013
    The properties of Stat with Date type were being assigned numbers, which
    caused compile warnings.  Remove the unnecessary assignment.
    
    Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
  10. Add Date type to time arguments in fs

    kevinoid committed Apr 13, 2013
    All of the functions which take a time argument accept either numbers
    (as seconds since the epoch) or a Date.  Add the Date type to arguments
    where it was missing.
    
    Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
  11. Major reworking of streams

    kevinoid committed Apr 13, 2013
    Update the annotations to match their definitions in node 0.10.  Also,
    stream (the namespace) is not a class, use stream.Stream instead as
    appropriate.
    
    This commit doesn't fix the multiple inheritance/mixin issue with Duplex
    needing to extend from both Readable and Writable.  This may require
    defining some interfaces which can be implemented.
    
    This commit also doesn't touch ReadableStream and WritableStream.  I'm
    not sure of the purpose of these classes and since they are heavily used
    in other namespaces, I'll leave them alone for now.
    
    Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
  12. Fix type of module.require

    kevinoid committed Apr 13, 2013
    Although it has the same type as the global require function, the global
    require function isn't a type (constructor).  So update the type of
    module.require to match it.  This fixes the following warning:
    
    ./core.js:76: WARNING - Bad type annotation. Unknown type require
     * @type {require}
              ^
    
    Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
  13. Make options argument of child_process.fork optional

    kevinoid committed Apr 13, 2013
    According to the docs (and code) this argument is optional.  This also
    fixes the warning about non-optional arguments following optional
    arguments.
    
    Signed-off-by: Kevin Locke <kevin@kevinlocke.name>