speaker-calibration 2.1.4 → 2.1.6
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/example/listener.html +29 -39
- package/dist/example/server.js +6 -4
- package/dist/example/speakerUI.js +9 -1
- package/dist/main.js +913 -1
- package/dist/node_modules/.bin/mime +12 -0
- package/dist/node_modules/.bin/mime.cmd +17 -0
- package/dist/node_modules/.bin/mime.ps1 +28 -0
- package/dist/node_modules/.package-lock.json +584 -0
- package/dist/node_modules/accepts/HISTORY.md +243 -0
- package/dist/node_modules/accepts/LICENSE +23 -0
- package/dist/node_modules/accepts/README.md +140 -0
- package/dist/node_modules/accepts/index.js +238 -0
- package/dist/node_modules/accepts/package.json +47 -0
- package/dist/node_modules/array-flatten/LICENSE +21 -0
- package/dist/node_modules/array-flatten/README.md +43 -0
- package/dist/node_modules/array-flatten/array-flatten.js +64 -0
- package/dist/node_modules/array-flatten/package.json +39 -0
- package/dist/node_modules/body-parser/HISTORY.md +657 -0
- package/dist/node_modules/body-parser/LICENSE +23 -0
- package/dist/node_modules/body-parser/README.md +464 -0
- package/dist/node_modules/body-parser/SECURITY.md +25 -0
- package/dist/node_modules/body-parser/index.js +156 -0
- package/dist/node_modules/body-parser/lib/read.js +205 -0
- package/dist/node_modules/body-parser/lib/types/json.js +236 -0
- package/dist/node_modules/body-parser/lib/types/raw.js +101 -0
- package/dist/node_modules/body-parser/lib/types/text.js +121 -0
- package/dist/node_modules/body-parser/lib/types/urlencoded.js +284 -0
- package/dist/node_modules/body-parser/package.json +56 -0
- package/dist/node_modules/bytes/History.md +97 -0
- package/dist/node_modules/bytes/LICENSE +23 -0
- package/dist/node_modules/bytes/Readme.md +152 -0
- package/dist/node_modules/bytes/index.js +170 -0
- package/dist/node_modules/bytes/package.json +42 -0
- package/dist/node_modules/call-bind/.eslintignore +1 -0
- package/dist/node_modules/call-bind/.eslintrc +17 -0
- package/dist/node_modules/call-bind/.github/FUNDING.yml +12 -0
- package/dist/node_modules/call-bind/.nycrc +13 -0
- package/dist/node_modules/call-bind/CHANGELOG.md +42 -0
- package/dist/node_modules/call-bind/LICENSE +21 -0
- package/dist/node_modules/call-bind/README.md +2 -0
- package/dist/node_modules/call-bind/callBound.js +15 -0
- package/dist/node_modules/call-bind/index.js +47 -0
- package/dist/node_modules/call-bind/package.json +80 -0
- package/dist/node_modules/call-bind/test/callBound.js +55 -0
- package/dist/node_modules/call-bind/test/index.js +66 -0
- package/dist/node_modules/content-disposition/HISTORY.md +60 -0
- package/dist/node_modules/content-disposition/LICENSE +22 -0
- package/dist/node_modules/content-disposition/README.md +142 -0
- package/dist/node_modules/content-disposition/index.js +458 -0
- package/dist/node_modules/content-disposition/package.json +44 -0
- package/dist/node_modules/content-type/HISTORY.md +24 -0
- package/dist/node_modules/content-type/LICENSE +22 -0
- package/dist/node_modules/content-type/README.md +92 -0
- package/dist/node_modules/content-type/index.js +222 -0
- package/dist/node_modules/content-type/package.json +40 -0
- package/dist/node_modules/cookie/HISTORY.md +142 -0
- package/dist/node_modules/cookie/LICENSE +24 -0
- package/dist/node_modules/cookie/README.md +302 -0
- package/dist/node_modules/cookie/SECURITY.md +25 -0
- package/dist/node_modules/cookie/index.js +270 -0
- package/dist/node_modules/cookie/package.json +44 -0
- package/dist/node_modules/cookie-signature/History.md +38 -0
- package/dist/node_modules/cookie-signature/Readme.md +42 -0
- package/dist/node_modules/cookie-signature/index.js +51 -0
- package/dist/node_modules/cookie-signature/package.json +18 -0
- package/dist/node_modules/debug/.coveralls.yml +1 -0
- package/dist/node_modules/debug/.eslintrc +11 -0
- package/dist/node_modules/debug/.travis.yml +14 -0
- package/dist/node_modules/debug/CHANGELOG.md +362 -0
- package/dist/node_modules/debug/LICENSE +19 -0
- package/dist/node_modules/debug/Makefile +50 -0
- package/dist/node_modules/debug/README.md +312 -0
- package/dist/node_modules/debug/component.json +19 -0
- package/dist/node_modules/debug/karma.conf.js +70 -0
- package/dist/node_modules/debug/node.js +1 -0
- package/dist/node_modules/debug/package.json +49 -0
- package/dist/node_modules/debug/src/browser.js +185 -0
- package/dist/node_modules/debug/src/debug.js +202 -0
- package/dist/node_modules/debug/src/index.js +10 -0
- package/dist/node_modules/debug/src/inspector-log.js +15 -0
- package/dist/node_modules/debug/src/node.js +248 -0
- package/dist/node_modules/depd/History.md +103 -0
- package/dist/node_modules/depd/LICENSE +22 -0
- package/dist/node_modules/depd/Readme.md +280 -0
- package/dist/node_modules/depd/index.js +538 -0
- package/dist/node_modules/depd/lib/browser/index.js +77 -0
- package/dist/node_modules/depd/package.json +45 -0
- package/dist/node_modules/destroy/LICENSE +23 -0
- package/dist/node_modules/destroy/README.md +63 -0
- package/dist/node_modules/destroy/index.js +209 -0
- package/dist/node_modules/destroy/package.json +48 -0
- package/dist/node_modules/ee-first/LICENSE +22 -0
- package/dist/node_modules/ee-first/README.md +80 -0
- package/dist/node_modules/ee-first/index.js +95 -0
- package/dist/node_modules/ee-first/package.json +29 -0
- package/dist/node_modules/encodeurl/HISTORY.md +14 -0
- package/dist/node_modules/encodeurl/LICENSE +22 -0
- package/dist/node_modules/encodeurl/README.md +128 -0
- package/dist/node_modules/encodeurl/index.js +60 -0
- package/dist/node_modules/encodeurl/package.json +40 -0
- package/dist/node_modules/escape-html/LICENSE +24 -0
- package/dist/node_modules/escape-html/Readme.md +43 -0
- package/dist/node_modules/escape-html/index.js +78 -0
- package/dist/node_modules/escape-html/package.json +24 -0
- package/dist/node_modules/etag/HISTORY.md +83 -0
- package/dist/node_modules/etag/LICENSE +22 -0
- package/dist/node_modules/etag/README.md +159 -0
- package/dist/node_modules/etag/index.js +131 -0
- package/dist/node_modules/etag/package.json +47 -0
- package/dist/node_modules/express/History.md +3588 -0
- package/dist/node_modules/express/LICENSE +24 -0
- package/dist/node_modules/express/Readme.md +166 -0
- package/dist/node_modules/express/index.js +11 -0
- package/dist/node_modules/express/lib/application.js +661 -0
- package/dist/node_modules/express/lib/express.js +116 -0
- package/dist/node_modules/express/lib/middleware/init.js +43 -0
- package/dist/node_modules/express/lib/middleware/query.js +47 -0
- package/dist/node_modules/express/lib/request.js +525 -0
- package/dist/node_modules/express/lib/response.js +1169 -0
- package/dist/node_modules/express/lib/router/index.js +673 -0
- package/dist/node_modules/express/lib/router/layer.js +181 -0
- package/dist/node_modules/express/lib/router/route.js +225 -0
- package/dist/node_modules/express/lib/utils.js +304 -0
- package/dist/node_modules/express/lib/view.js +182 -0
- package/dist/node_modules/express/package.json +99 -0
- package/dist/node_modules/finalhandler/HISTORY.md +195 -0
- package/dist/node_modules/finalhandler/LICENSE +22 -0
- package/dist/node_modules/finalhandler/README.md +147 -0
- package/dist/node_modules/finalhandler/SECURITY.md +25 -0
- package/dist/node_modules/finalhandler/index.js +336 -0
- package/dist/node_modules/finalhandler/package.json +46 -0
- package/dist/node_modules/forwarded/HISTORY.md +21 -0
- package/dist/node_modules/forwarded/LICENSE +22 -0
- package/dist/node_modules/forwarded/README.md +57 -0
- package/dist/node_modules/forwarded/index.js +90 -0
- package/dist/node_modules/forwarded/package.json +45 -0
- package/dist/node_modules/fresh/HISTORY.md +70 -0
- package/dist/node_modules/fresh/LICENSE +23 -0
- package/dist/node_modules/fresh/README.md +119 -0
- package/dist/node_modules/fresh/index.js +137 -0
- package/dist/node_modules/fresh/package.json +46 -0
- package/dist/node_modules/function-bind/.editorconfig +20 -0
- package/dist/node_modules/function-bind/.eslintrc +15 -0
- package/dist/node_modules/function-bind/.jscs.json +176 -0
- package/dist/node_modules/function-bind/.travis.yml +168 -0
- package/dist/node_modules/function-bind/LICENSE +20 -0
- package/dist/node_modules/function-bind/README.md +48 -0
- package/dist/node_modules/function-bind/implementation.js +52 -0
- package/dist/node_modules/function-bind/index.js +5 -0
- package/dist/node_modules/function-bind/package.json +63 -0
- package/dist/node_modules/function-bind/test/.eslintrc +9 -0
- package/dist/node_modules/function-bind/test/index.js +252 -0
- package/dist/node_modules/get-intrinsic/.eslintrc +37 -0
- package/dist/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
- package/dist/node_modules/get-intrinsic/.nycrc +9 -0
- package/dist/node_modules/get-intrinsic/CHANGELOG.md +98 -0
- package/dist/node_modules/get-intrinsic/LICENSE +21 -0
- package/dist/node_modules/get-intrinsic/README.md +71 -0
- package/dist/node_modules/get-intrinsic/index.js +334 -0
- package/dist/node_modules/get-intrinsic/package.json +91 -0
- package/dist/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
- package/dist/node_modules/has/LICENSE-MIT +22 -0
- package/dist/node_modules/has/README.md +18 -0
- package/dist/node_modules/has/package.json +48 -0
- package/dist/node_modules/has/src/index.js +5 -0
- package/dist/node_modules/has/test/index.js +10 -0
- package/dist/node_modules/has-symbols/.eslintrc +11 -0
- package/dist/node_modules/has-symbols/.github/FUNDING.yml +12 -0
- package/dist/node_modules/has-symbols/.nycrc +9 -0
- package/dist/node_modules/has-symbols/CHANGELOG.md +75 -0
- package/dist/node_modules/has-symbols/LICENSE +21 -0
- package/dist/node_modules/has-symbols/README.md +46 -0
- package/dist/node_modules/has-symbols/index.js +13 -0
- package/dist/node_modules/has-symbols/package.json +101 -0
- package/dist/node_modules/has-symbols/shams.js +42 -0
- package/dist/node_modules/has-symbols/test/index.js +22 -0
- package/dist/node_modules/has-symbols/test/shams/core-js.js +28 -0
- package/dist/node_modules/has-symbols/test/shams/get-own-property-symbols.js +28 -0
- package/dist/node_modules/has-symbols/test/tests.js +56 -0
- package/dist/node_modules/http-errors/HISTORY.md +180 -0
- package/dist/node_modules/http-errors/LICENSE +23 -0
- package/dist/node_modules/http-errors/README.md +169 -0
- package/dist/node_modules/http-errors/index.js +289 -0
- package/dist/node_modules/http-errors/package.json +50 -0
- package/dist/node_modules/iconv-lite/Changelog.md +162 -0
- package/dist/node_modules/iconv-lite/LICENSE +21 -0
- package/dist/node_modules/iconv-lite/README.md +156 -0
- package/dist/node_modules/iconv-lite/encodings/dbcs-codec.js +555 -0
- package/dist/node_modules/iconv-lite/encodings/dbcs-data.js +176 -0
- package/dist/node_modules/iconv-lite/encodings/index.js +22 -0
- package/dist/node_modules/iconv-lite/encodings/internal.js +188 -0
- package/dist/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
- package/dist/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/dist/node_modules/iconv-lite/encodings/sbcs-data.js +174 -0
- package/dist/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/dist/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/dist/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/dist/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/dist/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/dist/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/dist/node_modules/iconv-lite/encodings/tables/gbk-added.json +55 -0
- package/dist/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/dist/node_modules/iconv-lite/encodings/utf16.js +177 -0
- package/dist/node_modules/iconv-lite/encodings/utf7.js +290 -0
- package/dist/node_modules/iconv-lite/lib/bom-handling.js +52 -0
- package/dist/node_modules/iconv-lite/lib/extend-node.js +217 -0
- package/dist/node_modules/iconv-lite/lib/index.d.ts +24 -0
- package/dist/node_modules/iconv-lite/lib/index.js +153 -0
- package/dist/node_modules/iconv-lite/lib/streams.js +121 -0
- package/dist/node_modules/iconv-lite/package.json +46 -0
- package/dist/node_modules/inherits/LICENSE +16 -0
- package/dist/node_modules/inherits/README.md +42 -0
- package/dist/node_modules/inherits/inherits.js +9 -0
- package/dist/node_modules/inherits/inherits_browser.js +27 -0
- package/dist/node_modules/inherits/package.json +29 -0
- package/dist/node_modules/ipaddr.js/LICENSE +19 -0
- package/dist/node_modules/ipaddr.js/README.md +233 -0
- package/dist/node_modules/ipaddr.js/ipaddr.min.js +1 -0
- package/dist/node_modules/ipaddr.js/lib/ipaddr.js +673 -0
- package/dist/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +68 -0
- package/dist/node_modules/ipaddr.js/package.json +35 -0
- package/dist/node_modules/media-typer/HISTORY.md +22 -0
- package/dist/node_modules/media-typer/LICENSE +22 -0
- package/dist/node_modules/media-typer/README.md +81 -0
- package/dist/node_modules/media-typer/index.js +270 -0
- package/dist/node_modules/media-typer/package.json +26 -0
- package/dist/node_modules/merge-descriptors/HISTORY.md +21 -0
- package/dist/node_modules/merge-descriptors/LICENSE +23 -0
- package/dist/node_modules/merge-descriptors/README.md +48 -0
- package/dist/node_modules/merge-descriptors/index.js +60 -0
- package/dist/node_modules/merge-descriptors/package.json +32 -0
- package/dist/node_modules/methods/HISTORY.md +29 -0
- package/dist/node_modules/methods/LICENSE +24 -0
- package/dist/node_modules/methods/README.md +51 -0
- package/dist/node_modules/methods/index.js +69 -0
- package/dist/node_modules/methods/package.json +36 -0
- package/dist/node_modules/mime/CHANGELOG.md +164 -0
- package/dist/node_modules/mime/LICENSE +21 -0
- package/dist/node_modules/mime/README.md +90 -0
- package/dist/node_modules/mime/cli.js +8 -0
- package/dist/node_modules/mime/mime.js +108 -0
- package/dist/node_modules/mime/package.json +44 -0
- package/dist/node_modules/mime/src/build.js +53 -0
- package/dist/node_modules/mime/src/test.js +60 -0
- package/dist/node_modules/mime/types.json +1 -0
- package/dist/node_modules/mime-db/HISTORY.md +507 -0
- package/dist/node_modules/mime-db/LICENSE +23 -0
- package/dist/node_modules/mime-db/README.md +100 -0
- package/dist/node_modules/mime-db/db.json +8519 -0
- package/dist/node_modules/mime-db/index.js +12 -0
- package/dist/node_modules/mime-db/package.json +60 -0
- package/dist/node_modules/mime-types/HISTORY.md +397 -0
- package/dist/node_modules/mime-types/LICENSE +23 -0
- package/dist/node_modules/mime-types/README.md +113 -0
- package/dist/node_modules/mime-types/index.js +188 -0
- package/dist/node_modules/mime-types/package.json +44 -0
- package/dist/node_modules/ms/index.js +152 -0
- package/dist/node_modules/ms/license.md +21 -0
- package/dist/node_modules/ms/package.json +37 -0
- package/dist/node_modules/ms/readme.md +51 -0
- package/dist/node_modules/negotiator/HISTORY.md +108 -0
- package/dist/node_modules/negotiator/LICENSE +24 -0
- package/dist/node_modules/negotiator/README.md +203 -0
- package/dist/node_modules/negotiator/index.js +82 -0
- package/dist/node_modules/negotiator/lib/charset.js +169 -0
- package/dist/node_modules/negotiator/lib/encoding.js +184 -0
- package/dist/node_modules/negotiator/lib/language.js +179 -0
- package/dist/node_modules/negotiator/lib/mediaType.js +294 -0
- package/dist/node_modules/negotiator/package.json +42 -0
- package/dist/node_modules/object-inspect/.eslintrc +53 -0
- package/dist/node_modules/object-inspect/.github/FUNDING.yml +12 -0
- package/dist/node_modules/object-inspect/.nycrc +13 -0
- package/dist/node_modules/object-inspect/CHANGELOG.md +360 -0
- package/dist/node_modules/object-inspect/LICENSE +21 -0
- package/dist/node_modules/object-inspect/example/all.js +23 -0
- package/dist/node_modules/object-inspect/example/circular.js +6 -0
- package/dist/node_modules/object-inspect/example/fn.js +5 -0
- package/dist/node_modules/object-inspect/example/inspect.js +10 -0
- package/dist/node_modules/object-inspect/index.js +512 -0
- package/dist/node_modules/object-inspect/package-support.json +20 -0
- package/dist/node_modules/object-inspect/package.json +94 -0
- package/dist/node_modules/object-inspect/readme.markdown +86 -0
- package/dist/node_modules/object-inspect/test/bigint.js +58 -0
- package/dist/node_modules/object-inspect/test/browser/dom.js +15 -0
- package/dist/node_modules/object-inspect/test/circular.js +16 -0
- package/dist/node_modules/object-inspect/test/deep.js +12 -0
- package/dist/node_modules/object-inspect/test/element.js +53 -0
- package/dist/node_modules/object-inspect/test/err.js +48 -0
- package/dist/node_modules/object-inspect/test/fakes.js +29 -0
- package/dist/node_modules/object-inspect/test/fn.js +76 -0
- package/dist/node_modules/object-inspect/test/has.js +15 -0
- package/dist/node_modules/object-inspect/test/holes.js +15 -0
- package/dist/node_modules/object-inspect/test/indent-option.js +271 -0
- package/dist/node_modules/object-inspect/test/inspect.js +139 -0
- package/dist/node_modules/object-inspect/test/lowbyte.js +12 -0
- package/dist/node_modules/object-inspect/test/number.js +58 -0
- package/dist/node_modules/object-inspect/test/quoteStyle.js +17 -0
- package/dist/node_modules/object-inspect/test/toStringTag.js +40 -0
- package/dist/node_modules/object-inspect/test/undef.js +12 -0
- package/dist/node_modules/object-inspect/test/values.js +211 -0
- package/dist/node_modules/object-inspect/test-core-js.js +26 -0
- package/dist/node_modules/object-inspect/util.inspect.js +1 -0
- package/dist/node_modules/on-finished/HISTORY.md +98 -0
- package/dist/node_modules/on-finished/LICENSE +23 -0
- package/dist/node_modules/on-finished/README.md +162 -0
- package/dist/node_modules/on-finished/index.js +234 -0
- package/dist/node_modules/on-finished/package.json +39 -0
- package/dist/node_modules/parseurl/HISTORY.md +58 -0
- package/dist/node_modules/parseurl/LICENSE +24 -0
- package/dist/node_modules/parseurl/README.md +133 -0
- package/dist/node_modules/parseurl/index.js +158 -0
- package/dist/node_modules/parseurl/package.json +40 -0
- package/dist/node_modules/path-to-regexp/History.md +36 -0
- package/dist/node_modules/path-to-regexp/LICENSE +21 -0
- package/dist/node_modules/path-to-regexp/Readme.md +35 -0
- package/dist/node_modules/path-to-regexp/index.js +129 -0
- package/dist/node_modules/path-to-regexp/package.json +30 -0
- package/dist/node_modules/proxy-addr/HISTORY.md +161 -0
- package/dist/node_modules/proxy-addr/LICENSE +22 -0
- package/dist/node_modules/proxy-addr/README.md +139 -0
- package/dist/node_modules/proxy-addr/index.js +327 -0
- package/dist/node_modules/proxy-addr/package.json +47 -0
- package/dist/node_modules/qs/.editorconfig +43 -0
- package/dist/node_modules/qs/.eslintrc +38 -0
- package/dist/node_modules/qs/.github/FUNDING.yml +12 -0
- package/dist/node_modules/qs/.nycrc +13 -0
- package/dist/node_modules/qs/CHANGELOG.md +546 -0
- package/dist/node_modules/qs/LICENSE.md +29 -0
- package/dist/node_modules/qs/README.md +625 -0
- package/dist/node_modules/qs/dist/qs.js +2054 -0
- package/dist/node_modules/qs/lib/formats.js +23 -0
- package/dist/node_modules/qs/lib/index.js +11 -0
- package/dist/node_modules/qs/lib/parse.js +263 -0
- package/dist/node_modules/qs/lib/stringify.js +326 -0
- package/dist/node_modules/qs/lib/utils.js +252 -0
- package/dist/node_modules/qs/package.json +77 -0
- package/dist/node_modules/qs/test/parse.js +855 -0
- package/dist/node_modules/qs/test/stringify.js +909 -0
- package/dist/node_modules/qs/test/utils.js +136 -0
- package/dist/node_modules/range-parser/HISTORY.md +56 -0
- package/dist/node_modules/range-parser/LICENSE +23 -0
- package/dist/node_modules/range-parser/README.md +84 -0
- package/dist/node_modules/range-parser/index.js +162 -0
- package/dist/node_modules/range-parser/package.json +44 -0
- package/dist/node_modules/raw-body/HISTORY.md +303 -0
- package/dist/node_modules/raw-body/LICENSE +22 -0
- package/dist/node_modules/raw-body/README.md +223 -0
- package/dist/node_modules/raw-body/SECURITY.md +24 -0
- package/dist/node_modules/raw-body/index.d.ts +87 -0
- package/dist/node_modules/raw-body/index.js +329 -0
- package/dist/node_modules/raw-body/package.json +49 -0
- package/dist/node_modules/safe-buffer/LICENSE +21 -0
- package/dist/node_modules/safe-buffer/README.md +584 -0
- package/dist/node_modules/safe-buffer/index.d.ts +187 -0
- package/dist/node_modules/safe-buffer/index.js +65 -0
- package/dist/node_modules/safe-buffer/package.json +51 -0
- package/dist/node_modules/safer-buffer/LICENSE +21 -0
- package/dist/node_modules/safer-buffer/Porting-Buffer.md +268 -0
- package/dist/node_modules/safer-buffer/Readme.md +156 -0
- package/dist/node_modules/safer-buffer/dangerous.js +58 -0
- package/dist/node_modules/safer-buffer/package.json +34 -0
- package/dist/node_modules/safer-buffer/safer.js +77 -0
- package/dist/node_modules/safer-buffer/tests.js +406 -0
- package/dist/node_modules/send/HISTORY.md +521 -0
- package/dist/node_modules/send/LICENSE +23 -0
- package/dist/node_modules/send/README.md +327 -0
- package/dist/node_modules/send/SECURITY.md +24 -0
- package/dist/node_modules/send/index.js +1143 -0
- package/dist/node_modules/send/node_modules/ms/index.js +162 -0
- package/dist/node_modules/send/node_modules/ms/license.md +21 -0
- package/dist/node_modules/send/node_modules/ms/package.json +38 -0
- package/dist/node_modules/send/node_modules/ms/readme.md +59 -0
- package/dist/node_modules/send/package.json +62 -0
- package/dist/node_modules/serve-static/HISTORY.md +471 -0
- package/dist/node_modules/serve-static/LICENSE +25 -0
- package/dist/node_modules/serve-static/README.md +257 -0
- package/dist/node_modules/serve-static/index.js +210 -0
- package/dist/node_modules/serve-static/package.json +42 -0
- package/dist/node_modules/setprototypeof/LICENSE +13 -0
- package/dist/node_modules/setprototypeof/README.md +31 -0
- package/dist/node_modules/setprototypeof/index.d.ts +2 -0
- package/dist/node_modules/setprototypeof/index.js +17 -0
- package/dist/node_modules/setprototypeof/package.json +38 -0
- package/dist/node_modules/setprototypeof/test/index.js +24 -0
- package/dist/node_modules/side-channel/.eslintignore +1 -0
- package/dist/node_modules/side-channel/.eslintrc +11 -0
- package/dist/node_modules/side-channel/.github/FUNDING.yml +12 -0
- package/dist/node_modules/side-channel/.nycrc +13 -0
- package/dist/node_modules/side-channel/CHANGELOG.md +65 -0
- package/dist/node_modules/side-channel/LICENSE +21 -0
- package/dist/node_modules/side-channel/README.md +2 -0
- package/dist/node_modules/side-channel/index.js +124 -0
- package/dist/node_modules/side-channel/package.json +67 -0
- package/dist/node_modules/side-channel/test/index.js +78 -0
- package/dist/node_modules/statuses/HISTORY.md +82 -0
- package/dist/node_modules/statuses/LICENSE +23 -0
- package/dist/node_modules/statuses/README.md +136 -0
- package/dist/node_modules/statuses/codes.json +65 -0
- package/dist/node_modules/statuses/index.js +146 -0
- package/dist/node_modules/statuses/package.json +49 -0
- package/dist/node_modules/toidentifier/HISTORY.md +9 -0
- package/dist/node_modules/toidentifier/LICENSE +21 -0
- package/dist/node_modules/toidentifier/README.md +61 -0
- package/dist/node_modules/toidentifier/index.js +32 -0
- package/dist/node_modules/toidentifier/package.json +38 -0
- package/dist/node_modules/type-is/HISTORY.md +259 -0
- package/dist/node_modules/type-is/LICENSE +23 -0
- package/dist/node_modules/type-is/README.md +170 -0
- package/dist/node_modules/type-is/index.js +266 -0
- package/dist/node_modules/type-is/package.json +45 -0
- package/dist/node_modules/unpipe/HISTORY.md +4 -0
- package/dist/node_modules/unpipe/LICENSE +22 -0
- package/dist/node_modules/unpipe/README.md +43 -0
- package/dist/node_modules/unpipe/index.js +69 -0
- package/dist/node_modules/unpipe/package.json +27 -0
- package/dist/node_modules/utils-merge/LICENSE +20 -0
- package/dist/node_modules/utils-merge/README.md +34 -0
- package/dist/node_modules/utils-merge/index.js +23 -0
- package/dist/node_modules/utils-merge/package.json +40 -0
- package/dist/node_modules/vary/HISTORY.md +39 -0
- package/dist/node_modules/vary/LICENSE +22 -0
- package/dist/node_modules/vary/README.md +101 -0
- package/dist/node_modules/vary/index.js +149 -0
- package/dist/node_modules/vary/package.json +43 -0
- package/dist/package-lock.json +1018 -0
- package/dist/package.json +18 -0
- package/makefile +74 -0
- package/package.json +1 -1
- package/src/peer-connection/speaker.js +1 -1
- package/src/tasks/audioCalibrator.js +1 -1
- package/src/tasks/volume/volume.js +25 -1
- package/.gitignore +0 -78
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# content-type
|
|
2
|
+
|
|
3
|
+
[![NPM Version][npm-image]][npm-url]
|
|
4
|
+
[![NPM Downloads][downloads-image]][downloads-url]
|
|
5
|
+
[![Node.js Version][node-version-image]][node-version-url]
|
|
6
|
+
[![Build Status][travis-image]][travis-url]
|
|
7
|
+
[![Test Coverage][coveralls-image]][coveralls-url]
|
|
8
|
+
|
|
9
|
+
Create and parse HTTP Content-Type header according to RFC 7231
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
$ npm install content-type
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## API
|
|
18
|
+
|
|
19
|
+
```js
|
|
20
|
+
var contentType = require('content-type')
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### contentType.parse(string)
|
|
24
|
+
|
|
25
|
+
```js
|
|
26
|
+
var obj = contentType.parse('image/svg+xml; charset=utf-8')
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Parse a content type string. This will return an object with the following
|
|
30
|
+
properties (examples are shown for the string `'image/svg+xml; charset=utf-8'`):
|
|
31
|
+
|
|
32
|
+
- `type`: The media type (the type and subtype, always lower case).
|
|
33
|
+
Example: `'image/svg+xml'`
|
|
34
|
+
|
|
35
|
+
- `parameters`: An object of the parameters in the media type (name of parameter
|
|
36
|
+
always lower case). Example: `{charset: 'utf-8'}`
|
|
37
|
+
|
|
38
|
+
Throws a `TypeError` if the string is missing or invalid.
|
|
39
|
+
|
|
40
|
+
### contentType.parse(req)
|
|
41
|
+
|
|
42
|
+
```js
|
|
43
|
+
var obj = contentType.parse(req)
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Parse the `content-type` header from the given `req`. Short-cut for
|
|
47
|
+
`contentType.parse(req.headers['content-type'])`.
|
|
48
|
+
|
|
49
|
+
Throws a `TypeError` if the `Content-Type` header is missing or invalid.
|
|
50
|
+
|
|
51
|
+
### contentType.parse(res)
|
|
52
|
+
|
|
53
|
+
```js
|
|
54
|
+
var obj = contentType.parse(res)
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Parse the `content-type` header set on the given `res`. Short-cut for
|
|
58
|
+
`contentType.parse(res.getHeader('content-type'))`.
|
|
59
|
+
|
|
60
|
+
Throws a `TypeError` if the `Content-Type` header is missing or invalid.
|
|
61
|
+
|
|
62
|
+
### contentType.format(obj)
|
|
63
|
+
|
|
64
|
+
```js
|
|
65
|
+
var str = contentType.format({type: 'image/svg+xml'})
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Format an object into a content type string. This will return a string of the
|
|
69
|
+
content type for the given object with the following properties (examples are
|
|
70
|
+
shown that produce the string `'image/svg+xml; charset=utf-8'`):
|
|
71
|
+
|
|
72
|
+
- `type`: The media type (will be lower-cased). Example: `'image/svg+xml'`
|
|
73
|
+
|
|
74
|
+
- `parameters`: An object of the parameters in the media type (name of the
|
|
75
|
+
parameter will be lower-cased). Example: `{charset: 'utf-8'}`
|
|
76
|
+
|
|
77
|
+
Throws a `TypeError` if the object contains an invalid type or parameter names.
|
|
78
|
+
|
|
79
|
+
## License
|
|
80
|
+
|
|
81
|
+
[MIT](LICENSE)
|
|
82
|
+
|
|
83
|
+
[npm-image]: https://img.shields.io/npm/v/content-type.svg
|
|
84
|
+
[npm-url]: https://npmjs.org/package/content-type
|
|
85
|
+
[node-version-image]: https://img.shields.io/node/v/content-type.svg
|
|
86
|
+
[node-version-url]: http://nodejs.org/download/
|
|
87
|
+
[travis-image]: https://img.shields.io/travis/jshttp/content-type/master.svg
|
|
88
|
+
[travis-url]: https://travis-ci.org/jshttp/content-type
|
|
89
|
+
[coveralls-image]: https://img.shields.io/coveralls/jshttp/content-type/master.svg
|
|
90
|
+
[coveralls-url]: https://coveralls.io/r/jshttp/content-type
|
|
91
|
+
[downloads-image]: https://img.shields.io/npm/dm/content-type.svg
|
|
92
|
+
[downloads-url]: https://npmjs.org/package/content-type
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* content-type
|
|
3
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
4
|
+
* MIT Licensed
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
'use strict'
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* RegExp to match *( ";" parameter ) in RFC 7231 sec 3.1.1.1
|
|
11
|
+
*
|
|
12
|
+
* parameter = token "=" ( token / quoted-string )
|
|
13
|
+
* token = 1*tchar
|
|
14
|
+
* tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*"
|
|
15
|
+
* / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~"
|
|
16
|
+
* / DIGIT / ALPHA
|
|
17
|
+
* ; any VCHAR, except delimiters
|
|
18
|
+
* quoted-string = DQUOTE *( qdtext / quoted-pair ) DQUOTE
|
|
19
|
+
* qdtext = HTAB / SP / %x21 / %x23-5B / %x5D-7E / obs-text
|
|
20
|
+
* obs-text = %x80-FF
|
|
21
|
+
* quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text )
|
|
22
|
+
*/
|
|
23
|
+
var PARAM_REGEXP = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g
|
|
24
|
+
var TEXT_REGEXP = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/
|
|
25
|
+
var TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* RegExp to match quoted-pair in RFC 7230 sec 3.2.6
|
|
29
|
+
*
|
|
30
|
+
* quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text )
|
|
31
|
+
* obs-text = %x80-FF
|
|
32
|
+
*/
|
|
33
|
+
var QESC_REGEXP = /\\([\u000b\u0020-\u00ff])/g
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* RegExp to match chars that must be quoted-pair in RFC 7230 sec 3.2.6
|
|
37
|
+
*/
|
|
38
|
+
var QUOTE_REGEXP = /([\\"])/g
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* RegExp to match type in RFC 7231 sec 3.1.1.1
|
|
42
|
+
*
|
|
43
|
+
* media-type = type "/" subtype
|
|
44
|
+
* type = token
|
|
45
|
+
* subtype = token
|
|
46
|
+
*/
|
|
47
|
+
var TYPE_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Module exports.
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
|
|
54
|
+
exports.format = format
|
|
55
|
+
exports.parse = parse
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Format object to media type.
|
|
59
|
+
*
|
|
60
|
+
* @param {object} obj
|
|
61
|
+
* @return {string}
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
|
|
65
|
+
function format (obj) {
|
|
66
|
+
if (!obj || typeof obj !== 'object') {
|
|
67
|
+
throw new TypeError('argument obj is required')
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
var parameters = obj.parameters
|
|
71
|
+
var type = obj.type
|
|
72
|
+
|
|
73
|
+
if (!type || !TYPE_REGEXP.test(type)) {
|
|
74
|
+
throw new TypeError('invalid type')
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
var string = type
|
|
78
|
+
|
|
79
|
+
// append parameters
|
|
80
|
+
if (parameters && typeof parameters === 'object') {
|
|
81
|
+
var param
|
|
82
|
+
var params = Object.keys(parameters).sort()
|
|
83
|
+
|
|
84
|
+
for (var i = 0; i < params.length; i++) {
|
|
85
|
+
param = params[i]
|
|
86
|
+
|
|
87
|
+
if (!TOKEN_REGEXP.test(param)) {
|
|
88
|
+
throw new TypeError('invalid parameter name')
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
string += '; ' + param + '=' + qstring(parameters[param])
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
return string
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Parse media type to object.
|
|
100
|
+
*
|
|
101
|
+
* @param {string|object} string
|
|
102
|
+
* @return {Object}
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
|
|
106
|
+
function parse (string) {
|
|
107
|
+
if (!string) {
|
|
108
|
+
throw new TypeError('argument string is required')
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// support req/res-like objects as argument
|
|
112
|
+
var header = typeof string === 'object'
|
|
113
|
+
? getcontenttype(string)
|
|
114
|
+
: string
|
|
115
|
+
|
|
116
|
+
if (typeof header !== 'string') {
|
|
117
|
+
throw new TypeError('argument string is required to be a string')
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
var index = header.indexOf(';')
|
|
121
|
+
var type = index !== -1
|
|
122
|
+
? header.substr(0, index).trim()
|
|
123
|
+
: header.trim()
|
|
124
|
+
|
|
125
|
+
if (!TYPE_REGEXP.test(type)) {
|
|
126
|
+
throw new TypeError('invalid media type')
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
var obj = new ContentType(type.toLowerCase())
|
|
130
|
+
|
|
131
|
+
// parse parameters
|
|
132
|
+
if (index !== -1) {
|
|
133
|
+
var key
|
|
134
|
+
var match
|
|
135
|
+
var value
|
|
136
|
+
|
|
137
|
+
PARAM_REGEXP.lastIndex = index
|
|
138
|
+
|
|
139
|
+
while ((match = PARAM_REGEXP.exec(header))) {
|
|
140
|
+
if (match.index !== index) {
|
|
141
|
+
throw new TypeError('invalid parameter format')
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
index += match[0].length
|
|
145
|
+
key = match[1].toLowerCase()
|
|
146
|
+
value = match[2]
|
|
147
|
+
|
|
148
|
+
if (value[0] === '"') {
|
|
149
|
+
// remove quotes and escapes
|
|
150
|
+
value = value
|
|
151
|
+
.substr(1, value.length - 2)
|
|
152
|
+
.replace(QESC_REGEXP, '$1')
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
obj.parameters[key] = value
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
if (index !== header.length) {
|
|
159
|
+
throw new TypeError('invalid parameter format')
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
return obj
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Get content-type from req/res objects.
|
|
168
|
+
*
|
|
169
|
+
* @param {object}
|
|
170
|
+
* @return {Object}
|
|
171
|
+
* @private
|
|
172
|
+
*/
|
|
173
|
+
|
|
174
|
+
function getcontenttype (obj) {
|
|
175
|
+
var header
|
|
176
|
+
|
|
177
|
+
if (typeof obj.getHeader === 'function') {
|
|
178
|
+
// res-like
|
|
179
|
+
header = obj.getHeader('content-type')
|
|
180
|
+
} else if (typeof obj.headers === 'object') {
|
|
181
|
+
// req-like
|
|
182
|
+
header = obj.headers && obj.headers['content-type']
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
if (typeof header !== 'string') {
|
|
186
|
+
throw new TypeError('content-type header is missing from object')
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
return header
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Quote a string if necessary.
|
|
194
|
+
*
|
|
195
|
+
* @param {string} val
|
|
196
|
+
* @return {string}
|
|
197
|
+
* @private
|
|
198
|
+
*/
|
|
199
|
+
|
|
200
|
+
function qstring (val) {
|
|
201
|
+
var str = String(val)
|
|
202
|
+
|
|
203
|
+
// no need to quote tokens
|
|
204
|
+
if (TOKEN_REGEXP.test(str)) {
|
|
205
|
+
return str
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
if (str.length > 0 && !TEXT_REGEXP.test(str)) {
|
|
209
|
+
throw new TypeError('invalid parameter value')
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
return '"' + str.replace(QUOTE_REGEXP, '\\$1') + '"'
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Class to represent a content type.
|
|
217
|
+
* @private
|
|
218
|
+
*/
|
|
219
|
+
function ContentType (type) {
|
|
220
|
+
this.parameters = Object.create(null)
|
|
221
|
+
this.type = type
|
|
222
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "content-type",
|
|
3
|
+
"description": "Create and parse HTTP Content-Type header",
|
|
4
|
+
"version": "1.0.4",
|
|
5
|
+
"author": "Douglas Christopher Wilson <doug@somethingdoug.com>",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"content-type",
|
|
9
|
+
"http",
|
|
10
|
+
"req",
|
|
11
|
+
"res",
|
|
12
|
+
"rfc7231"
|
|
13
|
+
],
|
|
14
|
+
"repository": "jshttp/content-type",
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"eslint": "3.19.0",
|
|
17
|
+
"eslint-config-standard": "10.2.1",
|
|
18
|
+
"eslint-plugin-import": "2.7.0",
|
|
19
|
+
"eslint-plugin-node": "5.1.1",
|
|
20
|
+
"eslint-plugin-promise": "3.5.0",
|
|
21
|
+
"eslint-plugin-standard": "3.0.1",
|
|
22
|
+
"istanbul": "0.4.5",
|
|
23
|
+
"mocha": "~1.21.5"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"LICENSE",
|
|
27
|
+
"HISTORY.md",
|
|
28
|
+
"README.md",
|
|
29
|
+
"index.js"
|
|
30
|
+
],
|
|
31
|
+
"engines": {
|
|
32
|
+
"node": ">= 0.6"
|
|
33
|
+
},
|
|
34
|
+
"scripts": {
|
|
35
|
+
"lint": "eslint .",
|
|
36
|
+
"test": "mocha --reporter spec --check-leaks --bail test/",
|
|
37
|
+
"test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
|
|
38
|
+
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
0.5.0 / 2022-04-11
|
|
2
|
+
==================
|
|
3
|
+
|
|
4
|
+
* Add `priority` option
|
|
5
|
+
* Fix `expires` option to reject invalid dates
|
|
6
|
+
* pref: improve default decode speed
|
|
7
|
+
* pref: remove slow string split in parse
|
|
8
|
+
|
|
9
|
+
0.4.2 / 2022-02-02
|
|
10
|
+
==================
|
|
11
|
+
|
|
12
|
+
* pref: read value only when assigning in parse
|
|
13
|
+
* pref: remove unnecessary regexp in parse
|
|
14
|
+
|
|
15
|
+
0.4.1 / 2020-04-21
|
|
16
|
+
==================
|
|
17
|
+
|
|
18
|
+
* Fix `maxAge` option to reject invalid values
|
|
19
|
+
|
|
20
|
+
0.4.0 / 2019-05-15
|
|
21
|
+
==================
|
|
22
|
+
|
|
23
|
+
* Add `SameSite=None` support
|
|
24
|
+
|
|
25
|
+
0.3.1 / 2016-05-26
|
|
26
|
+
==================
|
|
27
|
+
|
|
28
|
+
* Fix `sameSite: true` to work with draft-7 clients
|
|
29
|
+
- `true` now sends `SameSite=Strict` instead of `SameSite`
|
|
30
|
+
|
|
31
|
+
0.3.0 / 2016-05-26
|
|
32
|
+
==================
|
|
33
|
+
|
|
34
|
+
* Add `sameSite` option
|
|
35
|
+
- Replaces `firstPartyOnly` option, never implemented by browsers
|
|
36
|
+
* Improve error message when `encode` is not a function
|
|
37
|
+
* Improve error message when `expires` is not a `Date`
|
|
38
|
+
|
|
39
|
+
0.2.4 / 2016-05-20
|
|
40
|
+
==================
|
|
41
|
+
|
|
42
|
+
* perf: enable strict mode
|
|
43
|
+
* perf: use for loop in parse
|
|
44
|
+
* perf: use string concatination for serialization
|
|
45
|
+
|
|
46
|
+
0.2.3 / 2015-10-25
|
|
47
|
+
==================
|
|
48
|
+
|
|
49
|
+
* Fix cookie `Max-Age` to never be a floating point number
|
|
50
|
+
|
|
51
|
+
0.2.2 / 2015-09-17
|
|
52
|
+
==================
|
|
53
|
+
|
|
54
|
+
* Fix regression when setting empty cookie value
|
|
55
|
+
- Ease the new restriction, which is just basic header-level validation
|
|
56
|
+
* Fix typo in invalid value errors
|
|
57
|
+
|
|
58
|
+
0.2.1 / 2015-09-17
|
|
59
|
+
==================
|
|
60
|
+
|
|
61
|
+
* Throw on invalid values provided to `serialize`
|
|
62
|
+
- Ensures the resulting string is a valid HTTP header value
|
|
63
|
+
|
|
64
|
+
0.2.0 / 2015-08-13
|
|
65
|
+
==================
|
|
66
|
+
|
|
67
|
+
* Add `firstPartyOnly` option
|
|
68
|
+
* Throw better error for invalid argument to parse
|
|
69
|
+
* perf: hoist regular expression
|
|
70
|
+
|
|
71
|
+
0.1.5 / 2015-09-17
|
|
72
|
+
==================
|
|
73
|
+
|
|
74
|
+
* Fix regression when setting empty cookie value
|
|
75
|
+
- Ease the new restriction, which is just basic header-level validation
|
|
76
|
+
* Fix typo in invalid value errors
|
|
77
|
+
|
|
78
|
+
0.1.4 / 2015-09-17
|
|
79
|
+
==================
|
|
80
|
+
|
|
81
|
+
* Throw better error for invalid argument to parse
|
|
82
|
+
* Throw on invalid values provided to `serialize`
|
|
83
|
+
- Ensures the resulting string is a valid HTTP header value
|
|
84
|
+
|
|
85
|
+
0.1.3 / 2015-05-19
|
|
86
|
+
==================
|
|
87
|
+
|
|
88
|
+
* Reduce the scope of try-catch deopt
|
|
89
|
+
* Remove argument reassignments
|
|
90
|
+
|
|
91
|
+
0.1.2 / 2014-04-16
|
|
92
|
+
==================
|
|
93
|
+
|
|
94
|
+
* Remove unnecessary files from npm package
|
|
95
|
+
|
|
96
|
+
0.1.1 / 2014-02-23
|
|
97
|
+
==================
|
|
98
|
+
|
|
99
|
+
* Fix bad parse when cookie value contained a comma
|
|
100
|
+
* Fix support for `maxAge` of `0`
|
|
101
|
+
|
|
102
|
+
0.1.0 / 2013-05-01
|
|
103
|
+
==================
|
|
104
|
+
|
|
105
|
+
* Add `decode` option
|
|
106
|
+
* Add `encode` option
|
|
107
|
+
|
|
108
|
+
0.0.6 / 2013-04-08
|
|
109
|
+
==================
|
|
110
|
+
|
|
111
|
+
* Ignore cookie parts missing `=`
|
|
112
|
+
|
|
113
|
+
0.0.5 / 2012-10-29
|
|
114
|
+
==================
|
|
115
|
+
|
|
116
|
+
* Return raw cookie value if value unescape errors
|
|
117
|
+
|
|
118
|
+
0.0.4 / 2012-06-21
|
|
119
|
+
==================
|
|
120
|
+
|
|
121
|
+
* Use encode/decodeURIComponent for cookie encoding/decoding
|
|
122
|
+
- Improve server/client interoperability
|
|
123
|
+
|
|
124
|
+
0.0.3 / 2012-06-06
|
|
125
|
+
==================
|
|
126
|
+
|
|
127
|
+
* Only escape special characters per the cookie RFC
|
|
128
|
+
|
|
129
|
+
0.0.2 / 2012-06-01
|
|
130
|
+
==================
|
|
131
|
+
|
|
132
|
+
* Fix `maxAge` option to not throw error
|
|
133
|
+
|
|
134
|
+
0.0.1 / 2012-05-28
|
|
135
|
+
==================
|
|
136
|
+
|
|
137
|
+
* Add more tests
|
|
138
|
+
|
|
139
|
+
0.0.0 / 2012-05-28
|
|
140
|
+
==================
|
|
141
|
+
|
|
142
|
+
* Initial release
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
(The MIT License)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2012-2014 Roman Shtylman <shtylman@gmail.com>
|
|
4
|
+
Copyright (c) 2015 Douglas Christopher Wilson <doug@somethingdoug.com>
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
7
|
+
a copy of this software and associated documentation files (the
|
|
8
|
+
'Software'), to deal in the Software without restriction, including
|
|
9
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
10
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
11
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
12
|
+
the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be
|
|
15
|
+
included in all copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
18
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
19
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
20
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
21
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
22
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
23
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
24
|
+
|