Differences between revisions 62 and 63
Revision 62 as of 2017-09-14 12:54:37
Size: 8495
Comment:
Revision 63 as of 2017-10-01 14:48:26
Size: 8471
Editor: Praveen A
Comment:
Deletions are marked like this. Additions are marked like this.
Line 45: Line 45:
  "replace": "nodejs",

Information

In this page is listed some information about those packages have problems in Node.js in Debian.

The list here is automatically read by Npm2Deb, so please DO NOT edit this page if you do not know what you are doing.

For changes request, please contact the team Javascript.

Database

JSON Syntax

  • the key: is the node module-name

  • replace: is the debian package the module should refer to (optional) (if "replace", but no message, means just a map between node-module name and debian package-name, see coffee-script)

  • message: use one of info, warning or error labels (optional)

Before save your changes, please ensure your code is correct by using jsonlint.com web service.

{
        "coffee-script": {
                "replace": "coffeescript"
        },
        "uglify-js": {
                "replace": "uglifyjs"
        },
        "node-pre-gyp": {
                "replace": "node-pre-gyp"
        },
        "node-gyp": {
                "replace": "node-gyp"
        },
        "grunt": {
                "replace": "grunt"
        },
        "node-libs-browser": {
                "replace": "node-libs-browser"
        },
        "acorn": {
                "replace": "acorn"
        },
        "set-immediate-shim": {
                "replace": "node-setimmediate"
        },
        "requirejs": {
                "replace": "requirejs"
        },
        "readable-stream": {
                "warning": "Only nodejs >= 0.10.x is in debian, see node-multiparty for a patch. Do not replace if needed for browserify/webpack"
        },
        "os-homedir": {
                "replace": "nodejs",
                "error": "Use os.homedir()"
        },
        "is-fullwidth-code-point": {
                "replace": "node-wcwidth.js",
                "error": "Use node-wcwidth.js, see node-string-width for patch"
        },
        "should": {
                "replace": "should.js"
        },
        "through": {
                "replace": "node-through2",
                "warning": "through2 is better maintained, see node-jsonstream for a patch"
        },
        "flatten": {
                "replace": "node-lodash-packages",
                "warning": "use lodash.flatten instead"
        },
        "asap": {
                "error": "is included in node-promise as a patch, contact the maintainer for more info"
        },
        "ee-first": {
                "error": "is included in node-on-finished as a patch, contact the maintainer for more info"
        },
        "   foreach": {
                "replace": "node-lodash-packages",
                "warning": "use lodash for-each modulo checking empty"
        },
        "for-each": {
                "replace": "node-lodash-packages",
                "warning": "use lodash for-each modulo checking empty see node-tape"
        },
        "fast-future": {
                "error": "is included in node-leveldown as a patch, contact the maintainer for more info"
        },
        "jstream": {
                "error": "is included in node-ytdl-core as a patch, contact the maintainer for more info"
        },
        "forwarded": {
                "error": "is included in node-proxy-addr as a patch, contact the maintainer for more info"
        },
        "xtend": {
                "replace": "node-extend",
                "warning": "extend does the same job"
        },
        "iconv-lite": {
                "replace": "node-iconv",
                "warning": "node-iconv offers the same functions, see node-body-parser for a patch"
        },
        "ms": {
                "replace": "node-debug",
                "warning": "is bundled in node-debug, can be imported via require('debug').humanize"
        },
        "mime-db": {
                "replace": "node-mime-types",
                "warning": "is bundled in node-mime-types, can be imported via require('mime-types').db"
        },
        "atob": {
                "replace": "node-css",
                "error": "is included in node-css as a patch, contact the maintainer for more info"
        },
        "resolve-url": {
                "replace": "node-css",
                "error": "is included in node-css as a patch, contact the maintainer for more info"
        },
        "string.prototype.trim": {
                "replace": "nodejs",
                "error": "see node-tape for patch"
        },
        "source-map-resolve": {
                "replace": "node-css",
                "error": "is included in node-css as a patch, contact the maintainer for more info"
        },
        "source-map-url": {
                "replace": "node-css",
                "error": "is included in node-css as a patch, contact the maintainer for more info"
        },
        "urix": {
                "replace": "node-css",
                "error": "is included in node-css as a patch, contact the maintainer for more info"
        },
        "destroy": {
                "error": "is included in node-send as a patch, contact the maintainer for more info"
        },
        "spawn-sync": {
                "warning": "use child_process.spawnSync from nodejs core instead, see node-cross-spawn for a patch"
        },
        "os-shim": {
                "warning": "no need to package os-shim for Debian. The shim is not required as Debian has a modern version of nodejs with a full and stable os API. Packages requiring os-shim should just work without it."
        },
        "string-decoder": {
                "warning": "no need to package string-decoder for Debian. Packages requiring string-decoder should work the string-decoder function provided within nodejs itself (except some like browserify)."
        },
        "shallow-copy": {
                "replace": "lodash-package",
                "warning": "You may replace by lodash.clone see node-static-module for patch"
        },
        "minimalistic-assert": {
                "replace": "node-assert",
                "warning": "this a cut down version of assert. Replace by assert see node-des.js for a patch"
        },
        "has": {
                "error": "is trivial to drop as a dependency and is included in node-tape as a patch, contact the maintainer for more info"
        },
        "path-platform" : {
                "replace" : "nodejs",
                "warning" : "use built-in path package"
         },
        "lodash.*": {
                "replace": "node-lodash-packages"
        },
        "array-filter": { 
                "replace" : "nodejs (>= 6)",
                "warning" : "function filter(a,f){ return a.filter(f); } will do the work with newer nodejs"
         },
         "array-map": { 
                "replace" : "nodejs (>= 6)",
                "warning" : "function map(a,f){ return a.map(f); } will do the work with newer nodejs"
         },
        "array-reduce": { 
                "replace" : "nodejs (>= 6)",
                "warning" : "function reduce(a,f){ return a.reduce(f); } will do the work with newer nodejs. See node-shell-quote"
         },
         "color-support"  : {
                "replace" : "node-supports-color",
                "warning" : "see tap-mocha-reporter package for patch"
         },
         "sinon-restore"  : {
                "replace" : "node-sinon",
                "warning" : "see node-log-drive for a patch"
         },
         "cp" : {
               "replace" : "node-fs-extra",
               "warning" : "better maintained, active"
         },
         "trim-right" : {
              "replace" : "nodejs",
              "warning" : ".replace function will do the work"
         },
         "trim-left" : {
              "replace" : "nodejs",
              "warning" : ".replace function will do the work"
         },
         "minipass" : {
              "replace" : "nodejs",
              "warning" : "stream.PassTrough implementation see node-tap-parser"
         },
         "touch" :    {
              "replace" : "nodejs",
              "warning" : "use fs.openSync and so on see node-tap for patch"
         },
         "events-to-array" : {
              "replace" : "node-tap-parser",
              "warning" : "leaf package, please ask for split if more than tap-parser"
         },
         "bind-obj-methods": {
              "replace" : "node-tap",
              "warning" : "leaf package, please ask for split if more than tap" 
         }, 
         "fs-exists-cached": {
              "replace" : "node-tap",
              "warning" : "leaf package, please ask for split if more than tap" 
         },
         "function-loop": {
              "replace" : "node-tap",
              "warning" : "leaf package, please ask for split if more than tap" 
         },
         "own-or": {
              "replace" : "node-tap",
              "warning" : "leaf package, please ask for split if more than tap" 
         },
         "own-or-env": {
              "replace" : "node-tap",
              "warning" : "leaf package, please ask for split if more than tap" 
         },
         "trivial-deferred": {
              "replace" : "node-tap",
              "warning" : "leaf package, please ask for split if more than tap" 
         },
         "tsame": {
              "replace" : "node-tap",
              "warning" : "leaf package, please ask for split if more than tap" 
         },
         "yapool": {
              "replace" : "node-tap",
              "warning" : "leaf package, please ask for split if more than tap" 
         }
}