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

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

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

    extend util.inspect
    committed on GitHub Apr 23, 2017
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-…

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

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

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

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

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

    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
    keunwoo committed Aug 24, 2014
Commits on Aug 23, 2014
  1. Post-merge

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

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

    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.
    keunwoo committed Aug 23, 2014
Commits on Jul 6, 2014
  1. Use 0.10 with travis

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

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

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

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

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

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

    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>
    kevinoid committed Apr 13, 2013
  3. Remove @nosideeffects from buffer.Buffer.prototype.copy

    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>
    kevinoid committed Apr 13, 2013
  4. Match stream.WritableStream.end to stream.Writable.end

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

    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>
    kevinoid committed Apr 13, 2013
  6. Remove unnecessary members from tls.Server

    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>
    kevinoid committed Apr 13, 2013
  7. Update crypto module

    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>
    kevinoid committed Apr 13, 2013
  8. Replace ServerRequest/ClientResponse with IncomingMessage

    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>
    kevinoid committed Apr 13, 2013
  9. Remove number assignment to Date properties

    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>
    kevinoid committed Apr 13, 2013
  10. Add Date type to time arguments in fs

    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>
    kevinoid committed Apr 13, 2013
  11. Major reworking of streams

    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>
    kevinoid committed Apr 13, 2013
  12. Fix type of module.require

    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>
    kevinoid committed Apr 13, 2013
  13. Make options argument of child_process.fork optional

    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>
    kevinoid committed Apr 13, 2013