Commit ce4186c5 authored by Suresh Uppapalli's avatar Suresh Uppapalli
Browse files

Update app.js, package-lock.json, package.json

Deleted api/node_modules/.bin/mime, api/node_modules/.bin/mime.cmd, api/node_modules/.bin/mime.ps1, api/node_modules/.bin/nodemon, api/node_modules/.bin/nodemon.cmd, api/node_modules/.bin/nodemon.ps1, api/node_modules/.bin/nodetouch, api/node_modules/.bin/nodetouch.cmd, api/node_modules/.bin/nodetouch.ps1, api/node_modules/.bin/semver, api/node_modules/.bin/semver.cmd, api/node_modules/.bin/semver.ps1, api/node_modules/accepts/HISTORY.md, api/node_modules/accepts/LICENSE, api/node_modules/accepts/README.md, api/node_modules/accepts/index.js, api/node_modules/accepts/package.json, api/node_modules/anymatch/LICENSE, api/node_modules/anymatch/README.md, api/node_modules/anymatch/index.d.ts, api/node_modules/anymatch/index.js, api/node_modules/anymatch/package.json, api/node_modules/array-flatten/LICENSE, api/node_modules/array-flatten/README.md, api/node_modules/array-flatten/array-flatten.js, api/node_modules/array-flatten/package.json, api/node_modules/balanced-match/.github/FUNDING.yml, api/node_modules/balanced-match/LICENSE.md, api/node_modules/balanced-match/README.md, api/node_modules/balanced-match/index.js, api/node_modules/balanced-match/package.json, api/node_modules/binary-extensions/binary-extensions.json, api/node_modules/binary-extensions/binary-extensions.json.d.ts, api/node_modules/binary-extensions/index.d.ts, api/node_modules/binary-extensions/index.js, api/node_modules/binary-extensions/license, api/node_modules/binary-extensions/package.json, api/node_modules/binary-extensions/readme.md, api/node_modules/body-parser/lib/types/json.js, api/node_modules/body-parser/lib/types/raw.js, api/node_modules/body-parser/lib/types/text.js, api/node_modules/body-parser/lib/types/urlencoded.js, api/node_modules/body-parser/lib/read.js, api/node_modules/body-parser/HISTORY.md, api/node_modules/body-parser/LICENSE, api/node_modules/body-parser/README.md, api/node_modules/body-parser/SECURITY.md, api/node_modules/body-parser/index.js, api/node_modules/body-parser/package.json, api/node_modules/brace-expansion/LICENSE, api/node_modules/brace-expansion/README.md, api/node_modules/brace-expansion/index.js, api/node_modules/brace-expansion/package.json, api/node_modules/braces/lib/compile.js, api/node_modules/braces/lib/constants.js, api/node_modules/braces/lib/expand.js, api/node_modules/braces/lib/parse.js, api/node_modules/braces/lib/stringify.js, api/node_modules/braces/lib/utils.js, api/node_modules/braces/LICENSE, api/node_modules/braces/README.md, api/node_modules/braces/index.js, api/node_modules/braces/package.json, api/node_modules/bytes/History.md, api/node_modules/bytes/LICENSE, api/node_modules/bytes/Readme.md, api/node_modules/bytes/index.js, api/node_modules/bytes/package.json, api/node_modules/call-bind-apply-helpers/.github/FUNDING.yml, api/node_modules/call-bind-apply-helpers/test/index.js, api/node_modules/call-bind-apply-helpers/.eslintrc, api/node_modules/call-bind-apply-helpers/.nycrc, api/node_modules/call-bind-apply-helpers/CHANGELOG.md, api/node_modules/call-bind-apply-helpers/LICENSE, api/node_modules/call-bind-apply-helpers/README.md, api/node_modules/call-bind-apply-helpers/actualApply.d.ts, api/node_modules/call-bind-apply-helpers/actualApply.js, api/node_modules/call-bind-apply-helpers/applyBind.d.ts, api/node_modules/call-bind-apply-helpers/applyBind.js, api/node_modules/call-bind-apply-helpers/functionApply.d.ts, api/node_modules/call-bind-apply-helpers/functionApply.js, api/node_modules/call-bind-apply-helpers/functionCall.d.ts, api/node_modules/call-bind-apply-helpers/functionCall.js, api/node_modules/call-bind-apply-helpers/index.d.ts, api/node_modules/call-bind-apply-helpers/index.js, api/node_modules/call-bind-apply-helpers/package.json, api/node_modules/call-bind-apply-helpers/reflectApply.d.ts, api/node_modules/call-bind-apply-helpers/reflectApply.js, api/node_modules/call-bind-apply-helpers/tsconfig.json, api/node_modules/call-bound/.github/FUNDING.yml, api/node_modules/call-bound/test/index.js, api/node_modules/call-bound/.eslintrc, api/node_modules/call-bound/.nycrc, api/node_modules/call-bound/CHANGELOG.md, api/node_modules/call-bound/LICENSE, api/node_modules/call-bound/README.md, api/node_modules/call-bound/index.d.ts, api/node_modules/call-bound/index.js, api/node_modules/call-bound/package.json, api/node_modules/call-bound/tsconfig.json, api/node_modules/chokidar/lib/constants.js, api/node_modules/chokidar/lib/fsevents-handler.js, api/node_modules/chokidar/lib/nodefs-handler.js, api/node_modules/chokidar/types/index.d.ts, api/node_modules/chokidar/LICENSE, api/node_modules/chokidar/README.md, api/node_modules/chokidar/index.js, api/node_modules/chokidar/package.json, api/node_modules/concat-map/example/map.js, api/node_modules/concat-map/test/map.js, api/node_modules/concat-map/.travis.yml, api/node_modules/concat-map/LICENSE, api/node_modules/concat-map/README.markdown, api/node_modules/concat-map/index.js, api/node_modules/concat-map/package.json, api/node_modules/content-disposition/HISTORY.md, api/node_modules/content-disposition/LICENSE, api/node_modules/content-disposition/README.md, api/node_modules/content-disposition/index.js, api/node_modules/content-disposition/package.json, api/node_modules/content-type/HISTORY.md, api/node_modules/content-type/LICENSE, api/node_modules/content-type/README.md, api/node_modules/content-type/index.js, api/node_modules/content-type/package.json, api/node_modules/cookie/LICENSE, api/node_modules/cookie/README.md, api/node_modules/cookie/SECURITY.md, api/node_modules/cookie/index.js, api/node_modules/cookie/package.json, api/node_modules/cookie-signature/.npmignore, api/node_modules/cookie-signature/History.md, api/node_modules/cookie-signature/Readme.md, api/node_modules/cookie-signature/index.js, api/node_modules/cookie-signature/package.json, api/node_modules/cors/lib/index.js, api/node_modules/cors/CONTRIBUTING.md, api/node_modules/cors/HISTORY.md, api/node_modules/cors/LICENSE, api/node_modules/cors/README.md, api/node_modules/cors/package.json, api/node_modules/debug/src/browser.js, api/node_modules/debug/src/debug.js, api/node_modules/debug/src/index.js, api/node_modules/debug/src/inspector-log.js, api/node_modules/debug/src/node.js, api/node_modules/debug/.coveralls.yml, api/node_modules/debug/.eslintrc, api/node_modules/debug/.npmignore, api/node_modules/debug/.travis.yml, api/node_modules/debug/CHANGELOG.md, api/node_modules/debug/LICENSE, api/node_modules/debug/Makefile, api/node_modules/debug/README.md, api/node_modules/debug/component.json, api/node_modules/debug/karma.conf.js, api/node_modules/debug/node.js, api/node_modules/debug/package.json, api/node_modules/depd/lib/browser/index.js, api/node_modules/depd/History.md, api/node_modules/depd/LICENSE, api/node_modules/depd/Readme.md, api/node_modules/depd/index.js, api/node_modules/depd/package.json, api/node_modules/destroy/LICENSE, api/node_modules/destroy/README.md, api/node_modules/destroy/index.js, api/node_modules/destroy/package.json, api/node_modules/dunder-proto/.github/FUNDING.yml, api/node_modules/dunder-proto/test/get.js, api/node_modules/dunder-proto/test/index.js, api/node_modules/dunder-proto/test/set.js, api/node_modules/dunder-proto/.eslintrc, api/node_modules/dunder-proto/.nycrc, api/node_modules/dunder-proto/CHANGELOG.md, api/node_modules/dunder-proto/LICENSE, api/node_modules/dunder-proto/README.md, api/node_modules/dunder-proto/get.d.ts, api/node_modules/dunder-proto/get.js, api/node_modules/dunder-proto/package.json, api/node_modules/dunder-proto/set.d.ts, api/node_modules/dunder-proto/set.js, api/node_modules/dunder-proto/tsconfig.json, api/node_modules/ee-first/LICENSE, api/node_modules/ee-first/README.md, api/node_modules/ee-first/index.js, api/node_modules/ee-first/package.json, api/node_modules/encodeurl/LICENSE, api/node_modules/encodeurl/README.md, api/node_modules/encodeurl/index.js, api/node_modules/encodeurl/package.json, api/node_modules/es-define-property/.github/FUNDING.yml, api/node_modules/es-define-property/test/index.js, api/node_modules/es-define-property/.eslintrc, api/node_modules/es-define-property/.nycrc, api/node_modules/es-define-property/CHANGELOG.md, api/node_modules/es-define-property/LICENSE, api/node_modules/es-define-property/README.md, api/node_modules/es-define-property/index.d.ts, api/node_modules/es-define-property/index.js, api/node_modules/es-define-property/package.json, api/node_modules/es-define-property/tsconfig.json, api/node_modules/es-errors/.github/FUNDING.yml, api/node_modules/es-errors/test/index.js, api/node_modules/es-errors/.eslintrc, api/node_modules/es-errors/CHANGELOG.md, api/node_modules/es-errors/LICENSE, api/node_modules/es-errors/README.md, api/node_modules/es-errors/eval.d.ts, api/node_modules/es-errors/eval.js, api/node_modules/es-errors/index.d.ts, api/node_modules/es-errors/index.js, api/node_modules/es-errors/package.json, api/node_modules/es-errors/range.d.ts, api/node_modules/es-errors/range.js, api/node_modules/es-errors/ref.d.ts, api/node_modules/es-errors/ref.js, api/node_modules/es-errors/syntax.d.ts, api/node_modules/es-errors/syntax.js, api/node_modules/es-errors/tsconfig.json, api/node_modules/es-errors/type.d.ts, api/node_modules/es-errors/type.js, api/node_modules/es-errors/uri.d.ts, api/node_modules/es-errors/uri.js, api/node_modules/es-object-atoms/.github/FUNDING.yml, api/node_modules/es-object-atoms/test/index.js, api/node_modules/es-object-atoms/.eslintrc, api/node_modules/es-object-atoms/CHANGELOG.md, api/node_modules/es-object-atoms/LICENSE, api/node_modules/es-object-atoms/README.md, api/node_modules/es-object-atoms/RequireObjectCoercible.d.ts, api/node_modules/es-object-atoms/RequireObjectCoercible.js, api/node_modules/es-object-atoms/ToObject.d.ts, api/node_modules/es-object-atoms/ToObject.js, api/node_modules/es-object-atoms/index.d.ts, api/node_modules/es-object-atoms/index.js, api/node_modules/es-object-atoms/isObject.d.ts, api/node_modules/es-object-atoms/isObject.js, api/node_modules/es-object-atoms/package.json, api/node_modules/es-object-atoms/tsconfig.json, api/node_modules/escape-html/LICENSE, api/node_modules/escape-html/Readme.md, api/node_modules/escape-html/index.js, api/node_modules/escape-html/package.json, api/node_modules/etag/HISTORY.md, api/node_modules/etag/LICENSE, api/node_modules/etag/README.md, api/node_modules/etag/index.js, api/node_modules/etag/package.json, api/node_modules/express/lib/middleware/init.js, api/node_modules/express/lib/middleware/query.js, api/node_modules/express/lib/router/index.js, api/node_modules/express/lib/router/layer.js, api/node_modules/express/lib/router/route.js, api/node_modules/express/lib/application.js, api/node_modules/express/lib/express.js, api/node_modules/express/lib/request.js, api/node_modules/express/lib/response.js, api/node_modules/express/lib/utils.js, api/node_modules/express/lib/view.js, api/node_modules/express/History.md, api/node_modules/express/LICENSE, api/node_modules/express/Readme.md, api/node_modules/express/index.js, api/node_modules/express/package.json, api/node_modules/fill-range/LICENSE, api/node_modules/fill-range/README.md, api/node_modules/fill-range/index.js, api/node_modules/fill-range/package.json, api/node_modules/finalhandler/HISTORY.md, api/node_modules/finalhandler/LICENSE, api/node_modules/finalhandler/README.md, api/node_modules/finalhandler/SECURITY.md, api/node_modules/finalhandler/index.js, api/node_modules/finalhandler/package.json, api/node_modules/forwarded/HISTORY.md, api/node_modules/forwarded/LICENSE, api/node_modules/forwarded/README.md, api/node_modules/forwarded/index.js, api/node_modules/forwarded/package.json, api/node_modules/fresh/HISTORY.md, api/node_modules/fresh/LICENSE, api/node_modules/fresh/README.md, api/node_modules/fresh/index.js, api/node_modules/fresh/package.json, api/node_modules/function-bind/.github/FUNDING.yml, api/node_modules/function-bind/.github/SECURITY.md, api/node_modules/function-bind/test/.eslintrc, api/node_modules/function-bind/test/index.js, api/node_modules/function-bind/.eslintrc, api/node_modules/function-bind/.nycrc, api/node_modules/function-bind/CHANGELOG.md, api/node_modules/function-bind/LICENSE, api/node_modules/function-bind/README.md, api/node_modules/function-bind/implementation.js, api/node_modules/function-bind/index.js, api/node_modules/function-bind/package.json, api/node_modules/get-intrinsic/.github/FUNDING.yml, api/node_modules/get-intrinsic/test/GetIntrinsic.js, api/node_modules/get-intrinsic/.eslintrc, api/node_modules/get-intrinsic/.nycrc, api/node_modules/get-intrinsic/CHANGELOG.md, api/node_modules/get-intrinsic/LICENSE, api/node_modules/get-intrinsic/README.md, api/node_modules/get-intrinsic/index.js, api/node_modules/get-intrinsic/package.json, api/node_modules/get-proto/.github/FUNDING.yml, api/node_modules/get-proto/test/index.js, api/node_modules/get-proto/.eslintrc, api/node_modules/get-proto/.nycrc, api/node_modules/get-proto/CHANGELOG.md, api/node_modules/get-proto/LICENSE, api/node_modules/get-proto/Object.getPrototypeOf.d.ts, api/node_modules/get-proto/Object.getPrototypeOf.js, api/node_modules/get-proto/README.md, api/node_modules/get-proto/Reflect.getPrototypeOf.d.ts, api/node_modules/get-proto/Reflect.getPrototypeOf.js, api/node_modules/get-proto/index.d.ts, api/node_modules/get-proto/index.js, api/node_modules/get-proto/package.json, api/node_modules/get-proto/tsconfig.json, api/node_modules/glob-parent/CHANGELOG.md, api/node_modules/glob-parent/LICENSE, api/node_modules/glob-parent/README.md, api/node_modules/glob-parent/index.js, api/node_modules/glob-parent/package.json, api/node_modules/gopd/.github/FUNDING.yml, api/node_modules/gopd/test/index.js, api/node_modules/gopd/.eslintrc, api/node_modules/gopd/CHANGELOG.md, api/node_modules/gopd/LICENSE, api/node_modules/gopd/README.md, api/node_modules/gopd/gOPD.d.ts, api/node_modules/gopd/gOPD.js, api/node_modules/gopd/index.d.ts, api/node_modules/gopd/index.js, api/node_modules/gopd/package.json, api/node_modules/gopd/tsconfig.json, api/node_modules/has-flag/index.js, api/node_modules/has-flag/license, api/node_modules/has-flag/package.json, api/node_modules/has-flag/readme.md, api/node_modules/has-symbols/.github/FUNDING.yml, api/node_modules/has-symbols/test/shams/core-js.js, api/node_modules/has-symbols/test/shams/get-own-property-symbols.js, api/node_modules/has-symbols/test/index.js, api/node_modules/has-symbols/test/tests.js, api/node_modules/has-symbols/.eslintrc, api/node_modules/has-symbols/.nycrc, api/node_modules/has-symbols/CHANGELOG.md, api/node_modules/has-symbols/LICENSE, api/node_modules/has-symbols/README.md, api/node_modules/has-symbols/index.d.ts, api/node_modules/has-symbols/index.js, api/node_modules/has-symbols/package.json, api/node_modules/has-symbols/shams.d.ts, api/node_modules/has-symbols/shams.js, api/node_modules/has-symbols/tsconfig.json, api/node_modules/hasown/.github/FUNDING.yml, api/node_modules/hasown/.eslintrc, api/node_modules/hasown/.nycrc, api/node_modules/hasown/CHANGELOG.md, api/node_modules/hasown/LICENSE, api/node_modules/hasown/README.md, api/node_modules/hasown/index.d.ts, api/node_modules/hasown/index.js, api/node_modules/hasown/package.json, api/node_modules/hasown/tsconfig.json, api/node_modules/http-errors/HISTORY.md, api/node_modules/http-errors/LICENSE, api/node_modules/http-errors/README.md, api/node_modules/http-errors/index.js, api/node_modules/http-errors/package.json, api/node_modules/iconv-lite/encodings/tables/big5-added.json, api/node_modules/iconv-lite/encodings/tables/cp936.json, api/node_modules/iconv-lite/encodings/tables/cp949.json, api/node_modules/iconv-lite/encodings/tables/cp950.json, api/node_modules/iconv-lite/encodings/tables/eucjp.json, api/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json, api/node_modules/iconv-lite/encodings/tables/gbk-added.json, api/node_modules/iconv-lite/encodings/tables/shiftjis.json, api/node_modules/iconv-lite/encodings/dbcs-codec.js, api/node_modules/iconv-lite/encodings/dbcs-data.js, api/node_modules/iconv-lite/encodings/index.js, api/node_modules/iconv-lite/encodings/internal.js, api/node_modules/iconv-lite/encodings/sbcs-codec.js, api/node_modules/iconv-lite/encodings/sbcs-data-generated.js, api/node_modules/iconv-lite/encodings/sbcs-data.js, api/node_modules/iconv-lite/encodings/utf16.js, api/node_modules/iconv-lite/encodings/utf7.js, api/node_modules/iconv-lite/lib/bom-handling.js, api/node_modules/iconv-lite/lib/extend-node.js, api/node_modules/iconv-lite/lib/index.d.ts, api/node_modules/iconv-lite/lib/index.js, api/node_modules/iconv-lite/lib/streams.js, api/node_modules/iconv-lite/Changelog.md, api/node_modules/iconv-lite/LICENSE, api/node_modules/iconv-lite/README.md, api/node_modules/iconv-lite/package.json, api/node_modules/ignore-by-default/LICENSE, api/node_modules/ignore-by-default/README.md, api/node_modules/ignore-by-default/index.js, api/node_modules/ignore-by-default/package.json, api/node_modules/inherits/LICENSE, api/node_modules/inherits/README.md, api/node_modules/inherits/inherits.js, api/node_modules/inherits/inherits_browser.js, api/node_modules/inherits/package.json, api/node_modules/ipaddr.js/lib/ipaddr.js, api/node_modules/ipaddr.js/lib/ipaddr.js.d.ts, api/node_modules/ipaddr.js/LICENSE, api/node_modules/ipaddr.js/README.md, api/node_modules/ipaddr.js/ipaddr.min.js, api/node_modules/ipaddr.js/package.json, api/node_modules/is-binary-path/index.d.ts, api/node_modules/is-binary-path/index.js, api/node_modules/is-binary-path/license, api/node_modules/is-binary-path/package.json, api/node_modules/is-binary-path/readme.md, api/node_modules/is-extglob/LICENSE, api/node_modules/is-extglob/README.md, api/node_modules/is-extglob/index.js, api/node_modules/is-extglob/package.json, api/node_modules/is-glob/LICENSE, api/node_modules/is-glob/README.md, api/node_modules/is-glob/index.js, api/node_modules/is-glob/package.json, api/node_modules/is-number/LICENSE, api/node_modules/is-number/README.md, api/node_modules/is-number/index.js, api/node_modules/is-number/package.json, api/node_modules/math-intrinsics/.github/FUNDING.yml, api/node_modules/math-intrinsics/constants/maxArrayLength.d.ts, api/node_modules/math-intrinsics/constants/maxArrayLength.js, api/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts, api/node_modules/math-intrinsics/constants/maxSafeInteger.js, api/node_modules/math-intrinsics/constants/maxValue.d.ts, api/node_modules/math-intrinsics/constants/maxValue.js, api/node_modules/math-intrinsics/test/index.js, api/node_modules/math-intrinsics/.eslintrc, api/node_modules/math-intrinsics/CHANGELOG.md, api/node_modules/math-intrinsics/LICENSE, api/node_modules/math-intrinsics/README.md, api/node_modules/math-intrinsics/abs.d.ts, api/node_modules/math-intrinsics/abs.js, api/node_modules/math-intrinsics/floor.d.ts, api/node_modules/math-intrinsics/floor.js, api/node_modules/math-intrinsics/isFinite.d.ts, api/node_modules/math-intrinsics/isFinite.js, api/node_modules/math-intrinsics/isInteger.d.ts, api/node_modules/math-intrinsics/isInteger.js, api/node_modules/math-intrinsics/isNaN.d.ts, api/node_modules/math-intrinsics/isNaN.js, api/node_modules/math-intrinsics/isNegativeZero.d.ts, api/node_modules/math-intrinsics/isNegativeZero.js, api/node_modules/math-intrinsics/max.d.ts, api/node_modules/math-intrinsics/max.js, api/node_modules/math-intrinsics/min.d.ts, api/node_modules/math-intrinsics/min.js, api/node_modules/math-intrinsics/mod.d.ts, api/node_modules/math-intrinsics/mod.js, api/node_modules/math-intrinsics/package.json, api/node_modules/math-intrinsics/pow.d.ts, api/node_modules/math-intrinsics/pow.js, api/node_modules/math-intrinsics/round.d.ts, api/node_modules/math-intrinsics/round.js, api/node_modules/math-intrinsics/sign.d.ts, api/node_modules/math-intrinsics/sign.js, api/node_modules/math-intrinsics/tsconfig.json, api/node_modules/media-typer/HISTORY.md, api/node_modules/media-typer/LICENSE, api/node_modules/media-typer/README.md, api/node_modules/media-typer/index.js, api/node_modules/media-typer/package.json, api/node_modules/merge-descriptors/HISTORY.md, api/node_modules/merge-descriptors/LICENSE, api/node_modules/merge-descriptors/README.md, api/node_modules/merge-descriptors/index.js, api/node_modules/merge-descriptors/package.json, api/node_modules/methods/HISTORY.md, api/node_modules/methods/LICENSE, api/node_modules/methods/README.md, api/node_modules/methods/index.js, api/node_modules/methods/package.json, api/node_modules/mime/src/build.js, api/node_modules/mime/src/test.js, api/node_modules/mime/.npmignore, api/node_modules/mime/CHANGELOG.md, api/node_modules/mime/LICENSE, api/node_modules/mime/README.md, api/node_modules/mime/cli.js, api/node_modules/mime/mime.js, api/node_modules/mime/package.json, api/node_modules/mime/types.json, api/node_modules/mime-db/HISTORY.md, api/node_modules/mime-db/LICENSE, api/node_modules/mime-db/README.md, api/node_modules/mime-db/db.json, api/node_modules/mime-db/index.js, api/node_modules/mime-db/package.json, api/node_modules/mime-types/HISTORY.md, api/node_modules/mime-types/LICENSE, api/node_modules/mime-types/README.md, api/node_modules/mime-types/index.js, api/node_modules/mime-types/package.json, api/node_modules/minimatch/LICENSE, api/node_modules/minimatch/README.md, api/node_modules/minimatch/minimatch.js, api/node_modules/minimatch/package.json, api/node_modules/ms/index.js, api/node_modules/ms/license.md, api/node_modules/ms/package.json, api/node_modules/ms/readme.md, api/node_modules/negotiator/lib/charset.js, api/node_modules/negotiator/lib/encoding.js, api/node_modules/negotiator/lib/language.js, api/node_modules/negotiator/lib/mediaType.js, api/node_modules/negotiator/HISTORY.md, api/node_modules/negotiator/LICENSE, api/node_modules/negotiator/README.md, api/node_modules/negotiator/index.js, api/node_modules/negotiator/package.json, api/node_modules/nodemon/bin/nodemon.js, api/node_modules/nodemon/bin/windows-kill.exe, api/node_modules/nodemon/doc/cli/authors.txt, api/node_modules/nodemon/doc/cli/config.txt, api/node_modules/nodemon/doc/cli/help.txt, api/node_modules/nodemon/doc/cli/logo.txt, api/node_modules/nodemon/doc/cli/options.txt, api/node_modules/nodemon/doc/cli/topics.txt, api/node_modules/nodemon/doc/cli/usage.txt, api/node_modules/nodemon/doc/cli/whoami.txt, api/node_modules/nodemon/lib/cli/index.js, api/node_modules/nodemon/lib/cli/parse.js, api/node_modules/nodemon/lib/config/command.js, api/node_modules/nodemon/lib/config/defaults.js, api/node_modules/nodemon/lib/config/exec.js, api/node_modules/nodemon/lib/config/index.js, api/node_modules/nodemon/lib/config/load.js, api/node_modules/nodemon/lib/help/index.js, api/node_modules/nodemon/lib/monitor/index.js, api/node_modules/nodemon/lib/monitor/match.js, api/node_modules/nodemon/lib/monitor/run.js, api/node_modules/nodemon/lib/monitor/signals.js, api/node_modules/nodemon/lib/monitor/watch.js, api/node_modules/nodemon/lib/rules/add.js, api/node_modules/nodemon/lib/rules/index.js, api/node_modules/nodemon/lib/rules/parse.js, api/node_modules/nodemon/lib/utils/bus.js, api/node_modules/nodemon/lib/utils/clone.js, api/node_modules/nodemon/lib/utils/colour.js, api/node_modules/nodemon/lib/utils/index.js, api/node_modules/nodemon/lib/utils/log.js, api/node_modules/nodemon/lib/utils/merge.js, api/node_modules/nodemon/lib/index.js, api/node_modules/nodemon/lib/nodemon.js, api/node_modules/nodemon/lib/spawn.js, api/node_modules/nodemon/lib/version.js, api/node_modules/nodemon/node_modules/debug/src/browser.js, api/node_modules/nodemon/node_modules/debug/src/common.js, api/node_modules/nodemon/node_modules/debug/src/index.js, api/node_modules/nodemon/node_modules/debug/src/node.js, api/node_modules/nodemon/node_modules/debug/LICENSE, api/node_modules/nodemon/node_modules/debug/README.md, api/node_modules/nodemon/node_modules/debug/package.json, api/node_modules/nodemon/node_modules/ms/index.js, api/node_modules/nodemon/node_modules/ms/license.md, api/node_modules/nodemon/node_modules/ms/package.json, api/node_modules/nodemon/node_modules/ms/readme.md, api/node_modules/nodemon/.prettierrc.json, api/node_modules/nodemon/LICENSE, api/node_modules/nodemon/README.md, api/node_modules/nodemon/index.d.ts, api/node_modules/nodemon/jsconfig.json, api/node_modules/nodemon/package.json, api/node_modules/normalize-path/LICENSE, api/node_modules/normalize-path/README.md, api/node_modules/normalize-path/index.js, api/node_modules/normalize-path/package.json, api/node_modules/object-assign/index.js, api/node_modules/object-assign/license, api/node_modules/object-assign/package.json, api/node_modules/object-assign/readme.md, api/node_modules/object-inspect/.github/FUNDING.yml, api/node_modules/object-inspect/example/all.js, api/node_modules/object-inspect/example/circular.js, api/node_modules/object-inspect/example/fn.js, api/node_modules/object-inspect/example/inspect.js, api/node_modules/object-inspect/test/browser/dom.js, api/node_modules/object-inspect/test/bigint.js, api/node_modules/object-inspect/test/circular.js, api/node_modules/object-inspect/test/deep.js, api/node_modules/object-inspect/test/element.js, api/node_modules/object-inspect/test/err.js, api/node_modules/object-inspect/test/fakes.js, api/node_modules/object-inspect/test/fn.js, api/node_modules/object-inspect/test/global.js, api/node_modules/object-inspect/test/has.js, api/node_modules/object-inspect/test/holes.js, api/node_modules/object-inspect/test/indent-option.js, api/node_modules/object-inspect/test/inspect.js, api/node_modules/object-inspect/test/lowbyte.js, api/node_modules/object-inspect/test/number.js, api/node_modules/object-inspect/test/quoteStyle.js, api/node_modules/object-inspect/test/toStringTag.js, api/node_modules/object-inspect/test/undef.js, api/node_modules/object-inspect/test/values.js, api/node_modules/object-inspect/.eslintrc, api/node_modules/object-inspect/.nycrc, api/node_modules/object-inspect/CHANGELOG.md, api/node_modules/object-inspect/LICENSE, api/node_modules/object-inspect/index.js, api/node_modules/object-inspect/package-support.json, api/node_modules/object-inspect/package.json, api/node_modules/object-inspect/readme.markdown, api/node_modules/object-inspect/test-core-js.js, api/node_modules/object-inspect/util.inspect.js, api/node_modules/on-finished/HISTORY.md, api/node_modules/on-finished/LICENSE, api/node_modules/on-finished/README.md, api/node_modules/on-finished/index.js, api/node_modules/on-finished/package.json, api/node_modules/parseurl/HISTORY.md, api/node_modules/parseurl/LICENSE, api/node_modules/parseurl/README.md, api/node_modules/parseurl/index.js, api/node_modules/parseurl/package.json, api/node_modules/path-to-regexp/LICENSE, api/node_modules/path-to-regexp/Readme.md, api/node_modules/path-to-regexp/index.js, api/node_modules/path-to-regexp/package.json, api/node_modules/picomatch/lib/constants.js, api/node_modules/picomatch/lib/parse.js, api/node_modules/picomatch/lib/picomatch.js, api/node_modules/picomatch/lib/scan.js, api/node_modules/picomatch/lib/utils.js, api/node_modules/picomatch/CHANGELOG.md, api/node_modules/picomatch/LICENSE, api/node_modules/picomatch/README.md, api/node_modules/picomatch/index.js, api/node_modules/picomatch/package.json, api/node_modules/proxy-addr/HISTORY.md, api/node_modules/proxy-addr/LICENSE, api/node_modules/proxy-addr/README.md, api/node_modules/proxy-addr/index.js, api/node_modules/proxy-addr/package.json, api/node_modules/pstree.remy/lib/index.js, api/node_modules/pstree.remy/lib/tree.js, api/node_modules/pstree.remy/lib/utils.js, api/node_modules/pstree.remy/tests/fixtures/index.js, api/node_modules/pstree.remy/tests/fixtures/out1, api/node_modules/pstree.remy/tests/fixtures/out2, api/node_modules/pstree.remy/tests/index.test.js, api/node_modules/pstree.remy/.travis.yml, api/node_modules/pstree.remy/LICENSE, api/node_modules/pstree.remy/README.md, api/node_modules/pstree.remy/package.json, api/node_modules/qs/.github/FUNDING.yml, api/node_modules/qs/dist/qs.js, api/node_modules/qs/lib/formats.js, api/node_modules/qs/lib/index.js, api/node_modules/qs/lib/parse.js, api/node_modules/qs/lib/stringify.js, api/node_modules/qs/lib/utils.js, api/node_modules/qs/test/empty-keys-cases.js, api/node_modules/qs/test/parse.js, api/node_modules/qs/test/stringify.js, api/node_modules/qs/test/utils.js, api/node_modules/qs/.editorconfig, api/node_modules/qs/.eslintrc, api/node_modules/qs/.nycrc, api/node_modules/qs/CHANGELOG.md, api/node_modules/qs/LICENSE.md, api/node_modules/qs/README.md, api/node_modules/qs/package.json, api/node_modules/range-parser/HISTORY.md, api/node_modules/range-parser/LICENSE, api/node_modules/range-parser/README.md, api/node_modules/range-parser/index.js, api/node_modules/range-parser/package.json, api/node_modules/raw-body/HISTORY.md, api/node_modules/raw-body/LICENSE, api/node_modules/raw-body/README.md, api/node_modules/raw-body/SECURITY.md, api/node_modules/raw-body/index.d.ts, api/node_modules/raw-body/index.js, api/node_modules/raw-body/package.json, api/node_modules/readdirp/LICENSE, api/node_modules/readdirp/README.md, api/node_modules/readdirp/index.d.ts, api/node_modules/readdirp/index.js, api/node_modules/readdirp/package.json, api/node_modules/safe-buffer/LICENSE, api/node_modules/safe-buffer/README.md, api/node_modules/safe-buffer/index.d.ts, api/node_modules/safe-buffer/index.js, api/node_modules/safe-buffer/package.json, api/node_modules/safer-buffer/LICENSE, api/node_modules/safer-buffer/Porting-Buffer.md, api/node_modules/safer-buffer/Readme.md, api/node_modules/safer-buffer/dangerous.js, api/node_modules/safer-buffer/package.json, api/node_modules/safer-buffer/safer.js, api/node_modules/safer-buffer/tests.js, api/node_modules/semver/bin/semver.js, api/node_modules/semver/classes/comparator.js, api/node_modules/semver/classes/index.js, api/node_modules/semver/classes/range.js, api/node_modules/semver/classes/semver.js, api/node_modules/semver/functions/clean.js, api/node_modules/semver/functions/cmp.js, api/node_modules/semver/functions/coerce.js, api/node_modules/semver/functions/compare-build.js, api/node_modules/semver/functions/compare-loose.js, api/node_modules/semver/functions/compare.js, api/node_modules/semver/functions/diff.js, api/node_modules/semver/functions/eq.js, api/node_modules/semver/functions/gt.js, api/node_modules/semver/functions/gte.js, api/node_modules/semver/functions/inc.js, api/node_modules/semver/functions/lt.js, api/node_modules/semver/functions/lte.js, api/node_modules/semver/functions/major.js, api/node_modules/semver/functions/minor.js, api/node_modules/semver/functions/neq.js, api/node_modules/semver/functions/parse.js, api/node_modules/semver/functions/patch.js, api/node_modules/semver/functions/prerelease.js, api/node_modules/semver/functions/rcompare.js, api/node_modules/semver/functions/rsort.js, api/node_modules/semver/functions/satisfies.js, api/node_modules/semver/functions/sort.js, api/node_modules/semver/functions/valid.js, api/node_modules/semver/internal/constants.js, api/node_modules/semver/internal/debug.js, api/node_modules/semver/internal/identifiers.js, api/node_modules/semver/internal/lrucache.js, api/node_modules/semver/internal/parse-options.js, api/node_modules/semver/internal/re.js, api/node_modules/semver/ranges/gtr.js, api/node_modules/semver/ranges/intersects.js, api/node_modules/semver/ranges/ltr.js, api/node_modules/semver/ranges/max-satisfying.js, api/node_modules/semver/ranges/min-satisfying.js, api/node_modules/semver/ranges/min-version.js, api/node_modules/semver/ranges/outside.js, api/node_modules/semver/ranges/simplify.js, api/node_modules/semver/ranges/subset.js, api/node_modules/semver/ranges/to-comparators.js, api/node_modules/semver/ranges/valid.js, api/node_modules/semver/LICENSE, api/node_modules/semver/README.md, api/node_modules/semver/index.js, api/node_modules/semver/package.json, api/node_modules/semver/preload.js, api/node_modules/semver/range.bnf, api/node_modules/send/node_modules/encodeurl/HISTORY.md, api/node_modules/send/node_modules/encodeurl/LICENSE, api/node_modules/send/node_modules/encodeurl/README.md, api/node_modules/send/node_modules/encodeurl/index.js, api/node_modules/send/node_modules/encodeurl/package.json, api/node_modules/send/node_modules/ms/index.js, api/node_modules/send/node_modules/ms/license.md, api/node_modules/send/node_modules/ms/package.json, api/node_modules/send/node_modules/ms/readme.md, api/node_modules/send/HISTORY.md, api/node_modules/send/LICENSE, api/node_modules/send/README.md, api/node_modules/send/SECURITY.md, api/node_modules/send/index.js, api/node_modules/send/package.json, api/node_modules/serve-static/HISTORY.md, api/node_modules/serve-static/LICENSE, api/node_modules/serve-static/README.md, api/node_modules/serve-static/index.js, api/node_modules/serve-static/package.json, api/node_modules/setprototypeof/test/index.js, api/node_modules/setprototypeof/LICENSE, api/node_modules/setprototypeof/README.md, api/node_modules/setprototypeof/index.d.ts, api/node_modules/setprototypeof/index.js, api/node_modules/setprototypeof/package.json, api/node_modules/side-channel/.github/FUNDING.yml, api/node_modules/side-channel/test/index.js, api/node_modules/side-channel/.editorconfig, api/node_modules/side-channel/.eslintrc, api/node_modules/side-channel/.nycrc, api/node_modules/side-channel/CHANGELOG.md, api/node_modules/side-channel/LICENSE, api/node_modules/side-channel/README.md, api/node_modules/side-channel/index.d.ts, api/node_modules/side-channel/index.js, api/node_modules/side-channel/package.json, api/node_modules/side-channel/tsconfig.json, api/node_modules/side-channel-list/.github/FUNDING.yml, api/node_modules/side-channel-list/test/index.js, api/node_modules/side-channel-list/.editorconfig, api/node_modules/side-channel-list/.eslintrc, api/node_modules/side-channel-list/.nycrc, api/node_modules/side-channel-list/CHANGELOG.md, api/node_modules/side-channel-list/LICENSE, api/node_modules/side-channel-list/README.md, api/node_modules/side-channel-list/index.d.ts, api/node_modules/side-channel-list/index.js, api/node_modules/side-channel-list/list.d.ts, api/node_modules/side-channel-list/package.json, api/node_modules/side-channel-list/tsconfig.json, api/node_modules/side-channel-map/.github/FUNDING.yml, api/node_modules/side-channel-map/test/index.js, api/node_modules/side-channel-map/.editorconfig, api/node_modules/side-channel-map/.eslintrc, api/node_modules/side-channel-map/.nycrc, api/node_modules/side-channel-map/CHANGELOG.md, api/node_modules/side-channel-map/LICENSE, api/node_modules/side-channel-map/README.md, api/node_modules/side-channel-map/index.d.ts, api/node_modules/side-channel-map/index.js, api/node_modules/side-channel-map/package.json, api/node_modules/side-channel-map/tsconfig.json, api/node_modules/side-channel-weakmap/.github/FUNDING.yml, api/node_modules/side-channel-weakmap/test/index.js, api/node_modules/side-channel-weakmap/.editorconfig, api/node_modules/side-channel-weakmap/.eslintrc, api/node_modules/side-channel-weakmap/.nycrc, api/node_modules/side-channel-weakmap/CHANGELOG.md, api/node_modules/side-channel-weakmap/LICENSE, api/node_modules/side-channel-weakmap/README.md, api/node_modules/side-channel-weakmap/index.d.ts, api/node_modules/side-channel-weakmap/index.js, api/node_modules/side-channel-weakmap/package.json, api/node_modules/side-channel-weakmap/tsconfig.json, api/node_modules/simple-update-notifier/build/index.d.ts, api/node_modules/simple-update-notifier/build/index.js, api/node_modules/simple-update-notifier/src/borderedText.ts, api/node_modules/simple-update-notifier/src/cache.spec.ts, api/node_modules/simple-update-notifier/src/cache.ts, api/node_modules/simple-update-notifier/src/getDistVersion.spec.ts, api/node_modules/simple-update-notifier/src/getDistVersion.ts, api/node_modules/simple-update-notifier/src/hasNewVersion.spec.ts, api/node_modules/simple-update-notifier/src/hasNewVersion.ts, api/node_modules/simple-update-notifier/src/index.spec.ts, api/node_modules/simple-update-notifier/src/index.ts, api/node_modules/simple-update-notifier/src/isNpmOrYarn.ts, api/node_modules/simple-update-notifier/src/types.ts, api/node_modules/simple-update-notifier/LICENSE, api/node_modules/simple-update-notifier/README.md, api/node_modules/simple-update-notifier/package.json, api/node_modules/statuses/HISTORY.md, api/node_modules/statuses/LICENSE, api/node_modules/statuses/README.md, api/node_modules/statuses/codes.json, api/node_modules/statuses/index.js, api/node_modules/statuses/package.json, api/node_modules/supports-color/browser.js, api/node_modules/supports-color/index.js, api/node_modules/supports-color/license, api/node_modules/supports-color/package.json, api/node_modules/supports-color/readme.md, api/node_modules/to-regex-range/LICENSE, api/node_modules/to-regex-range/README.md, api/node_modules/to-regex-range/index.js, api/node_modules/to-regex-range/package.json, api/node_modules/toidentifier/HISTORY.md, api/node_modules/toidentifier/LICENSE, api/node_modules/toidentifier/README.md, api/node_modules/toidentifier/index.js, api/node_modules/toidentifier/package.json, api/node_modules/touch/bin/nodetouch.js, api/node_modules/touch/LICENSE, api/node_modules/touch/README.md, api/node_modules/touch/index.js, api/node_modules/touch/package.json, api/node_modules/type-is/HISTORY.md, api/node_modules/type-is/LICENSE, api/node_modules/type-is/README.md, api/node_modules/type-is/index.js, api/node_modules/type-is/package.json, api/node_modules/undefsafe/.github/workflows/release.yml, api/node_modules/undefsafe/lib/undefsafe.js, api/node_modules/undefsafe/.jscsrc, api/node_modules/undefsafe/.jshintrc, api/node_modules/undefsafe/.travis.yml, api/node_modules/undefsafe/LICENSE, api/node_modules/undefsafe/README.md, api/node_modules/undefsafe/example.js, api/node_modules/undefsafe/package.json, api/node_modules/unpipe/HISTORY.md, api/node_modules/unpipe/LICENSE, api/node_modules/unpipe/README.md, api/node_modules/unpipe/index.js, api/node_modules/unpipe/package.json, api/node_modules/utils-merge/.npmignore, api/node_modules/utils-merge/LICENSE, api/node_modules/utils-merge/README.md, api/node_modules/utils-merge/index.js, api/node_modules/utils-merge/package.json, api/node_modules/vary/HISTORY.md, api/node_modules/vary/LICENSE, api/node_modules/vary/README.md, api/node_modules/vary/index.js, api/node_modules/vary/package.json, api/node_modules/.package-lock.json
parent 504b2185
Pipeline #903 failed with stages
in 0 seconds
Showing with 0 additions and 2213 deletions
+0 -2213
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../mime/cli.js" "$@"
else
exec node "$basedir/../mime/cli.js" "$@"
fi
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\mime\cli.js" %*
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../mime/cli.js" $args
} else {
& "$basedir/node$exe" "$basedir/../mime/cli.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../mime/cli.js" $args
} else {
& "node$exe" "$basedir/../mime/cli.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../nodemon/bin/nodemon.js" "$@"
else
exec node "$basedir/../nodemon/bin/nodemon.js" "$@"
fi
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\nodemon\bin\nodemon.js" %*
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../nodemon/bin/nodemon.js" $args
} else {
& "$basedir/node$exe" "$basedir/../nodemon/bin/nodemon.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../nodemon/bin/nodemon.js" $args
} else {
& "node$exe" "$basedir/../nodemon/bin/nodemon.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../touch/bin/nodetouch.js" "$@"
else
exec node "$basedir/../touch/bin/nodetouch.js" "$@"
fi
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\touch\bin\nodetouch.js" %*
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../touch/bin/nodetouch.js" $args
} else {
& "$basedir/node$exe" "$basedir/../touch/bin/nodetouch.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../touch/bin/nodetouch.js" $args
} else {
& "node$exe" "$basedir/../touch/bin/nodetouch.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../semver/bin/semver.js" "$@"
else
exec node "$basedir/../semver/bin/semver.js" "$@"
fi
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\semver\bin\semver.js" %*
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args
} else {
& "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../semver/bin/semver.js" $args
} else {
& "node$exe" "$basedir/../semver/bin/semver.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret
This diff is collapsed.
1.3.8 / 2022-02-02
==================
* deps: mime-types@~2.1.34
- deps: mime-db@~1.51.0
* deps: negotiator@0.6.3
1.3.7 / 2019-04-29
==================
* deps: negotiator@0.6.2
- Fix sorting charset, encoding, and language with extra parameters
1.3.6 / 2019-04-28
==================
* deps: mime-types@~2.1.24
- deps: mime-db@~1.40.0
1.3.5 / 2018-02-28
==================
* deps: mime-types@~2.1.18
- deps: mime-db@~1.33.0
1.3.4 / 2017-08-22
==================
* deps: mime-types@~2.1.16
- deps: mime-db@~1.29.0
1.3.3 / 2016-05-02
==================
* deps: mime-types@~2.1.11
- deps: mime-db@~1.23.0
* deps: negotiator@0.6.1
- perf: improve `Accept` parsing speed
- perf: improve `Accept-Charset` parsing speed
- perf: improve `Accept-Encoding` parsing speed
- perf: improve `Accept-Language` parsing speed
1.3.2 / 2016-03-08
==================
* deps: mime-types@~2.1.10
- Fix extension of `application/dash+xml`
- Update primary extension for `audio/mp4`
- deps: mime-db@~1.22.0
1.3.1 / 2016-01-19
==================
* deps: mime-types@~2.1.9
- deps: mime-db@~1.21.0
1.3.0 / 2015-09-29
==================
* deps: mime-types@~2.1.7
- deps: mime-db@~1.19.0
* deps: negotiator@0.6.0
- Fix including type extensions in parameters in `Accept` parsing
- Fix parsing `Accept` parameters with quoted equals
- Fix parsing `Accept` parameters with quoted semicolons
- Lazy-load modules from main entry point
- perf: delay type concatenation until needed
- perf: enable strict mode
- perf: hoist regular expressions
- perf: remove closures getting spec properties
- perf: remove a closure from media type parsing
- perf: remove property delete from media type parsing
1.2.13 / 2015-09-06
===================
* deps: mime-types@~2.1.6
- deps: mime-db@~1.18.0
1.2.12 / 2015-07-30
===================
* deps: mime-types@~2.1.4
- deps: mime-db@~1.16.0
1.2.11 / 2015-07-16
===================
* deps: mime-types@~2.1.3
- deps: mime-db@~1.15.0
1.2.10 / 2015-07-01
===================
* deps: mime-types@~2.1.2
- deps: mime-db@~1.14.0
1.2.9 / 2015-06-08
==================
* deps: mime-types@~2.1.1
- perf: fix deopt during mapping
1.2.8 / 2015-06-07
==================
* deps: mime-types@~2.1.0
- deps: mime-db@~1.13.0
* perf: avoid argument reassignment & argument slice
* perf: avoid negotiator recursive construction
* perf: enable strict mode
* perf: remove unnecessary bitwise operator
1.2.7 / 2015-05-10
==================
* deps: negotiator@0.5.3
- Fix media type parameter matching to be case-insensitive
1.2.6 / 2015-05-07
==================
* deps: mime-types@~2.0.11
- deps: mime-db@~1.9.1
* deps: negotiator@0.5.2
- Fix comparing media types with quoted values
- Fix splitting media types with quoted commas
1.2.5 / 2015-03-13
==================
* deps: mime-types@~2.0.10
- deps: mime-db@~1.8.0
1.2.4 / 2015-02-14
==================
* Support Node.js 0.6
* deps: mime-types@~2.0.9
- deps: mime-db@~1.7.0
* deps: negotiator@0.5.1
- Fix preference sorting to be stable for long acceptable lists
1.2.3 / 2015-01-31
==================
* deps: mime-types@~2.0.8
- deps: mime-db@~1.6.0
1.2.2 / 2014-12-30
==================
* deps: mime-types@~2.0.7
- deps: mime-db@~1.5.0
1.2.1 / 2014-12-30
==================
* deps: mime-types@~2.0.5
- deps: mime-db@~1.3.1
1.2.0 / 2014-12-19
==================
* deps: negotiator@0.5.0
- Fix list return order when large accepted list
- Fix missing identity encoding when q=0 exists
- Remove dynamic building of Negotiator class
1.1.4 / 2014-12-10
==================
* deps: mime-types@~2.0.4
- deps: mime-db@~1.3.0
1.1.3 / 2014-11-09
==================
* deps: mime-types@~2.0.3
- deps: mime-db@~1.2.0
1.1.2 / 2014-10-14
==================
* deps: negotiator@0.4.9
- Fix error when media type has invalid parameter
1.1.1 / 2014-09-28
==================
* deps: mime-types@~2.0.2
- deps: mime-db@~1.1.0
* deps: negotiator@0.4.8
- Fix all negotiations to be case-insensitive
- Stable sort preferences of same quality according to client order
1.1.0 / 2014-09-02
==================
* update `mime-types`
1.0.7 / 2014-07-04
==================
* Fix wrong type returned from `type` when match after unknown extension
1.0.6 / 2014-06-24
==================
* deps: negotiator@0.4.7
1.0.5 / 2014-06-20
==================
* fix crash when unknown extension given
1.0.4 / 2014-06-19
==================
* use `mime-types`
1.0.3 / 2014-06-11
==================
* deps: negotiator@0.4.6
- Order by specificity when quality is the same
1.0.2 / 2014-05-29
==================
* Fix interpretation when header not in request
* deps: pin negotiator@0.4.5
1.0.1 / 2014-01-18
==================
* Identity encoding isn't always acceptable
* deps: negotiator@~0.4.0
1.0.0 / 2013-12-27
==================
* Genesis
(The MIT License)
Copyright (c) 2014 Jonathan Ong <me@jongleberry.com>
Copyright (c) 2015 Douglas Christopher Wilson <doug@somethingdoug.com>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# accepts
[![NPM Version][npm-version-image]][npm-url]
[![NPM Downloads][npm-downloads-image]][npm-url]
[![Node.js Version][node-version-image]][node-version-url]
[![Build Status][github-actions-ci-image]][github-actions-ci-url]
[![Test Coverage][coveralls-image]][coveralls-url]
Higher level content negotiation based on [negotiator](https://www.npmjs.com/package/negotiator).
Extracted from [koa](https://www.npmjs.com/package/koa) for general use.
In addition to negotiator, it allows:
- Allows types as an array or arguments list, ie `(['text/html', 'application/json'])`
as well as `('text/html', 'application/json')`.
- Allows type shorthands such as `json`.
- Returns `false` when no types match
- Treats non-existent headers as `*`
## Installation
This is a [Node.js](https://nodejs.org/en/) module available through the
[npm registry](https://www.npmjs.com/). Installation is done using the
[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
```sh
$ npm install accepts
```
## API
```js
var accepts = require('accepts')
```
### accepts(req)
Create a new `Accepts` object for the given `req`.
#### .charset(charsets)
Return the first accepted charset. If nothing in `charsets` is accepted,
then `false` is returned.
#### .charsets()
Return the charsets that the request accepts, in the order of the client's
preference (most preferred first).
#### .encoding(encodings)
Return the first accepted encoding. If nothing in `encodings` is accepted,
then `false` is returned.
#### .encodings()
Return the encodings that the request accepts, in the order of the client's
preference (most preferred first).
#### .language(languages)
Return the first accepted language. If nothing in `languages` is accepted,
then `false` is returned.
#### .languages()
Return the languages that the request accepts, in the order of the client's
preference (most preferred first).
#### .type(types)
Return the first accepted type (and it is returned as the same text as what
appears in the `types` array). If nothing in `types` is accepted, then `false`
is returned.
The `types` array can contain full MIME types or file extensions. Any value
that is not a full MIME types is passed to `require('mime-types').lookup`.
#### .types()
Return the types that the request accepts, in the order of the client's
preference (most preferred first).
## Examples
### Simple type negotiation
This simple example shows how to use `accepts` to return a different typed
respond body based on what the client wants to accept. The server lists it's
preferences in order and will get back the best match between the client and
server.
```js
var accepts = require('accepts')
var http = require('http')
function app (req, res) {
var accept = accepts(req)
// the order of this list is significant; should be server preferred order
switch (accept.type(['json', 'html'])) {
case 'json':
res.setHeader('Content-Type', 'application/json')
res.write('{"hello":"world!"}')
break
case 'html':
res.setHeader('Content-Type', 'text/html')
res.write('<b>hello, world!</b>')
break
default:
// the fallback is text/plain, so no need to specify it above
res.setHeader('Content-Type', 'text/plain')
res.write('hello, world!')
break
}
res.end()
}
http.createServer(app).listen(3000)
```
You can test this out with the cURL program:
```sh
curl -I -H'Accept: text/html' http://localhost:3000/
```
## License
[MIT](LICENSE)
[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/accepts/master
[coveralls-url]: https://coveralls.io/r/jshttp/accepts?branch=master
[github-actions-ci-image]: https://badgen.net/github/checks/jshttp/accepts/master?label=ci
[github-actions-ci-url]: https://github.com/jshttp/accepts/actions/workflows/ci.yml
[node-version-image]: https://badgen.net/npm/node/accepts
[node-version-url]: https://nodejs.org/en/download
[npm-downloads-image]: https://badgen.net/npm/dm/accepts
[npm-url]: https://npmjs.org/package/accepts
[npm-version-image]: https://badgen.net/npm/v/accepts
/*!
* accepts
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/
'use strict'
/**
* Module dependencies.
* @private
*/
var Negotiator = require('negotiator')
var mime = require('mime-types')
/**
* Module exports.
* @public
*/
module.exports = Accepts
/**
* Create a new Accepts object for the given req.
*
* @param {object} req
* @public
*/
function Accepts (req) {
if (!(this instanceof Accepts)) {
return new Accepts(req)
}
this.headers = req.headers
this.negotiator = new Negotiator(req)
}
/**
* Check if the given `type(s)` is acceptable, returning
* the best match when true, otherwise `undefined`, in which
* case you should respond with 406 "Not Acceptable".
*
* The `type` value may be a single mime type string
* such as "application/json", the extension name
* such as "json" or an array `["json", "html", "text/plain"]`. When a list
* or array is given the _best_ match, if any is returned.
*
* Examples:
*
* // Accept: text/html
* this.types('html');
* // => "html"
*
* // Accept: text/*, application/json
* this.types('html');
* // => "html"
* this.types('text/html');
* // => "text/html"
* this.types('json', 'text');
* // => "json"
* this.types('application/json');
* // => "application/json"
*
* // Accept: text/*, application/json
* this.types('image/png');
* this.types('png');
* // => undefined
*
* // Accept: text/*;q=.5, application/json
* this.types(['html', 'json']);
* this.types('html', 'json');
* // => "json"
*
* @param {String|Array} types...
* @return {String|Array|Boolean}
* @public
*/
Accepts.prototype.type =
Accepts.prototype.types = function (types_) {
var types = types_
// support flattened arguments
if (types && !Array.isArray(types)) {
types = new Array(arguments.length)
for (var i = 0; i < types.length; i++) {
types[i] = arguments[i]
}
}
// no types, return all requested types
if (!types || types.length === 0) {
return this.negotiator.mediaTypes()
}
// no accept header, return first given type
if (!this.headers.accept) {
return types[0]
}
var mimes = types.map(extToMime)
var accepts = this.negotiator.mediaTypes(mimes.filter(validMime))
var first = accepts[0]
return first
? types[mimes.indexOf(first)]
: false
}
/**
* Return accepted encodings or best fit based on `encodings`.
*
* Given `Accept-Encoding: gzip, deflate`
* an array sorted by quality is returned:
*
* ['gzip', 'deflate']
*
* @param {String|Array} encodings...
* @return {String|Array}
* @public
*/
Accepts.prototype.encoding =
Accepts.prototype.encodings = function (encodings_) {
var encodings = encodings_
// support flattened arguments
if (encodings && !Array.isArray(encodings)) {
encodings = new Array(arguments.length)
for (var i = 0; i < encodings.length; i++) {
encodings[i] = arguments[i]
}
}
// no encodings, return all requested encodings
if (!encodings || encodings.length === 0) {
return this.negotiator.encodings()
}
return this.negotiator.encodings(encodings)[0] || false
}
/**
* Return accepted charsets or best fit based on `charsets`.
*
* Given `Accept-Charset: utf-8, iso-8859-1;q=0.2, utf-7;q=0.5`
* an array sorted by quality is returned:
*
* ['utf-8', 'utf-7', 'iso-8859-1']
*
* @param {String|Array} charsets...
* @return {String|Array}
* @public
*/
Accepts.prototype.charset =
Accepts.prototype.charsets = function (charsets_) {
var charsets = charsets_
// support flattened arguments
if (charsets && !Array.isArray(charsets)) {
charsets = new Array(arguments.length)
for (var i = 0; i < charsets.length; i++) {
charsets[i] = arguments[i]
}
}
// no charsets, return all requested charsets
if (!charsets || charsets.length === 0) {
return this.negotiator.charsets()
}
return this.negotiator.charsets(charsets)[0] || false
}
/**
* Return accepted languages or best fit based on `langs`.
*
* Given `Accept-Language: en;q=0.8, es, pt`
* an array sorted by quality is returned:
*
* ['es', 'pt', 'en']
*
* @param {String|Array} langs...
* @return {Array|String}
* @public
*/
Accepts.prototype.lang =
Accepts.prototype.langs =
Accepts.prototype.language =
Accepts.prototype.languages = function (languages_) {
var languages = languages_
// support flattened arguments
if (languages && !Array.isArray(languages)) {
languages = new Array(arguments.length)
for (var i = 0; i < languages.length; i++) {
languages[i] = arguments[i]
}
}
// no languages, return all requested languages
if (!languages || languages.length === 0) {
return this.negotiator.languages()
}
return this.negotiator.languages(languages)[0] || false
}
/**
* Convert extnames to mime.
*
* @param {String} type
* @return {String}
* @private
*/
function extToMime (type) {
return type.indexOf('/') === -1
? mime.lookup(type)
: type
}
/**
* Check if mime is valid.
*
* @param {String} type
* @return {String}
* @private
*/
function validMime (type) {
return typeof type === 'string'
}
{
"name": "accepts",
"description": "Higher-level content negotiation",
"version": "1.3.8",
"contributors": [
"Douglas Christopher Wilson <doug@somethingdoug.com>",
"Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)"
],
"license": "MIT",
"repository": "jshttp/accepts",
"dependencies": {
"mime-types": "~2.1.34",
"negotiator": "0.6.3"
},
"devDependencies": {
"deep-equal": "1.0.1",
"eslint": "7.32.0",
"eslint-config-standard": "14.1.1",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-markdown": "2.2.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "4.3.1",
"eslint-plugin-standard": "4.1.0",
"mocha": "9.2.0",
"nyc": "15.1.0"
},
"files": [
"LICENSE",
"HISTORY.md",
"index.js"
],
"engines": {
"node": ">= 0.6"
},
"scripts": {
"lint": "eslint .",
"test": "mocha --reporter spec --check-leaks --bail test/",
"test-ci": "nyc --reporter=lcov --reporter=text npm test",
"test-cov": "nyc --reporter=html --reporter=text npm test"
},
"keywords": [
"content",
"negotiation",
"accept",
"accepts"
]
}
The ISC License
Copyright (c) 2019 Elan Shanker, Paul Miller (https://paulmillr.com)
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
anymatch [![Build Status](https://travis-ci.org/micromatch/anymatch.svg?branch=master)](https://travis-ci.org/micromatch/anymatch) [![Coverage Status](https://img.shields.io/coveralls/micromatch/anymatch.svg?branch=master)](https://coveralls.io/r/micromatch/anymatch?branch=master)
======
Javascript module to match a string against a regular expression, glob, string,
or function that takes the string as an argument and returns a truthy or falsy
value. The matcher can also be an array of any or all of these. Useful for
allowing a very flexible user-defined config to define things like file paths.
__Note: This module has Bash-parity, please be aware that Windows-style backslashes are not supported as separators. See https://github.com/micromatch/micromatch#backslashes for more information.__
Usage
-----
```sh
npm install anymatch
```
#### anymatch(matchers, testString, [returnIndex], [options])
* __matchers__: (_Array|String|RegExp|Function_)
String to be directly matched, string with glob patterns, regular expression
test, function that takes the testString as an argument and returns a truthy
value if it should be matched, or an array of any number and mix of these types.
* __testString__: (_String|Array_) The string to test against the matchers. If
passed as an array, the first element of the array will be used as the
`testString` for non-function matchers, while the entire array will be applied
as the arguments for function matchers.
* __options__: (_Object_ [optional]_) Any of the [picomatch](https://github.com/micromatch/picomatch#options) options.
* __returnIndex__: (_Boolean [optional]_) If true, return the array index of
the first matcher that that testString matched, or -1 if no match, instead of a
boolean result.
```js
const anymatch = require('anymatch');
const matchers = [ 'path/to/file.js', 'path/anyjs/**/*.js', /foo.js$/, string => string.includes('bar') && string.length > 10 ] ;
anymatch(matchers, 'path/to/file.js'); // true
anymatch(matchers, 'path/anyjs/baz.js'); // true
anymatch(matchers, 'path/to/foo.js'); // true
anymatch(matchers, 'path/to/bar.js'); // true
anymatch(matchers, 'bar.js'); // false
// returnIndex = true
anymatch(matchers, 'foo.js', {returnIndex: true}); // 2
anymatch(matchers, 'path/anyjs/foo.js', {returnIndex: true}); // 1
// any picomatc
// using globs to match directories and their children
anymatch('node_modules', 'node_modules'); // true
anymatch('node_modules', 'node_modules/somelib/index.js'); // false
anymatch('node_modules/**', 'node_modules/somelib/index.js'); // true
anymatch('node_modules/**', '/absolute/path/to/node_modules/somelib/index.js'); // false
anymatch('**/node_modules/**', '/absolute/path/to/node_modules/somelib/index.js'); // true
const matcher = anymatch(matchers);
['foo.js', 'bar.js'].filter(matcher); // [ 'foo.js' ]
anymatch master*
```
#### anymatch(matchers)
You can also pass in only your matcher(s) to get a curried function that has
already been bound to the provided matching criteria. This can be used as an
`Array#filter` callback.
```js
var matcher = anymatch(matchers);
matcher('path/to/file.js'); // true
matcher('path/anyjs/baz.js', true); // 1
['foo.js', 'bar.js'].filter(matcher); // ['foo.js']
```
Changelog
----------
[See release notes page on GitHub](https://github.com/micromatch/anymatch/releases)
- **v3.0:** Removed `startIndex` and `endIndex` arguments. Node 8.x-only.
- **v2.0:** [micromatch](https://github.com/jonschlinkert/micromatch) moves away from minimatch-parity and inline with Bash. This includes handling backslashes differently (see https://github.com/micromatch/micromatch#backslashes for more information).
- **v1.2:** anymatch uses [micromatch](https://github.com/jonschlinkert/micromatch)
for glob pattern matching. Issues with glob pattern matching should be
reported directly to the [micromatch issue tracker](https://github.com/jonschlinkert/micromatch/issues).
License
-------
[ISC](https://raw.github.com/micromatch/anymatch/master/LICENSE)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment