noodleseed-cli 0.1.15 → 0.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +3 -3
- package/dist/cli.js.map +1 -1
- package/dist/project.d.ts +1 -1
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +103 -3
- package/dist/project.js.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/package.json +0 -2
- package/node_modules/@noodle-borg/authoring/dist/index.d.ts +11 -3
- package/node_modules/@noodle-borg/authoring/dist/index.d.ts.map +1 -1
- package/node_modules/@noodle-borg/authoring/dist/index.js +2 -1
- package/node_modules/@noodle-borg/authoring/dist/index.js.map +1 -1
- package/node_modules/@noodle-borg/compiler/dist/artifact/types.d.ts +8 -1
- package/node_modules/@noodle-borg/compiler/dist/artifact/types.d.ts.map +1 -1
- package/node_modules/@noodle-borg/compiler/dist/compile.d.ts.map +1 -1
- package/node_modules/@noodle-borg/compiler/dist/compile.js +30 -2
- package/node_modules/@noodle-borg/compiler/dist/compile.js.map +1 -1
- package/node_modules/@noodle-borg/compiler/dist/index.d.ts +1 -0
- package/node_modules/@noodle-borg/compiler/dist/index.d.ts.map +1 -1
- package/node_modules/@noodle-borg/compiler/dist/index.js +1 -0
- package/node_modules/@noodle-borg/compiler/dist/index.js.map +1 -1
- package/node_modules/@noodle-borg/compiler/dist/manifest/schema.d.ts +14869 -2
- package/node_modules/@noodle-borg/compiler/dist/manifest/schema.d.ts.map +1 -1
- package/node_modules/@noodle-borg/compiler/dist/manifest/schema.js +16 -2
- package/node_modules/@noodle-borg/compiler/dist/manifest/schema.js.map +1 -1
- package/node_modules/@noodle-borg/compiler/dist/widget-ui.d.ts +95 -0
- package/node_modules/@noodle-borg/compiler/dist/widget-ui.d.ts.map +1 -0
- package/node_modules/@noodle-borg/compiler/dist/widget-ui.js +177 -0
- package/node_modules/@noodle-borg/compiler/dist/widget-ui.js.map +1 -0
- package/node_modules/@noodle-borg/protocol/dist/widget/bootstrap.d.ts.map +1 -1
- package/node_modules/@noodle-borg/protocol/dist/widget/bootstrap.js +60 -3
- package/node_modules/@noodle-borg/protocol/dist/widget/bootstrap.js.map +1 -1
- package/node_modules/@noodle-borg/service/package.json +0 -1
- package/node_modules/cors/package.json +0 -1
- package/package.json +1 -56
- package/node_modules/@noodle-borg/compiler/node_modules/.bin/yaml +0 -22
- package/node_modules/@noodle-borg/connector-defs/node_modules/.bin/yaml +0 -22
- package/node_modules/accepts/HISTORY.md +0 -250
- package/node_modules/accepts/LICENSE +0 -23
- package/node_modules/accepts/README.md +0 -140
- package/node_modules/accepts/index.js +0 -238
- package/node_modules/accepts/package.json +0 -47
- package/node_modules/body-parser/LICENSE +0 -23
- package/node_modules/body-parser/README.md +0 -494
- package/node_modules/body-parser/index.js +0 -71
- package/node_modules/body-parser/lib/read.js +0 -247
- package/node_modules/body-parser/lib/types/json.js +0 -158
- package/node_modules/body-parser/lib/types/raw.js +0 -42
- package/node_modules/body-parser/lib/types/text.js +0 -36
- package/node_modules/body-parser/lib/types/urlencoded.js +0 -142
- package/node_modules/body-parser/lib/utils.js +0 -98
- package/node_modules/body-parser/package.json +0 -52
- package/node_modules/call-bind-apply-helpers/.eslintrc +0 -17
- package/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +0 -12
- package/node_modules/call-bind-apply-helpers/.nycrc +0 -9
- package/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -30
- package/node_modules/call-bind-apply-helpers/LICENSE +0 -21
- package/node_modules/call-bind-apply-helpers/README.md +0 -62
- package/node_modules/call-bind-apply-helpers/actualApply.d.ts +0 -1
- package/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
- package/node_modules/call-bind-apply-helpers/applyBind.d.ts +0 -19
- package/node_modules/call-bind-apply-helpers/applyBind.js +0 -10
- package/node_modules/call-bind-apply-helpers/functionApply.d.ts +0 -1
- package/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
- package/node_modules/call-bind-apply-helpers/functionCall.d.ts +0 -1
- package/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
- package/node_modules/call-bind-apply-helpers/index.d.ts +0 -64
- package/node_modules/call-bind-apply-helpers/index.js +0 -15
- package/node_modules/call-bind-apply-helpers/package.json +0 -85
- package/node_modules/call-bind-apply-helpers/reflectApply.d.ts +0 -3
- package/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
- package/node_modules/call-bind-apply-helpers/test/index.js +0 -63
- package/node_modules/call-bind-apply-helpers/tsconfig.json +0 -9
- package/node_modules/call-bound/.eslintrc +0 -13
- package/node_modules/call-bound/.github/FUNDING.yml +0 -12
- package/node_modules/call-bound/.nycrc +0 -9
- package/node_modules/call-bound/CHANGELOG.md +0 -42
- package/node_modules/call-bound/LICENSE +0 -21
- package/node_modules/call-bound/README.md +0 -53
- package/node_modules/call-bound/index.d.ts +0 -94
- package/node_modules/call-bound/index.js +0 -19
- package/node_modules/call-bound/package.json +0 -99
- package/node_modules/call-bound/test/index.js +0 -61
- package/node_modules/call-bound/tsconfig.json +0 -10
- package/node_modules/content-disposition/LICENSE +0 -22
- package/node_modules/content-disposition/README.md +0 -141
- package/node_modules/content-disposition/index.js +0 -536
- package/node_modules/content-disposition/package.json +0 -40
- package/node_modules/cookie/LICENSE +0 -24
- package/node_modules/cookie/README.md +0 -317
- package/node_modules/cookie/SECURITY.md +0 -25
- package/node_modules/cookie/index.js +0 -335
- package/node_modules/cookie/package.json +0 -44
- package/node_modules/cookie-signature/History.md +0 -70
- package/node_modules/cookie-signature/LICENSE +0 -22
- package/node_modules/cookie-signature/Readme.md +0 -23
- package/node_modules/cookie-signature/index.js +0 -47
- package/node_modules/cookie-signature/package.json +0 -28
- package/node_modules/cross-spawn/node_modules/.bin/node-which +0 -22
- package/node_modules/debug/LICENSE +0 -20
- package/node_modules/debug/README.md +0 -481
- package/node_modules/debug/package.json +0 -64
- package/node_modules/debug/src/browser.js +0 -272
- package/node_modules/debug/src/common.js +0 -292
- package/node_modules/debug/src/index.js +0 -10
- package/node_modules/debug/src/node.js +0 -263
- package/node_modules/dunder-proto/.eslintrc +0 -5
- package/node_modules/dunder-proto/.github/FUNDING.yml +0 -12
- package/node_modules/dunder-proto/.nycrc +0 -13
- package/node_modules/dunder-proto/CHANGELOG.md +0 -24
- package/node_modules/dunder-proto/LICENSE +0 -21
- package/node_modules/dunder-proto/README.md +0 -54
- package/node_modules/dunder-proto/get.d.ts +0 -5
- package/node_modules/dunder-proto/get.js +0 -30
- package/node_modules/dunder-proto/package.json +0 -76
- package/node_modules/dunder-proto/set.d.ts +0 -5
- package/node_modules/dunder-proto/set.js +0 -35
- package/node_modules/dunder-proto/test/get.js +0 -34
- package/node_modules/dunder-proto/test/index.js +0 -4
- package/node_modules/dunder-proto/test/set.js +0 -50
- package/node_modules/dunder-proto/tsconfig.json +0 -9
- package/node_modules/ee-first/LICENSE +0 -22
- package/node_modules/ee-first/README.md +0 -80
- package/node_modules/ee-first/index.js +0 -95
- package/node_modules/ee-first/package.json +0 -29
- package/node_modules/encodeurl/LICENSE +0 -22
- package/node_modules/encodeurl/README.md +0 -109
- package/node_modules/encodeurl/index.js +0 -60
- package/node_modules/encodeurl/package.json +0 -40
- package/node_modules/es-define-property/.eslintrc +0 -13
- package/node_modules/es-define-property/.github/FUNDING.yml +0 -12
- package/node_modules/es-define-property/.nycrc +0 -9
- package/node_modules/es-define-property/CHANGELOG.md +0 -29
- package/node_modules/es-define-property/LICENSE +0 -21
- package/node_modules/es-define-property/README.md +0 -49
- package/node_modules/es-define-property/index.d.ts +0 -3
- package/node_modules/es-define-property/index.js +0 -14
- package/node_modules/es-define-property/package.json +0 -81
- package/node_modules/es-define-property/test/index.js +0 -56
- package/node_modules/es-define-property/tsconfig.json +0 -10
- package/node_modules/es-errors/.eslintrc +0 -5
- package/node_modules/es-errors/.github/FUNDING.yml +0 -12
- package/node_modules/es-errors/CHANGELOG.md +0 -40
- package/node_modules/es-errors/LICENSE +0 -21
- package/node_modules/es-errors/README.md +0 -55
- package/node_modules/es-errors/eval.d.ts +0 -3
- package/node_modules/es-errors/eval.js +0 -4
- package/node_modules/es-errors/index.d.ts +0 -3
- package/node_modules/es-errors/index.js +0 -4
- package/node_modules/es-errors/package.json +0 -80
- package/node_modules/es-errors/range.d.ts +0 -3
- package/node_modules/es-errors/range.js +0 -4
- package/node_modules/es-errors/ref.d.ts +0 -3
- package/node_modules/es-errors/ref.js +0 -4
- package/node_modules/es-errors/syntax.d.ts +0 -3
- package/node_modules/es-errors/syntax.js +0 -4
- package/node_modules/es-errors/test/index.js +0 -19
- package/node_modules/es-errors/tsconfig.json +0 -49
- package/node_modules/es-errors/type.d.ts +0 -3
- package/node_modules/es-errors/type.js +0 -4
- package/node_modules/es-errors/uri.d.ts +0 -3
- package/node_modules/es-errors/uri.js +0 -4
- package/node_modules/es-object-atoms/.eslintrc +0 -16
- package/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
- package/node_modules/es-object-atoms/CHANGELOG.md +0 -44
- package/node_modules/es-object-atoms/LICENSE +0 -21
- package/node_modules/es-object-atoms/README.md +0 -63
- package/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
- package/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -11
- package/node_modules/es-object-atoms/ToObject.d.ts +0 -7
- package/node_modules/es-object-atoms/ToObject.js +0 -10
- package/node_modules/es-object-atoms/index.d.ts +0 -3
- package/node_modules/es-object-atoms/index.js +0 -4
- package/node_modules/es-object-atoms/isObject.d.ts +0 -3
- package/node_modules/es-object-atoms/isObject.js +0 -6
- package/node_modules/es-object-atoms/package.json +0 -79
- package/node_modules/es-object-atoms/test/index.js +0 -38
- package/node_modules/es-object-atoms/tsconfig.json +0 -7
- package/node_modules/escape-html/LICENSE +0 -24
- package/node_modules/escape-html/Readme.md +0 -43
- package/node_modules/escape-html/index.js +0 -78
- package/node_modules/escape-html/package.json +0 -24
- package/node_modules/etag/HISTORY.md +0 -83
- package/node_modules/etag/LICENSE +0 -22
- package/node_modules/etag/README.md +0 -159
- package/node_modules/etag/index.js +0 -131
- package/node_modules/etag/package.json +0 -47
- package/node_modules/express/LICENSE +0 -24
- package/node_modules/express/Readme.md +0 -276
- package/node_modules/express/index.js +0 -11
- package/node_modules/express/lib/application.js +0 -631
- package/node_modules/express/lib/express.js +0 -81
- package/node_modules/express/lib/request.js +0 -514
- package/node_modules/express/lib/response.js +0 -1053
- package/node_modules/express/lib/utils.js +0 -271
- package/node_modules/express/lib/view.js +0 -205
- package/node_modules/express/package.json +0 -99
- package/node_modules/express-rate-limit/dist/index.cjs +0 -1016
- package/node_modules/express-rate-limit/dist/index.d.cts +0 -672
- package/node_modules/express-rate-limit/dist/index.d.mts +0 -672
- package/node_modules/express-rate-limit/dist/index.d.ts +0 -672
- package/node_modules/express-rate-limit/dist/index.mjs +0 -986
- package/node_modules/express-rate-limit/license.md +0 -20
- package/node_modules/express-rate-limit/package.json +0 -113
- package/node_modules/express-rate-limit/readme.md +0 -139
- package/node_modules/express-rate-limit/tsconfig.json +0 -8
- package/node_modules/finalhandler/HISTORY.md +0 -239
- package/node_modules/finalhandler/LICENSE +0 -22
- package/node_modules/finalhandler/README.md +0 -150
- package/node_modules/finalhandler/index.js +0 -293
- package/node_modules/finalhandler/package.json +0 -47
- package/node_modules/forwarded/HISTORY.md +0 -21
- package/node_modules/forwarded/LICENSE +0 -22
- package/node_modules/forwarded/README.md +0 -57
- package/node_modules/forwarded/index.js +0 -90
- package/node_modules/forwarded/package.json +0 -45
- package/node_modules/fresh/HISTORY.md +0 -80
- package/node_modules/fresh/LICENSE +0 -23
- package/node_modules/fresh/README.md +0 -117
- package/node_modules/fresh/index.js +0 -136
- package/node_modules/fresh/package.json +0 -46
- package/node_modules/function-bind/.eslintrc +0 -21
- package/node_modules/function-bind/.github/FUNDING.yml +0 -12
- package/node_modules/function-bind/.github/SECURITY.md +0 -3
- package/node_modules/function-bind/.nycrc +0 -13
- package/node_modules/function-bind/CHANGELOG.md +0 -136
- package/node_modules/function-bind/LICENSE +0 -20
- package/node_modules/function-bind/README.md +0 -46
- package/node_modules/function-bind/implementation.js +0 -84
- package/node_modules/function-bind/index.js +0 -5
- package/node_modules/function-bind/package.json +0 -87
- package/node_modules/function-bind/test/.eslintrc +0 -9
- package/node_modules/function-bind/test/index.js +0 -252
- package/node_modules/get-intrinsic/.eslintrc +0 -42
- package/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
- package/node_modules/get-intrinsic/.nycrc +0 -9
- package/node_modules/get-intrinsic/CHANGELOG.md +0 -186
- package/node_modules/get-intrinsic/LICENSE +0 -21
- package/node_modules/get-intrinsic/README.md +0 -71
- package/node_modules/get-intrinsic/index.js +0 -378
- package/node_modules/get-intrinsic/package.json +0 -97
- package/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
- package/node_modules/get-proto/.eslintrc +0 -10
- package/node_modules/get-proto/.github/FUNDING.yml +0 -12
- package/node_modules/get-proto/.nycrc +0 -9
- package/node_modules/get-proto/CHANGELOG.md +0 -21
- package/node_modules/get-proto/LICENSE +0 -21
- package/node_modules/get-proto/Object.getPrototypeOf.d.ts +0 -5
- package/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
- package/node_modules/get-proto/README.md +0 -50
- package/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +0 -3
- package/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
- package/node_modules/get-proto/index.d.ts +0 -5
- package/node_modules/get-proto/index.js +0 -27
- package/node_modules/get-proto/package.json +0 -81
- package/node_modules/get-proto/test/index.js +0 -68
- package/node_modules/get-proto/tsconfig.json +0 -9
- package/node_modules/gopd/.eslintrc +0 -16
- package/node_modules/gopd/.github/FUNDING.yml +0 -12
- package/node_modules/gopd/CHANGELOG.md +0 -45
- package/node_modules/gopd/LICENSE +0 -21
- package/node_modules/gopd/README.md +0 -40
- package/node_modules/gopd/gOPD.d.ts +0 -1
- package/node_modules/gopd/gOPD.js +0 -4
- package/node_modules/gopd/index.d.ts +0 -5
- package/node_modules/gopd/index.js +0 -15
- package/node_modules/gopd/package.json +0 -77
- package/node_modules/gopd/test/index.js +0 -36
- package/node_modules/gopd/tsconfig.json +0 -9
- package/node_modules/has-symbols/.eslintrc +0 -11
- package/node_modules/has-symbols/.github/FUNDING.yml +0 -12
- package/node_modules/has-symbols/.nycrc +0 -9
- package/node_modules/has-symbols/CHANGELOG.md +0 -91
- package/node_modules/has-symbols/LICENSE +0 -21
- package/node_modules/has-symbols/README.md +0 -46
- package/node_modules/has-symbols/index.d.ts +0 -3
- package/node_modules/has-symbols/index.js +0 -14
- package/node_modules/has-symbols/package.json +0 -111
- package/node_modules/has-symbols/shams.d.ts +0 -3
- package/node_modules/has-symbols/shams.js +0 -45
- package/node_modules/has-symbols/test/index.js +0 -22
- package/node_modules/has-symbols/test/shams/core-js.js +0 -29
- package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
- package/node_modules/has-symbols/test/tests.js +0 -58
- package/node_modules/has-symbols/tsconfig.json +0 -10
- package/node_modules/hasown/.github/FUNDING.yml +0 -12
- package/node_modules/hasown/.nycrc +0 -13
- package/node_modules/hasown/CHANGELOG.md +0 -58
- package/node_modules/hasown/LICENSE +0 -21
- package/node_modules/hasown/README.md +0 -40
- package/node_modules/hasown/eslint.config.mjs +0 -6
- package/node_modules/hasown/index.d.ts +0 -3
- package/node_modules/hasown/index.js +0 -8
- package/node_modules/hasown/package.json +0 -91
- package/node_modules/hasown/tsconfig.json +0 -6
- package/node_modules/ip-address/LICENSE +0 -19
- package/node_modules/ip-address/README.md +0 -278
- package/node_modules/ip-address/dist/address-error.d.ts +0 -4
- package/node_modules/ip-address/dist/address-error.js +0 -12
- package/node_modules/ip-address/dist/address-error.js.map +0 -1
- package/node_modules/ip-address/dist/common.d.ts +0 -20
- package/node_modules/ip-address/dist/common.js +0 -67
- package/node_modules/ip-address/dist/common.js.map +0 -1
- package/node_modules/ip-address/dist/ip-address.d.ts +0 -7
- package/node_modules/ip-address/dist/ip-address.js +0 -35
- package/node_modules/ip-address/dist/ip-address.js.map +0 -1
- package/node_modules/ip-address/dist/ipv4.d.ts +0 -267
- package/node_modules/ip-address/dist/ipv4.js +0 -485
- package/node_modules/ip-address/dist/ipv4.js.map +0 -1
- package/node_modules/ip-address/dist/ipv6.d.ts +0 -489
- package/node_modules/ip-address/dist/ipv6.js +0 -1217
- package/node_modules/ip-address/dist/ipv6.js.map +0 -1
- package/node_modules/ip-address/dist/v4/constants.d.ts +0 -4
- package/node_modules/ip-address/dist/v4/constants.js +0 -8
- package/node_modules/ip-address/dist/v4/constants.js.map +0 -1
- package/node_modules/ip-address/dist/v6/constants.d.ts +0 -44
- package/node_modules/ip-address/dist/v6/constants.js +0 -81
- package/node_modules/ip-address/dist/v6/constants.js.map +0 -1
- package/node_modules/ip-address/dist/v6/helpers.d.ts +0 -18
- package/node_modules/ip-address/dist/v6/helpers.js +0 -54
- package/node_modules/ip-address/dist/v6/helpers.js.map +0 -1
- package/node_modules/ip-address/dist/v6/regular-expressions.d.ts +0 -5
- package/node_modules/ip-address/dist/v6/regular-expressions.js +0 -95
- package/node_modules/ip-address/dist/v6/regular-expressions.js.map +0 -1
- package/node_modules/ip-address/package.json +0 -88
- package/node_modules/is-promise/LICENSE +0 -19
- package/node_modules/is-promise/index.d.ts +0 -2
- package/node_modules/is-promise/index.js +0 -6
- package/node_modules/is-promise/index.mjs +0 -3
- package/node_modules/is-promise/package.json +0 -30
- package/node_modules/is-promise/readme.md +0 -33
- package/node_modules/math-intrinsics/.eslintrc +0 -16
- package/node_modules/math-intrinsics/.github/FUNDING.yml +0 -12
- package/node_modules/math-intrinsics/CHANGELOG.md +0 -24
- package/node_modules/math-intrinsics/LICENSE +0 -21
- package/node_modules/math-intrinsics/README.md +0 -50
- package/node_modules/math-intrinsics/abs.d.ts +0 -1
- package/node_modules/math-intrinsics/abs.js +0 -4
- package/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +0 -3
- package/node_modules/math-intrinsics/constants/maxArrayLength.js +0 -4
- package/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +0 -3
- package/node_modules/math-intrinsics/constants/maxSafeInteger.js +0 -5
- package/node_modules/math-intrinsics/constants/maxValue.d.ts +0 -3
- package/node_modules/math-intrinsics/constants/maxValue.js +0 -5
- package/node_modules/math-intrinsics/floor.d.ts +0 -1
- package/node_modules/math-intrinsics/floor.js +0 -4
- package/node_modules/math-intrinsics/isFinite.d.ts +0 -3
- package/node_modules/math-intrinsics/isFinite.js +0 -12
- package/node_modules/math-intrinsics/isInteger.d.ts +0 -3
- package/node_modules/math-intrinsics/isInteger.js +0 -16
- package/node_modules/math-intrinsics/isNaN.d.ts +0 -1
- package/node_modules/math-intrinsics/isNaN.js +0 -6
- package/node_modules/math-intrinsics/isNegativeZero.d.ts +0 -3
- package/node_modules/math-intrinsics/isNegativeZero.js +0 -6
- package/node_modules/math-intrinsics/max.d.ts +0 -1
- package/node_modules/math-intrinsics/max.js +0 -4
- package/node_modules/math-intrinsics/min.d.ts +0 -1
- package/node_modules/math-intrinsics/min.js +0 -4
- package/node_modules/math-intrinsics/mod.d.ts +0 -3
- package/node_modules/math-intrinsics/mod.js +0 -9
- package/node_modules/math-intrinsics/package.json +0 -86
- package/node_modules/math-intrinsics/pow.d.ts +0 -1
- package/node_modules/math-intrinsics/pow.js +0 -4
- package/node_modules/math-intrinsics/round.d.ts +0 -1
- package/node_modules/math-intrinsics/round.js +0 -4
- package/node_modules/math-intrinsics/sign.d.ts +0 -3
- package/node_modules/math-intrinsics/sign.js +0 -11
- package/node_modules/math-intrinsics/test/index.js +0 -192
- package/node_modules/math-intrinsics/tsconfig.json +0 -3
- package/node_modules/media-typer/HISTORY.md +0 -50
- package/node_modules/media-typer/LICENSE +0 -22
- package/node_modules/media-typer/README.md +0 -93
- package/node_modules/media-typer/index.js +0 -143
- package/node_modules/media-typer/package.json +0 -33
- package/node_modules/merge-descriptors/index.d.ts +0 -11
- package/node_modules/merge-descriptors/index.js +0 -26
- package/node_modules/merge-descriptors/license +0 -11
- package/node_modules/merge-descriptors/package.json +0 -50
- package/node_modules/merge-descriptors/readme.md +0 -55
- package/node_modules/mime-db/HISTORY.md +0 -541
- package/node_modules/mime-db/LICENSE +0 -23
- package/node_modules/mime-db/README.md +0 -109
- package/node_modules/mime-db/db.json +0 -9342
- package/node_modules/mime-db/index.js +0 -12
- package/node_modules/mime-db/package.json +0 -56
- package/node_modules/mime-types/HISTORY.md +0 -428
- package/node_modules/mime-types/LICENSE +0 -23
- package/node_modules/mime-types/README.md +0 -126
- package/node_modules/mime-types/index.js +0 -211
- package/node_modules/mime-types/mimeScore.js +0 -57
- package/node_modules/mime-types/package.json +0 -49
- package/node_modules/ms/index.js +0 -162
- package/node_modules/ms/license.md +0 -21
- package/node_modules/ms/package.json +0 -38
- package/node_modules/ms/readme.md +0 -59
- package/node_modules/negotiator/HISTORY.md +0 -114
- package/node_modules/negotiator/LICENSE +0 -24
- package/node_modules/negotiator/README.md +0 -212
- package/node_modules/negotiator/index.js +0 -83
- package/node_modules/negotiator/lib/charset.js +0 -169
- package/node_modules/negotiator/lib/encoding.js +0 -205
- package/node_modules/negotiator/lib/language.js +0 -179
- package/node_modules/negotiator/lib/mediaType.js +0 -294
- package/node_modules/negotiator/package.json +0 -43
- package/node_modules/object-inspect/.eslintrc +0 -53
- package/node_modules/object-inspect/.github/FUNDING.yml +0 -12
- package/node_modules/object-inspect/.nycrc +0 -13
- package/node_modules/object-inspect/CHANGELOG.md +0 -424
- package/node_modules/object-inspect/LICENSE +0 -21
- package/node_modules/object-inspect/example/all.js +0 -23
- package/node_modules/object-inspect/example/circular.js +0 -6
- package/node_modules/object-inspect/example/fn.js +0 -5
- package/node_modules/object-inspect/example/inspect.js +0 -10
- package/node_modules/object-inspect/index.js +0 -544
- package/node_modules/object-inspect/package-support.json +0 -20
- package/node_modules/object-inspect/package.json +0 -105
- package/node_modules/object-inspect/readme.markdown +0 -84
- package/node_modules/object-inspect/test/bigint.js +0 -58
- package/node_modules/object-inspect/test/browser/dom.js +0 -15
- package/node_modules/object-inspect/test/circular.js +0 -16
- package/node_modules/object-inspect/test/deep.js +0 -12
- package/node_modules/object-inspect/test/element.js +0 -53
- package/node_modules/object-inspect/test/err.js +0 -48
- package/node_modules/object-inspect/test/fakes.js +0 -29
- package/node_modules/object-inspect/test/fn.js +0 -76
- package/node_modules/object-inspect/test/global.js +0 -17
- package/node_modules/object-inspect/test/has.js +0 -15
- package/node_modules/object-inspect/test/holes.js +0 -15
- package/node_modules/object-inspect/test/indent-option.js +0 -271
- package/node_modules/object-inspect/test/inspect.js +0 -139
- package/node_modules/object-inspect/test/lowbyte.js +0 -12
- package/node_modules/object-inspect/test/number.js +0 -58
- package/node_modules/object-inspect/test/quoteStyle.js +0 -26
- package/node_modules/object-inspect/test/toStringTag.js +0 -40
- package/node_modules/object-inspect/test/undef.js +0 -12
- package/node_modules/object-inspect/test/values.js +0 -261
- package/node_modules/object-inspect/test-core-js.js +0 -26
- package/node_modules/object-inspect/util.inspect.js +0 -1
- package/node_modules/on-finished/HISTORY.md +0 -98
- package/node_modules/on-finished/LICENSE +0 -23
- package/node_modules/on-finished/README.md +0 -162
- package/node_modules/on-finished/index.js +0 -234
- package/node_modules/on-finished/package.json +0 -39
- package/node_modules/once/LICENSE +0 -15
- package/node_modules/once/README.md +0 -79
- package/node_modules/once/once.js +0 -42
- package/node_modules/once/package.json +0 -33
- package/node_modules/parseurl/HISTORY.md +0 -58
- package/node_modules/parseurl/LICENSE +0 -24
- package/node_modules/parseurl/README.md +0 -133
- package/node_modules/parseurl/index.js +0 -158
- package/node_modules/parseurl/package.json +0 -40
- package/node_modules/path-to-regexp/LICENSE +0 -21
- package/node_modules/path-to-regexp/Readme.md +0 -224
- package/node_modules/path-to-regexp/dist/index.d.ts +0 -147
- package/node_modules/path-to-regexp/dist/index.js +0 -431
- package/node_modules/path-to-regexp/dist/index.js.map +0 -1
- package/node_modules/path-to-regexp/package.json +0 -64
- package/node_modules/proxy-addr/HISTORY.md +0 -161
- package/node_modules/proxy-addr/LICENSE +0 -22
- package/node_modules/proxy-addr/README.md +0 -139
- package/node_modules/proxy-addr/index.js +0 -327
- package/node_modules/proxy-addr/package.json +0 -47
- package/node_modules/qs/.editorconfig +0 -46
- package/node_modules/qs/.github/FUNDING.yml +0 -12
- package/node_modules/qs/.github/SECURITY.md +0 -11
- package/node_modules/qs/.github/THREAT_MODEL.md +0 -78
- package/node_modules/qs/.nycrc +0 -13
- package/node_modules/qs/CHANGELOG.md +0 -822
- package/node_modules/qs/LICENSE.md +0 -29
- package/node_modules/qs/README.md +0 -758
- package/node_modules/qs/dist/qs.js +0 -141
- package/node_modules/qs/eslint.config.mjs +0 -57
- package/node_modules/qs/lib/formats.js +0 -23
- package/node_modules/qs/lib/index.js +0 -11
- package/node_modules/qs/lib/parse.js +0 -403
- package/node_modules/qs/lib/stringify.js +0 -363
- package/node_modules/qs/lib/utils.js +0 -342
- package/node_modules/qs/package.json +0 -94
- package/node_modules/qs/test/empty-keys-cases.js +0 -267
- package/node_modules/qs/test/parse.js +0 -1703
- package/node_modules/qs/test/stringify.js +0 -1448
- package/node_modules/qs/test/utils.js +0 -432
- package/node_modules/range-parser/HISTORY.md +0 -56
- package/node_modules/range-parser/LICENSE +0 -23
- package/node_modules/range-parser/README.md +0 -84
- package/node_modules/range-parser/index.js +0 -162
- package/node_modules/range-parser/package.json +0 -44
- package/node_modules/router/HISTORY.md +0 -228
- package/node_modules/router/LICENSE +0 -23
- package/node_modules/router/README.md +0 -416
- package/node_modules/router/index.js +0 -748
- package/node_modules/router/lib/layer.js +0 -247
- package/node_modules/router/lib/route.js +0 -242
- package/node_modules/router/package.json +0 -44
- package/node_modules/send/LICENSE +0 -23
- package/node_modules/send/README.md +0 -317
- package/node_modules/send/index.js +0 -997
- package/node_modules/send/package.json +0 -63
- package/node_modules/serve-static/LICENSE +0 -25
- package/node_modules/serve-static/README.md +0 -253
- package/node_modules/serve-static/index.js +0 -208
- package/node_modules/serve-static/package.json +0 -44
- package/node_modules/side-channel/.editorconfig +0 -9
- package/node_modules/side-channel/.eslintrc +0 -12
- package/node_modules/side-channel/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel/.nycrc +0 -13
- package/node_modules/side-channel/CHANGELOG.md +0 -110
- package/node_modules/side-channel/LICENSE +0 -21
- package/node_modules/side-channel/README.md +0 -61
- package/node_modules/side-channel/index.d.ts +0 -14
- package/node_modules/side-channel/index.js +0 -43
- package/node_modules/side-channel/package.json +0 -85
- package/node_modules/side-channel/test/index.js +0 -104
- package/node_modules/side-channel/tsconfig.json +0 -9
- package/node_modules/side-channel-list/.editorconfig +0 -9
- package/node_modules/side-channel-list/.eslintrc +0 -11
- package/node_modules/side-channel-list/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel-list/.nycrc +0 -13
- package/node_modules/side-channel-list/CHANGELOG.md +0 -36
- package/node_modules/side-channel-list/LICENSE +0 -21
- package/node_modules/side-channel-list/README.md +0 -62
- package/node_modules/side-channel-list/index.d.ts +0 -13
- package/node_modules/side-channel-list/index.js +0 -111
- package/node_modules/side-channel-list/list.d.ts +0 -14
- package/node_modules/side-channel-list/package.json +0 -77
- package/node_modules/side-channel-list/test/index.js +0 -154
- package/node_modules/side-channel-list/tsconfig.json +0 -9
- package/node_modules/side-channel-map/.editorconfig +0 -9
- package/node_modules/side-channel-map/.eslintrc +0 -11
- package/node_modules/side-channel-map/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel-map/.nycrc +0 -13
- package/node_modules/side-channel-map/CHANGELOG.md +0 -22
- package/node_modules/side-channel-map/LICENSE +0 -21
- package/node_modules/side-channel-map/README.md +0 -62
- package/node_modules/side-channel-map/index.d.ts +0 -15
- package/node_modules/side-channel-map/index.js +0 -68
- package/node_modules/side-channel-map/package.json +0 -80
- package/node_modules/side-channel-map/test/index.js +0 -114
- package/node_modules/side-channel-map/tsconfig.json +0 -9
- package/node_modules/side-channel-weakmap/.editorconfig +0 -9
- package/node_modules/side-channel-weakmap/.eslintrc +0 -12
- package/node_modules/side-channel-weakmap/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel-weakmap/.nycrc +0 -13
- package/node_modules/side-channel-weakmap/CHANGELOG.md +0 -28
- package/node_modules/side-channel-weakmap/LICENSE +0 -21
- package/node_modules/side-channel-weakmap/README.md +0 -62
- package/node_modules/side-channel-weakmap/index.d.ts +0 -15
- package/node_modules/side-channel-weakmap/index.js +0 -84
- package/node_modules/side-channel-weakmap/package.json +0 -87
- package/node_modules/side-channel-weakmap/test/index.js +0 -114
- package/node_modules/side-channel-weakmap/tsconfig.json +0 -9
- package/node_modules/type-is/HISTORY.md +0 -292
- package/node_modules/type-is/LICENSE +0 -23
- package/node_modules/type-is/README.md +0 -198
- package/node_modules/type-is/index.js +0 -240
- package/node_modules/type-is/package.json +0 -51
- package/node_modules/which/CHANGELOG.md +0 -166
- package/node_modules/wrappy/LICENSE +0 -15
- package/node_modules/wrappy/README.md +0 -36
- package/node_modules/wrappy/package.json +0 -29
- package/node_modules/wrappy/wrappy.js +0 -33
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# MIT License
|
|
2
|
-
|
|
3
|
-
Copyright 2023 Nathan Friedly, Vedant K
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
7
|
-
the Software without restriction, including without limitation the rights to
|
|
8
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
9
|
-
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
10
|
-
subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
17
|
-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
18
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
19
|
-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
20
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "express-rate-limit",
|
|
3
|
-
"version": "8.5.2",
|
|
4
|
-
"description": "Basic IP rate-limiting middleware for Express. Use to limit repeated requests to public APIs and/or endpoints such as password reset.",
|
|
5
|
-
"author": {
|
|
6
|
-
"name": "Nathan Friedly",
|
|
7
|
-
"url": "http://nfriedly.com/"
|
|
8
|
-
},
|
|
9
|
-
"license": "MIT",
|
|
10
|
-
"homepage": "https://github.com/express-rate-limit/express-rate-limit",
|
|
11
|
-
"repository": {
|
|
12
|
-
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/express-rate-limit/express-rate-limit.git"
|
|
14
|
-
},
|
|
15
|
-
"funding": "https://github.com/sponsors/express-rate-limit",
|
|
16
|
-
"keywords": [
|
|
17
|
-
"express-rate-limit",
|
|
18
|
-
"express",
|
|
19
|
-
"rate",
|
|
20
|
-
"limit",
|
|
21
|
-
"ratelimit",
|
|
22
|
-
"rate-limit",
|
|
23
|
-
"middleware",
|
|
24
|
-
"ip",
|
|
25
|
-
"auth",
|
|
26
|
-
"authorization",
|
|
27
|
-
"security",
|
|
28
|
-
"brute",
|
|
29
|
-
"force",
|
|
30
|
-
"bruteforce",
|
|
31
|
-
"brute-force",
|
|
32
|
-
"attack"
|
|
33
|
-
],
|
|
34
|
-
"type": "module",
|
|
35
|
-
"exports": {
|
|
36
|
-
".": {
|
|
37
|
-
"import": {
|
|
38
|
-
"types": "./dist/index.d.mts",
|
|
39
|
-
"default": "./dist/index.mjs"
|
|
40
|
-
},
|
|
41
|
-
"require": {
|
|
42
|
-
"types": "./dist/index.d.cts",
|
|
43
|
-
"default": "./dist/index.cjs"
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"main": "./dist/index.cjs",
|
|
48
|
-
"module": "./dist/index.mjs",
|
|
49
|
-
"types": "./dist/index.d.ts",
|
|
50
|
-
"files": [
|
|
51
|
-
"dist/",
|
|
52
|
-
"tsconfig.json"
|
|
53
|
-
],
|
|
54
|
-
"engines": {
|
|
55
|
-
"node": ">= 16"
|
|
56
|
-
},
|
|
57
|
-
"scripts": {
|
|
58
|
-
"clean": "del-cli dist/ coverage/ *.log *.tmp *.bak *.tgz",
|
|
59
|
-
"build:cjs": "esbuild --packages=external --platform=node --bundle --target=es2022 --format=cjs --outfile=dist/index.cjs --footer:js=\"module.exports = Object.assign(rateLimit, module.exports);\" source/index.ts",
|
|
60
|
-
"build:esm": "esbuild --packages=external --platform=node --bundle --target=es2022 --format=esm --outfile=dist/index.mjs source/index.ts",
|
|
61
|
-
"build:types": "dts-bundle-generator --out-file=dist/index.d.ts source/index.ts && cp dist/index.d.ts dist/index.d.cts && cp dist/index.d.ts dist/index.d.mts",
|
|
62
|
-
"compile": "run-s clean build:*",
|
|
63
|
-
"docs": "cd docs && mintlify dev",
|
|
64
|
-
"lint:code": "biome check",
|
|
65
|
-
"lint:docs": "prettier --check docs/ *.md",
|
|
66
|
-
"lint": "run-s lint:*",
|
|
67
|
-
"format:code": "biome check --write",
|
|
68
|
-
"format:docs": "prettier --write docs/ *.md",
|
|
69
|
-
"format": "run-s format:*",
|
|
70
|
-
"test:lib": "jest",
|
|
71
|
-
"test:ext": "cd test/external/ && bash run-all-tests",
|
|
72
|
-
"test": "run-s lint test:lib",
|
|
73
|
-
"format-test": "run-s format test:lib",
|
|
74
|
-
"pre-commit": "lint-staged",
|
|
75
|
-
"prepare": "run-s compile && husky"
|
|
76
|
-
},
|
|
77
|
-
"dependencies": {
|
|
78
|
-
"ip-address": "^10.2.0"
|
|
79
|
-
},
|
|
80
|
-
"peerDependencies": {
|
|
81
|
-
"express": ">= 4.11"
|
|
82
|
-
},
|
|
83
|
-
"devDependencies": {
|
|
84
|
-
"@biomejs/biome": "2.4.6",
|
|
85
|
-
"@express-rate-limit/prettier": "1.1.1",
|
|
86
|
-
"@express-rate-limit/tsconfig": "1.0.2",
|
|
87
|
-
"@jest/globals": "30.4.1",
|
|
88
|
-
"@types/express": "5.0.6",
|
|
89
|
-
"@types/jest": "30.0.0",
|
|
90
|
-
"@types/node": "25.7.0",
|
|
91
|
-
"@types/supertest": "7.2.0",
|
|
92
|
-
"del-cli": "7.0.0",
|
|
93
|
-
"dts-bundle-generator": "8.1.2",
|
|
94
|
-
"esbuild": "0.28.0",
|
|
95
|
-
"express": "5.2.1",
|
|
96
|
-
"husky": "9.1.7",
|
|
97
|
-
"jest": "30.4.2",
|
|
98
|
-
"lint-staged": "17.0.4",
|
|
99
|
-
"mintlify": "4.2.559",
|
|
100
|
-
"npm-run-all": "4.1.5",
|
|
101
|
-
"prettier": "3.8.3",
|
|
102
|
-
"ratelimit-header-parser": "0.1.0",
|
|
103
|
-
"supertest": "7.2.2",
|
|
104
|
-
"ts-jest": "29.4.9",
|
|
105
|
-
"ts-node": "10.9.2",
|
|
106
|
-
"typescript": "5.9.3"
|
|
107
|
-
},
|
|
108
|
-
"prettier": "@express-rate-limit/prettier",
|
|
109
|
-
"lint-staged": {
|
|
110
|
-
"*.{js,ts,json}": "biome check --write",
|
|
111
|
-
"*.{md,yaml}": "prettier --write"
|
|
112
|
-
}
|
|
113
|
-
}
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
<h1 align="center"> <code>express-rate-limit</code> </h1>
|
|
2
|
-
|
|
3
|
-
<div align="center">
|
|
4
|
-
|
|
5
|
-
[](https://github.com/express-rate-limit/express-rate-limit/actions/workflows/ci.yaml)
|
|
6
|
-
[](https://npmjs.org/package/express-rate-limit 'View this project on NPM')
|
|
7
|
-
[](https://www.npmjs.com/package/express-rate-limit)
|
|
8
|
-
[](license.md)
|
|
9
|
-
|
|
10
|
-
</div>
|
|
11
|
-
|
|
12
|
-
Basic rate-limiting middleware for [Express](http://expressjs.com/). Use to
|
|
13
|
-
limit repeated requests to public APIs and/or endpoints such as password reset.
|
|
14
|
-
Plays nice with
|
|
15
|
-
[express-slow-down](https://www.npmjs.com/package/express-slow-down) and
|
|
16
|
-
[ratelimit-header-parser](https://www.npmjs.com/package/ratelimit-header-parser).
|
|
17
|
-
|
|
18
|
-
## Usage
|
|
19
|
-
|
|
20
|
-
The [full documentation](https://express-rate-limit.mintlify.app/overview) is
|
|
21
|
-
available on-line.
|
|
22
|
-
|
|
23
|
-
```ts
|
|
24
|
-
import { rateLimit } from 'express-rate-limit'
|
|
25
|
-
|
|
26
|
-
const limiter = rateLimit({
|
|
27
|
-
windowMs: 15 * 60 * 1000, // 15 minutes
|
|
28
|
-
limit: 100, // Limit each IP to 100 requests per `window` (here, per 15 minutes).
|
|
29
|
-
standardHeaders: 'draft-8', // draft-6: `RateLimit-*` headers; draft-7 & draft-8: combined `RateLimit` header
|
|
30
|
-
legacyHeaders: false, // Disable the `X-RateLimit-*` headers.
|
|
31
|
-
ipv6Subnet: 56, // Set to 60 or 64 to be less aggressive, or 52 or 48 to be more aggressive
|
|
32
|
-
// store: ... , // Redis, Memcached, etc. See below.
|
|
33
|
-
})
|
|
34
|
-
|
|
35
|
-
// Apply the rate limiting middleware to all requests.
|
|
36
|
-
app.use(limiter)
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
### Data Stores
|
|
40
|
-
|
|
41
|
-
The rate limiter comes with a built-in memory store, and supports a variety of
|
|
42
|
-
[external data stores](https://express-rate-limit.mintlify.app/reference/stores).
|
|
43
|
-
|
|
44
|
-
### Configuration
|
|
45
|
-
|
|
46
|
-
All function options may be async. Click the name for additional info and
|
|
47
|
-
default values.
|
|
48
|
-
|
|
49
|
-
| Option | Type | Remarks |
|
|
50
|
-
| -------------------------- | ----------------------------------------- | ----------------------------------------------------------------------------------------------- |
|
|
51
|
-
| [`windowMs`] | `number` | How long to remember requests for, in milliseconds. |
|
|
52
|
-
| [`limit`] | `number` \| `function` | How many requests to allow. |
|
|
53
|
-
| [`message`] | `string` \| `json` \| `function` | Response to return after limit is reached. |
|
|
54
|
-
| [`statusCode`] | `number` | HTTP status code after limit is reached (default is 429). |
|
|
55
|
-
| [`handler`] | `function` | Function to run after limit is reached (overrides `message` and `statusCode` settings, if set). |
|
|
56
|
-
| [`legacyHeaders`] | `boolean` | Enable the `X-Rate-Limit` header. |
|
|
57
|
-
| [`standardHeaders`] | `'draft-6'` \| `'draft-7'` \| `'draft-8'` | Enable the `Ratelimit` header. |
|
|
58
|
-
| [`identifier`] | `string` \| `function` | Name associated with the quota policy enforced by this rate limiter. |
|
|
59
|
-
| [`store`] | `Store` | Use a custom store to share hit counts across multiple nodes. |
|
|
60
|
-
| [`passOnStoreError`] | `boolean` | Allow (`true`) or block (`false`, default) traffic if the store becomes unavailable. |
|
|
61
|
-
| [`keyGenerator`] | `function` | Identify users (defaults to IP address). |
|
|
62
|
-
| [`ipv6Subnet`] | `number` (32-64) \| `function` \| `false` | How many bits of IPv6 addresses to use in default `keyGenerator` |
|
|
63
|
-
| [`requestPropertyName`] | `string` | Add rate limit info to the `req` object. |
|
|
64
|
-
| [`skip`] | `function` | Return `true` to bypass the limiter for the given request. |
|
|
65
|
-
| [`skipSuccessfulRequests`] | `boolean` | Uncount 1xx/2xx/3xx responses. |
|
|
66
|
-
| [`skipFailedRequests`] | `boolean` | Uncount 4xx/5xx responses. |
|
|
67
|
-
| [`requestWasSuccessful`] | `function` | Used by `skipSuccessfulRequests` and `skipFailedRequests`. |
|
|
68
|
-
| [`validate`] | `boolean` \| `object` | Enable or disable built-in validation checks. |
|
|
69
|
-
| [`logger`] | `Logger` | Custom logger |
|
|
70
|
-
|
|
71
|
-
## Thank You
|
|
72
|
-
|
|
73
|
-
---
|
|
74
|
-
|
|
75
|
-
Thanks to Mintlify for hosting the documentation at
|
|
76
|
-
[express-rate-limit.mintlify.app](https://express-rate-limit.mintlify.app)
|
|
77
|
-
|
|
78
|
-
<p align="center">
|
|
79
|
-
<a href="https://mintlify.com/?utm_campaign=devmark&utm_medium=readme&utm_source=express-rate-limit">
|
|
80
|
-
<img height="75" src="https://devmark-public-assets.s3.us-west-2.amazonaws.com/sponsorships/mintlify.svg" alt="Create your docs today">
|
|
81
|
-
</a>
|
|
82
|
-
</p>
|
|
83
|
-
|
|
84
|
-
---
|
|
85
|
-
|
|
86
|
-
And thank you to everyone who's contributed to this project in any way! 🫶
|
|
87
|
-
|
|
88
|
-
## Issues and Contributing
|
|
89
|
-
|
|
90
|
-
If you encounter a bug or want to see something added/changed, please go ahead
|
|
91
|
-
and
|
|
92
|
-
[open an issue](https://github.com/express-rate-limit/express-rate-limit/issues/new)!
|
|
93
|
-
If you need help with something, feel free to
|
|
94
|
-
[start a discussion](https://github.com/express-rate-limit/express-rate-limit/discussions/new)!
|
|
95
|
-
|
|
96
|
-
If you wish to contribute to the library, thanks! First, please read
|
|
97
|
-
[the contributing guide](https://express-rate-limit.mintlify.app/guides/contributing).
|
|
98
|
-
Then you can pick up any issue and fix/implement it!
|
|
99
|
-
|
|
100
|
-
## License
|
|
101
|
-
|
|
102
|
-
MIT © [Nathan Friedly](http://nfriedly.com/),
|
|
103
|
-
[Vedant K](https://github.com/gamemaker1)
|
|
104
|
-
|
|
105
|
-
[`windowMs`]:
|
|
106
|
-
https://express-rate-limit.mintlify.app/reference/configuration#windowms
|
|
107
|
-
[`limit`]: https://express-rate-limit.mintlify.app/reference/configuration#limit
|
|
108
|
-
[`message`]:
|
|
109
|
-
https://express-rate-limit.mintlify.app/reference/configuration#message
|
|
110
|
-
[`statusCode`]:
|
|
111
|
-
https://express-rate-limit.mintlify.app/reference/configuration#statuscode
|
|
112
|
-
[`handler`]:
|
|
113
|
-
https://express-rate-limit.mintlify.app/reference/configuration#handler
|
|
114
|
-
[`legacyHeaders`]:
|
|
115
|
-
https://express-rate-limit.mintlify.app/reference/configuration#legacyheaders
|
|
116
|
-
[`standardHeaders`]:
|
|
117
|
-
https://express-rate-limit.mintlify.app/reference/configuration#standardheaders
|
|
118
|
-
[`identifier`]:
|
|
119
|
-
https://express-rate-limit.mintlify.app/reference/configuration#identifier
|
|
120
|
-
[`store`]: https://express-rate-limit.mintlify.app/reference/configuration#store
|
|
121
|
-
[`passOnStoreError`]:
|
|
122
|
-
https://express-rate-limit.mintlify.app/reference/configuration#passonstoreerror
|
|
123
|
-
[`keyGenerator`]:
|
|
124
|
-
https://express-rate-limit.mintlify.app/reference/configuration#keygenerator
|
|
125
|
-
[`ipv6Subnet`]:
|
|
126
|
-
https://express-rate-limit.mintlify.app/reference/configuration#ipv6subnet
|
|
127
|
-
[`requestPropertyName`]:
|
|
128
|
-
https://express-rate-limit.mintlify.app/reference/configuration#requestpropertyname
|
|
129
|
-
[`skip`]: https://express-rate-limit.mintlify.app/reference/configuration#skip
|
|
130
|
-
[`skipSuccessfulRequests`]:
|
|
131
|
-
https://express-rate-limit.mintlify.app/reference/configuration#skipsuccessfulrequests
|
|
132
|
-
[`skipFailedRequests`]:
|
|
133
|
-
https://express-rate-limit.mintlify.app/reference/configuration#skipfailedrequests
|
|
134
|
-
[`requestWasSuccessful`]:
|
|
135
|
-
https://express-rate-limit.mintlify.app/reference/configuration#requestwassuccessful
|
|
136
|
-
[`validate`]:
|
|
137
|
-
https://express-rate-limit.mintlify.app/reference/configuration#validate
|
|
138
|
-
[`logger`]:
|
|
139
|
-
https://express-rate-limit.mintlify.app/reference/configuration#logger
|
|
@@ -1,239 +0,0 @@
|
|
|
1
|
-
v2.1.1. / 2025-12-01
|
|
2
|
-
==================
|
|
3
|
-
|
|
4
|
-
* update engines field in the package.json to reflect the current compatibility (Node <18). See: 2.0.0
|
|
5
|
-
* Minor changes (package metadata)
|
|
6
|
-
|
|
7
|
-
v2.1.0 / 2025-03-05
|
|
8
|
-
==================
|
|
9
|
-
|
|
10
|
-
* deps:
|
|
11
|
-
* use caret notation for dependency versions
|
|
12
|
-
* encodeurl@^2.0.0
|
|
13
|
-
* debug@^4.4.0
|
|
14
|
-
* remove `ServerResponse.headersSent` support check
|
|
15
|
-
* remove setImmediate support check
|
|
16
|
-
* update test dependencies
|
|
17
|
-
* remove unnecessary devDependency `safe-buffer`
|
|
18
|
-
* remove `unpipe` package and use native `unpipe()` method
|
|
19
|
-
* remove unnecessary devDependency `readable-stream`
|
|
20
|
-
* refactor: use object spread to copy error headers
|
|
21
|
-
* refactor: use replaceAll instead of replace with a regex
|
|
22
|
-
* refactor: replace setHeaders function with optimized inline header setting
|
|
23
|
-
|
|
24
|
-
v2.0.0 / 2024-09-02
|
|
25
|
-
==================
|
|
26
|
-
|
|
27
|
-
* drop support for node <18
|
|
28
|
-
* ignore status message for HTTP/2 (#53)
|
|
29
|
-
|
|
30
|
-
v1.3.1 / 2024-09-11
|
|
31
|
-
==================
|
|
32
|
-
|
|
33
|
-
* deps: encodeurl@~2.0.0
|
|
34
|
-
|
|
35
|
-
v1.3.0 / 2024-09-03
|
|
36
|
-
==================
|
|
37
|
-
|
|
38
|
-
* ignore status message for HTTP/2 (#53)
|
|
39
|
-
|
|
40
|
-
v1.2.1 / 2024-09-02
|
|
41
|
-
==================
|
|
42
|
-
|
|
43
|
-
* Gracefully handle when handling an error and socket is null
|
|
44
|
-
|
|
45
|
-
1.2.0 / 2022-03-22
|
|
46
|
-
==================
|
|
47
|
-
|
|
48
|
-
* Remove set content headers that break response
|
|
49
|
-
* deps: on-finished@2.4.1
|
|
50
|
-
* deps: statuses@2.0.1
|
|
51
|
-
- Rename `425 Unordered Collection` to standard `425 Too Early`
|
|
52
|
-
|
|
53
|
-
1.1.2 / 2019-05-09
|
|
54
|
-
==================
|
|
55
|
-
|
|
56
|
-
* Set stricter `Content-Security-Policy` header
|
|
57
|
-
* deps: parseurl@~1.3.3
|
|
58
|
-
* deps: statuses@~1.5.0
|
|
59
|
-
|
|
60
|
-
1.1.1 / 2018-03-06
|
|
61
|
-
==================
|
|
62
|
-
|
|
63
|
-
* Fix 404 output for bad / missing pathnames
|
|
64
|
-
* deps: encodeurl@~1.0.2
|
|
65
|
-
- Fix encoding `%` as last character
|
|
66
|
-
* deps: statuses@~1.4.0
|
|
67
|
-
|
|
68
|
-
1.1.0 / 2017-09-24
|
|
69
|
-
==================
|
|
70
|
-
|
|
71
|
-
* Use `res.headersSent` when available
|
|
72
|
-
|
|
73
|
-
1.0.6 / 2017-09-22
|
|
74
|
-
==================
|
|
75
|
-
|
|
76
|
-
* deps: debug@2.6.9
|
|
77
|
-
|
|
78
|
-
1.0.5 / 2017-09-15
|
|
79
|
-
==================
|
|
80
|
-
|
|
81
|
-
* deps: parseurl@~1.3.2
|
|
82
|
-
- perf: reduce overhead for full URLs
|
|
83
|
-
- perf: unroll the "fast-path" `RegExp`
|
|
84
|
-
|
|
85
|
-
1.0.4 / 2017-08-03
|
|
86
|
-
==================
|
|
87
|
-
|
|
88
|
-
* deps: debug@2.6.8
|
|
89
|
-
|
|
90
|
-
1.0.3 / 2017-05-16
|
|
91
|
-
==================
|
|
92
|
-
|
|
93
|
-
* deps: debug@2.6.7
|
|
94
|
-
- deps: ms@2.0.0
|
|
95
|
-
|
|
96
|
-
1.0.2 / 2017-04-22
|
|
97
|
-
==================
|
|
98
|
-
|
|
99
|
-
* deps: debug@2.6.4
|
|
100
|
-
- deps: ms@0.7.3
|
|
101
|
-
|
|
102
|
-
1.0.1 / 2017-03-21
|
|
103
|
-
==================
|
|
104
|
-
|
|
105
|
-
* Fix missing `</html>` in HTML document
|
|
106
|
-
* deps: debug@2.6.3
|
|
107
|
-
- Fix: `DEBUG_MAX_ARRAY_LENGTH`
|
|
108
|
-
|
|
109
|
-
1.0.0 / 2017-02-15
|
|
110
|
-
==================
|
|
111
|
-
|
|
112
|
-
* Fix exception when `err` cannot be converted to a string
|
|
113
|
-
* Fully URL-encode the pathname in the 404 message
|
|
114
|
-
* Only include the pathname in the 404 message
|
|
115
|
-
* Send complete HTML document
|
|
116
|
-
* Set `Content-Security-Policy: default-src 'self'` header
|
|
117
|
-
* deps: debug@2.6.1
|
|
118
|
-
- Allow colors in workers
|
|
119
|
-
- Deprecated `DEBUG_FD` environment variable set to `3` or higher
|
|
120
|
-
- Fix error when running under React Native
|
|
121
|
-
- Use same color for same namespace
|
|
122
|
-
- deps: ms@0.7.2
|
|
123
|
-
|
|
124
|
-
0.5.1 / 2016-11-12
|
|
125
|
-
==================
|
|
126
|
-
|
|
127
|
-
* Fix exception when `err.headers` is not an object
|
|
128
|
-
* deps: statuses@~1.3.1
|
|
129
|
-
* perf: hoist regular expressions
|
|
130
|
-
* perf: remove duplicate validation path
|
|
131
|
-
|
|
132
|
-
0.5.0 / 2016-06-15
|
|
133
|
-
==================
|
|
134
|
-
|
|
135
|
-
* Change invalid or non-numeric status code to 500
|
|
136
|
-
* Overwrite status message to match set status code
|
|
137
|
-
* Prefer `err.statusCode` if `err.status` is invalid
|
|
138
|
-
* Set response headers from `err.headers` object
|
|
139
|
-
* Use `statuses` instead of `http` module for status messages
|
|
140
|
-
- Includes all defined status messages
|
|
141
|
-
|
|
142
|
-
0.4.1 / 2015-12-02
|
|
143
|
-
==================
|
|
144
|
-
|
|
145
|
-
* deps: escape-html@~1.0.3
|
|
146
|
-
- perf: enable strict mode
|
|
147
|
-
- perf: optimize string replacement
|
|
148
|
-
- perf: use faster string coercion
|
|
149
|
-
|
|
150
|
-
0.4.0 / 2015-06-14
|
|
151
|
-
==================
|
|
152
|
-
|
|
153
|
-
* Fix a false-positive when unpiping in Node.js 0.8
|
|
154
|
-
* Support `statusCode` property on `Error` objects
|
|
155
|
-
* Use `unpipe` module for unpiping requests
|
|
156
|
-
* deps: escape-html@1.0.2
|
|
157
|
-
* deps: on-finished@~2.3.0
|
|
158
|
-
- Add defined behavior for HTTP `CONNECT` requests
|
|
159
|
-
- Add defined behavior for HTTP `Upgrade` requests
|
|
160
|
-
- deps: ee-first@1.1.1
|
|
161
|
-
* perf: enable strict mode
|
|
162
|
-
* perf: remove argument reassignment
|
|
163
|
-
|
|
164
|
-
0.3.6 / 2015-05-11
|
|
165
|
-
==================
|
|
166
|
-
|
|
167
|
-
* deps: debug@~2.2.0
|
|
168
|
-
- deps: ms@0.7.1
|
|
169
|
-
|
|
170
|
-
0.3.5 / 2015-04-22
|
|
171
|
-
==================
|
|
172
|
-
|
|
173
|
-
* deps: on-finished@~2.2.1
|
|
174
|
-
- Fix `isFinished(req)` when data buffered
|
|
175
|
-
|
|
176
|
-
0.3.4 / 2015-03-15
|
|
177
|
-
==================
|
|
178
|
-
|
|
179
|
-
* deps: debug@~2.1.3
|
|
180
|
-
- Fix high intensity foreground color for bold
|
|
181
|
-
- deps: ms@0.7.0
|
|
182
|
-
|
|
183
|
-
0.3.3 / 2015-01-01
|
|
184
|
-
==================
|
|
185
|
-
|
|
186
|
-
* deps: debug@~2.1.1
|
|
187
|
-
* deps: on-finished@~2.2.0
|
|
188
|
-
|
|
189
|
-
0.3.2 / 2014-10-22
|
|
190
|
-
==================
|
|
191
|
-
|
|
192
|
-
* deps: on-finished@~2.1.1
|
|
193
|
-
- Fix handling of pipelined requests
|
|
194
|
-
|
|
195
|
-
0.3.1 / 2014-10-16
|
|
196
|
-
==================
|
|
197
|
-
|
|
198
|
-
* deps: debug@~2.1.0
|
|
199
|
-
- Implement `DEBUG_FD` env variable support
|
|
200
|
-
|
|
201
|
-
0.3.0 / 2014-09-17
|
|
202
|
-
==================
|
|
203
|
-
|
|
204
|
-
* Terminate in progress response only on error
|
|
205
|
-
* Use `on-finished` to determine request status
|
|
206
|
-
|
|
207
|
-
0.2.0 / 2014-09-03
|
|
208
|
-
==================
|
|
209
|
-
|
|
210
|
-
* Set `X-Content-Type-Options: nosniff` header
|
|
211
|
-
* deps: debug@~2.0.0
|
|
212
|
-
|
|
213
|
-
0.1.0 / 2014-07-16
|
|
214
|
-
==================
|
|
215
|
-
|
|
216
|
-
* Respond after request fully read
|
|
217
|
-
- prevents hung responses and socket hang ups
|
|
218
|
-
* deps: debug@1.0.4
|
|
219
|
-
|
|
220
|
-
0.0.3 / 2014-07-11
|
|
221
|
-
==================
|
|
222
|
-
|
|
223
|
-
* deps: debug@1.0.3
|
|
224
|
-
- Add support for multiple wildcards in namespaces
|
|
225
|
-
|
|
226
|
-
0.0.2 / 2014-06-19
|
|
227
|
-
==================
|
|
228
|
-
|
|
229
|
-
* Handle invalid status codes
|
|
230
|
-
|
|
231
|
-
0.0.1 / 2014-06-05
|
|
232
|
-
==================
|
|
233
|
-
|
|
234
|
-
* deps: debug@1.0.2
|
|
235
|
-
|
|
236
|
-
0.0.0 / 2014-06-05
|
|
237
|
-
==================
|
|
238
|
-
|
|
239
|
-
* Extracted from connect/express
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
(The MIT License)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2014-2022 Douglas Christopher Wilson <doug@somethingdoug.com>
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
|
-
a copy of this software and associated documentation files (the
|
|
7
|
-
'Software'), to deal in the Software without restriction, including
|
|
8
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
9
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
10
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
11
|
-
the following conditions:
|
|
12
|
-
|
|
13
|
-
The above copyright notice and this permission notice shall be
|
|
14
|
-
included in all copies or substantial portions of the Software.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
19
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
20
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
21
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
22
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|