diff --git a/node_modules/.bin/cssesc b/node_modules/.bin/cssesc index 5dd9699..53efb40 100644 --- a/node_modules/.bin/cssesc +++ b/node_modules/.bin/cssesc @@ -11,6 +11,6 @@ esac if [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../cssesc/bin/cssesc" "$@" -else +else exec node "$basedir/../cssesc/bin/cssesc" "$@" fi diff --git a/node_modules/.bin/esbuild b/node_modules/.bin/esbuild index 63bb6d4..d85c9f4 100644 --- a/node_modules/.bin/esbuild +++ b/node_modules/.bin/esbuild @@ -11,6 +11,6 @@ esac if [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../esbuild/bin/esbuild" "$@" -else +else exec node "$basedir/../esbuild/bin/esbuild" "$@" fi diff --git a/node_modules/.bin/glob b/node_modules/.bin/glob index 6fbc4bb..6ce9e38 100644 --- a/node_modules/.bin/glob +++ b/node_modules/.bin/glob @@ -11,6 +11,6 @@ esac if [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../glob/dist/esm/bin.mjs" "$@" -else +else exec node "$basedir/../glob/dist/esm/bin.mjs" "$@" fi diff --git a/node_modules/.bin/nanoid b/node_modules/.bin/nanoid index 46220bd..8e9b46e 100644 --- a/node_modules/.bin/nanoid +++ b/node_modules/.bin/nanoid @@ -11,6 +11,6 @@ esac if [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../nanoid/bin/nanoid.cjs" "$@" -else +else exec node "$basedir/../nanoid/bin/nanoid.cjs" "$@" fi diff --git a/node_modules/.bin/node-which b/node_modules/.bin/node-which index b49b03f..69b4d40 100644 --- a/node_modules/.bin/node-which +++ b/node_modules/.bin/node-which @@ -11,6 +11,6 @@ esac if [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../which/bin/node-which" "$@" -else +else exec node "$basedir/../which/bin/node-which" "$@" fi diff --git a/node_modules/.bin/qrcode b/node_modules/.bin/qrcode index 453e8b6..51e2a08 100644 --- a/node_modules/.bin/qrcode +++ b/node_modules/.bin/qrcode @@ -11,6 +11,6 @@ esac if [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../qrcode/bin/qrcode" "$@" -else +else exec node "$basedir/../qrcode/bin/qrcode" "$@" fi diff --git a/node_modules/.bin/resolve b/node_modules/.bin/resolve index c043cba..c2af153 100644 --- a/node_modules/.bin/resolve +++ b/node_modules/.bin/resolve @@ -11,6 +11,6 @@ esac if [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../resolve/bin/resolve" "$@" -else +else exec node "$basedir/../resolve/bin/resolve" "$@" fi diff --git a/node_modules/.bin/sucrase b/node_modules/.bin/sucrase index 6c58a2e..ce4f5bc 100644 --- a/node_modules/.bin/sucrase +++ b/node_modules/.bin/sucrase @@ -11,6 +11,6 @@ esac if [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../sucrase/bin/sucrase" "$@" -else +else exec node "$basedir/../sucrase/bin/sucrase" "$@" fi diff --git a/node_modules/.bin/sucrase-node b/node_modules/.bin/sucrase-node index fb3bb6c..654a355 100644 --- a/node_modules/.bin/sucrase-node +++ b/node_modules/.bin/sucrase-node @@ -11,6 +11,6 @@ esac if [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../sucrase/bin/sucrase-node" "$@" -else +else exec node "$basedir/../sucrase/bin/sucrase-node" "$@" fi diff --git a/node_modules/.bin/tailwind b/node_modules/.bin/tailwind index e475d32..c50c512 100644 --- a/node_modules/.bin/tailwind +++ b/node_modules/.bin/tailwind @@ -11,6 +11,6 @@ esac if [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../tailwindcss/lib/cli.js" "$@" -else +else exec node "$basedir/../tailwindcss/lib/cli.js" "$@" fi diff --git a/node_modules/.bin/tailwindcss b/node_modules/.bin/tailwindcss index e475d32..c50c512 100644 --- a/node_modules/.bin/tailwindcss +++ b/node_modules/.bin/tailwindcss @@ -11,6 +11,6 @@ esac if [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../tailwindcss/lib/cli.js" "$@" -else +else exec node "$basedir/../tailwindcss/lib/cli.js" "$@" fi diff --git a/node_modules/.bin/yaml b/node_modules/.bin/yaml index c68b081..e816217 100644 --- a/node_modules/.bin/yaml +++ b/node_modules/.bin/yaml @@ -11,6 +11,6 @@ esac if [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../yaml/bin.mjs" "$@" -else +else exec node "$basedir/../yaml/bin.mjs" "$@" fi diff --git a/node_modules/@alloc/quick-lru/index.js b/node_modules/@alloc/quick-lru/index.js index 7eeced2..bb4655b 100644 --- a/node_modules/@alloc/quick-lru/index.js +++ b/node_modules/@alloc/quick-lru/index.js @@ -157,7 +157,7 @@ class QuickLRU { this.oldCache.clear(); this._size = 0; } - + resize(newSize) { if (!(newSize && newSize > 0)) { throw new TypeError('`maxSize` must be a number greater than 0'); diff --git a/node_modules/any-promise/README.md b/node_modules/any-promise/README.md index 174bea4..60f618b 100644 --- a/node_modules/any-promise/README.md +++ b/node_modules/any-promise/README.md @@ -54,7 +54,7 @@ Now that the implementation is registered, you can use any package depending on ```javascript var fsp = require('mz/fs') // mz/fs will use registered bluebird promises -var Promise = require('any-promise') // the registered bluebird promise +var Promise = require('any-promise') // the registered bluebird promise ``` It is safe to call `register` multiple times, but it must always be with the same implementation. @@ -158,4 +158,3 @@ This auto-discovery is only available for Node.jS versions prior to `v0.12`. Any ### Related - [any-observable](https://github.com/sindresorhus/any-observable) - `any-promise` for Observables. - diff --git a/node_modules/brace-expansion/README.md b/node_modules/brace-expansion/README.md index e55c583..d9be141 100644 --- a/node_modules/brace-expansion/README.md +++ b/node_modules/brace-expansion/README.md @@ -1,6 +1,6 @@ # brace-expansion -[Brace expansion](https://www.gnu.org/software/bash/manual/html_node/Brace-Expansion.html), +[Brace expansion](https://www.gnu.org/software/bash/manual/html_node/Brace-Expansion.html), as known from sh/bash, in JavaScript. [![build status](https://secure.travis-ci.org/juliangruber/brace-expansion.svg)](http://travis-ci.org/juliangruber/brace-expansion) diff --git a/node_modules/brace-expansion/index.js b/node_modules/brace-expansion/index.js index a27f81c..49e99be 100644 --- a/node_modules/brace-expansion/index.js +++ b/node_modules/brace-expansion/index.js @@ -104,7 +104,7 @@ function expand(str, isTop) { ? expand(m.post, false) : ['']; - if (/\$$/.test(m.pre)) { + if (/\$$/.test(m.pre)) { for (var k = 0; k < post.length; k++) { var expansion = pre+ '{' + m.body + '}' + post[k]; expansions.push(expansion); @@ -200,4 +200,3 @@ function expand(str, isTop) { return expansions; } - diff --git a/node_modules/braces/lib/stringify.js b/node_modules/braces/lib/stringify.js index 8bcf872..abb42e1 100644 --- a/node_modules/braces/lib/stringify.js +++ b/node_modules/braces/lib/stringify.js @@ -29,4 +29,3 @@ module.exports = (ast, options = {}) => { return stringify(ast); }; - diff --git a/node_modules/cbor-js/cbor.js b/node_modules/cbor-js/cbor.js index 211ff91..0c23cac 100644 --- a/node_modules/cbor-js/cbor.js +++ b/node_modules/cbor-js/cbor.js @@ -96,7 +96,7 @@ function encode(value) { writeUint64(length); } } - + function encodeItem(value) { var i; @@ -108,7 +108,7 @@ function encode(value) { return writeUint8(0xf6); if (value === undefined) return writeUint8(0xf7); - + switch (typeof value) { case "number": if (Math.floor(value) === value) { @@ -170,12 +170,12 @@ function encode(value) { } } } - + encodeItem(value); if ("slice" in data) return data.slice(0, offset); - + var ret = new ArrayBuffer(offset); var retView = new DataView(ret); for (var i = 0; i < offset; ++i) @@ -186,7 +186,7 @@ function encode(value) { function decode(data, tagger, simpleValue) { var dataView = new DataView(data); var offset = 0; - + if (typeof tagger !== "function") tagger = function(value) { return value; }; if (typeof simpleValue !== "function") @@ -207,14 +207,14 @@ function decode(data, tagger, simpleValue) { var sign = value & 0x8000; var exponent = value & 0x7c00; var fraction = value & 0x03ff; - + if (exponent === 0x7c00) exponent = 0xff << 10; else if (exponent !== 0) exponent += (127 - 15) << 10; else if (fraction !== 0) return fraction * POW_2_24; - + tempDataView.setUint32(0, sign << 16 | exponent << 13 | fraction << 13); return tempDataView.getFloat32(0); } diff --git a/node_modules/chokidar/README.md b/node_modules/chokidar/README.md index 8e25dec..83c4a72 100644 --- a/node_modules/chokidar/README.md +++ b/node_modules/chokidar/README.md @@ -301,7 +301,7 @@ For more detailed changelog, see [`full_changelog.md`](.github/full_changelog.md Why was chokidar named this way? What's the meaning behind it? ->Chowkidar is a transliteration of a Hindi word meaning 'watchman, gatekeeper', चौकीदार. This ultimately comes from Sanskrit _ चतुष्क_ (crossway, quadrangle, consisting-of-four). This word is also used in other languages like Urdu as (چوکیدار) which is widely used in Pakistan and India. +>Chowkidar is a transliteration of a Hindi word meaning 'watchman, gatekeeper', चौकीदार. This ultimately comes from Sanskrit _ चतुष्क_ (crossway, quadrangle, consisting-of-four). This word is also used in other languages like Urdu as (چوکیدار) which is widely used in Pakistan and India. ## License diff --git a/node_modules/chokidar/node_modules/glob-parent/CHANGELOG.md b/node_modules/chokidar/node_modules/glob-parent/CHANGELOG.md index fb9de96..44cbd05 100644 --- a/node_modules/chokidar/node_modules/glob-parent/CHANGELOG.md +++ b/node_modules/chokidar/node_modules/glob-parent/CHANGELOG.md @@ -107,4 +107,3 @@ * make regex test strings smaller ([cd83220](https://github.com/gulpjs/glob-parent/commit/cd832208638f45169f986d80fcf66e401f35d233)) ## 1.0.0 (2021-01-27) - diff --git a/node_modules/chokidar/types/index.d.ts b/node_modules/chokidar/types/index.d.ts index 4558066..bea9556 100644 --- a/node_modules/chokidar/types/index.d.ts +++ b/node_modules/chokidar/types/index.d.ts @@ -65,7 +65,7 @@ export class FSWatcher extends EventEmitter implements fs.FSWatcher { on(event: string, listener: (...args: any[]) => void): this; ref(): this; - + unref(): this; } diff --git a/node_modules/color-convert/LICENSE b/node_modules/color-convert/LICENSE index 5b4c386..0e2e490 100644 --- a/node_modules/color-convert/LICENSE +++ b/node_modules/color-convert/LICENSE @@ -18,4 +18,3 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - diff --git a/node_modules/color-convert/route.js b/node_modules/color-convert/route.js index 1a08521..09ba943 100644 --- a/node_modules/color-convert/route.js +++ b/node_modules/color-convert/route.js @@ -94,4 +94,3 @@ module.exports = function (fromModel) { return conversion; }; - diff --git a/node_modules/commander/typings/index.d.ts b/node_modules/commander/typings/index.d.ts index 082a3a3..a0b622b 100644 --- a/node_modules/commander/typings/index.d.ts +++ b/node_modules/commander/typings/index.d.ts @@ -31,21 +31,21 @@ declare namespace commander { args: string[]; /** - * Set the program version to `str`. + * Set the program version to `str`. * * This method auto-registers the "-V, --version" flag * which will print the version number when passed. - * + * * You can optionally supply the flags and description to override the defaults. */ version(str: string, flags?: string, description?: string): Command; /** * Define a command, implemented using an action handler. - * + * * @remarks * The command description is supplied using `.description`, not as a parameter to `.command`. - * + * * @example * ```ts * program @@ -55,7 +55,7 @@ declare namespace commander { * console.log('clone command called'); * }); * ``` - * + * * @param nameAndArgs - command name and arguments, args are `` or `[optional]` and last may also be `variadic...` * @param opts - configuration options * @returns new command @@ -63,17 +63,17 @@ declare namespace commander { command(nameAndArgs: string, opts?: CommandOptions): Command; /** * Define a command, implemented in a separate executable file. - * + * * @remarks * The command description is supplied as the second parameter to `.command`. - * + * * @example * ```ts * program * .command('start ', 'start named service') * .command('stop [service]', 'stop named serice, or all if no name supplied'); * ``` - * + * * @param nameAndArgs - command name and arguments, args are `` or `[optional]` and last may also be `variadic...` * @param description - description of executable command * @param opts - configuration options @@ -183,7 +183,7 @@ declare namespace commander { /** * Whether to pass command to action handler, * or just the options (specify false). - * + * * @return Command for chaining */ passCommandToAction(value?: boolean): Command; @@ -205,7 +205,7 @@ declare namespace commander { /** * Parse `argv`, setting options and invoking commands when defined. - * + * * Use parseAsync instead of parse if any of your action handlers are async. Returns a Promise. * * @returns Promise @@ -224,7 +224,7 @@ declare namespace commander { /** * Set the description. - * + * * @returns Command for chaining */ description(str: string, argsDescription?: {[argName: string]: string}): Command; @@ -235,7 +235,7 @@ declare namespace commander { /** * Set an alias for the command. - * + * * @returns Command for chaining */ alias(alias: string): Command; @@ -246,7 +246,7 @@ declare namespace commander { /** * Set the command usage. - * + * * @returns Command for chaining */ usage(str: string): Command; @@ -257,7 +257,7 @@ declare namespace commander { /** * Set the name of the command. - * + * * @returns Command for chaining */ name(str: string): Command; @@ -280,7 +280,7 @@ declare namespace commander { */ helpOption(flags?: string, description?: string): Command; - /** + /** * Output help information and exit. */ help(cb?: (str: string) => string): never; diff --git a/node_modules/cross-spawn/README.md b/node_modules/cross-spawn/README.md index 1ed9252..b929f86 100644 --- a/node_modules/cross-spawn/README.md +++ b/node_modules/cross-spawn/README.md @@ -72,7 +72,7 @@ This mimics the Node.js behavior. More specifically, the command and its argumen ### Shebangs support -While `cross-spawn` handles shebangs on Windows, its support is limited. More specifically, it just supports `#!/usr/bin/env ` where `` must not contain any arguments. +While `cross-spawn` handles shebangs on Windows, its support is limited. More specifically, it just supports `#!/usr/bin/env ` where `` must not contain any arguments. If you would like to have the shebang support improved, feel free to contribute via a pull-request. Remember to always test your code on Windows! @@ -80,7 +80,7 @@ Remember to always test your code on Windows! ## Tests -`$ npm test` +`$ npm test` `$ npm test -- --watch` during development diff --git a/node_modules/didyoumean/README.md b/node_modules/didyoumean/README.md index cd16698..f4ce778 100644 --- a/node_modules/didyoumean/README.md +++ b/node_modules/didyoumean/README.md @@ -103,15 +103,15 @@ Options are set on the didYouMean function object. You may change them at any ti By default, the method will return the winning string value (if any). If your list contains objects rather than strings, you may set returnWinningObject to true. - + ``` didYouMean.returnWinningObject = true; ``` - + This option has no effect on lists of strings. ### returnFirstMatch - + By default, the method will search all values and return the closest match. If you're simply looking for a "good- enough" match, you can set your thresholds appropriately and set returnFirstMatch to true to substantially speed things up. diff --git a/node_modules/didyoumean/didYouMean-1.2.1.js b/node_modules/didyoumean/didYouMean-1.2.1.js index febb30e..69a9c4f 100644 --- a/node_modules/didyoumean/didYouMean-1.2.1.js +++ b/node_modules/didyoumean/didYouMean-1.2.1.js @@ -105,15 +105,15 @@ Options are set on the didYouMean function object. You may change them at any ti By default, the method will return the winning string value (if any). If your list contains objects rather than strings, you may set returnWinningObject to true. - + ``` didYouMean.returnWinningObject = true; ``` - + This option has no effect on lists of strings. ### returnFirstMatch - + By default, the method will search all values and return the closest match. If you're simply looking for a "good- enough" match, you can set your thresholds appropriately and set returnFirstMatch to true to substantially speed things up. diff --git a/node_modules/dijkstrajs/README.md b/node_modules/dijkstrajs/README.md index 77deac7..d5b3730 100644 --- a/node_modules/dijkstrajs/README.md +++ b/node_modules/dijkstrajs/README.md @@ -15,4 +15,3 @@ The code was originally written by Wyatt Baldwin and turned into a node module b ## Examples See `test/dijkstra.test.js` in the sources for some example code. - diff --git a/node_modules/fast-glob/node_modules/glob-parent/CHANGELOG.md b/node_modules/fast-glob/node_modules/glob-parent/CHANGELOG.md index fb9de96..44cbd05 100644 --- a/node_modules/fast-glob/node_modules/glob-parent/CHANGELOG.md +++ b/node_modules/fast-glob/node_modules/glob-parent/CHANGELOG.md @@ -107,4 +107,3 @@ * make regex test strings smaller ([cd83220](https://github.com/gulpjs/glob-parent/commit/cd832208638f45169f986d80fcf66e401f35d233)) ## 1.0.0 (2021-01-27) - diff --git a/node_modules/fill-range/README.md b/node_modules/fill-range/README.md index 8d756fe..1c077b9 100644 --- a/node_modules/fill-range/README.md +++ b/node_modules/fill-range/README.md @@ -204,14 +204,14 @@ $ npm install -g verbose/verb#dev verb-generate-readme && verb ### Contributors -| **Commits** | **Contributor** | -| --- | --- | -| 116 | [jonschlinkert](https://github.com/jonschlinkert) | -| 4 | [paulmillr](https://github.com/paulmillr) | -| 2 | [realityking](https://github.com/realityking) | -| 2 | [bluelovers](https://github.com/bluelovers) | -| 1 | [edorivai](https://github.com/edorivai) | -| 1 | [wtgtybhertgeghgtwtg](https://github.com/wtgtybhertgeghgtwtg) | +| **Commits** | **Contributor** | +| --- | --- | +| 116 | [jonschlinkert](https://github.com/jonschlinkert) | +| 4 | [paulmillr](https://github.com/paulmillr) | +| 2 | [realityking](https://github.com/realityking) | +| 2 | [bluelovers](https://github.com/bluelovers) | +| 1 | [edorivai](https://github.com/edorivai) | +| 1 | [wtgtybhertgeghgtwtg](https://github.com/wtgtybhertgeghgtwtg) | ### Author diff --git a/node_modules/foreground-child/dist/commonjs/all-signals.js b/node_modules/foreground-child/dist/commonjs/all-signals.js index 1692af0..b5ee463 100644 --- a/node_modules/foreground-child/dist/commonjs/all-signals.js +++ b/node_modules/foreground-child/dist/commonjs/all-signals.js @@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); exports.allSignals = void 0; const node_constants_1 = __importDefault(require("node:constants")); -exports.allSignals = +exports.allSignals = // this is the full list of signals that Node will let us do anything with Object.keys(node_constants_1.default).filter(k => k.startsWith('SIG') && // https://github.com/tapjs/signal-exit/issues/21 diff --git a/node_modules/foreground-child/dist/esm/all-signals.js b/node_modules/foreground-child/dist/esm/all-signals.js index 7e8d54d..6b24993 100644 --- a/node_modules/foreground-child/dist/esm/all-signals.js +++ b/node_modules/foreground-child/dist/esm/all-signals.js @@ -1,5 +1,5 @@ import constants from 'node:constants'; -export const allSignals = +export const allSignals = // this is the full list of signals that Node will let us do anything with Object.keys(constants).filter(k => k.startsWith('SIG') && // https://github.com/tapjs/signal-exit/issues/21 diff --git a/node_modules/function-bind/LICENSE b/node_modules/function-bind/LICENSE index 62d6d23..5b1b5dc 100644 --- a/node_modules/function-bind/LICENSE +++ b/node_modules/function-bind/LICENSE @@ -17,4 +17,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - diff --git a/node_modules/html5-qrcode/README.md b/node_modules/html5-qrcode/README.md index 1441ce5..959c827 100644 --- a/node_modules/html5-qrcode/README.md +++ b/node_modules/html5-qrcode/README.md @@ -1,4 +1,4 @@ -# Html5-QRCode +# Html5-QRCode ## Lightweight & cross platform QR Code and Bar code scanning library for the web @@ -21,7 +21,7 @@ Use this lightweight library to easily / quickly integrate QR code, bar code, an Supports two kinds of APIs - `Html5QrcodeScanner` — End-to-end scanner with UI, integrate with less than ten lines of code. - + - `Html5Qrcode` — Powerful set of APIs you can use to build your UI without worrying about camera setup, handling permissions, reading codes, etc. > Support for scanning local files on the device is a new addition and helpful for the web browser which does not support inline web-camera access in smartphones. **Note:** This doesn't upload files to any server — everything is done locally. @@ -55,7 +55,7 @@ The documentation for this project has been moved to [scanapp.org/html5-qrcode-d We are working continuously on adding support for more and more platforms. If you find a platform or a browser where the library is not working, please feel free to file an issue. Check the [demo link](https://blog.minhazav.dev/research/html5-qrcode.html) to test it out. **Legends** -- ![](https://scanapp.org/assets/github_assets/done.png) Means full support — inline webcam and file based +- ![](https://scanapp.org/assets/github_assets/done.png) Means full support — inline webcam and file based - ![](https://scanapp.org/assets/github_assets/partial.png) Means partial support — only file based, webcam in progress ### PC / Mac @@ -68,13 +68,13 @@ We are working continuously on adding support for more and more platforms. If yo | Chrome
Chrome | Firefox
Firefox | Edge
Edge | Opera
Opera | Opera-Mini
Opera Mini | UC
UC | --------- | --------- | --------- | --------- | --------- | --------- | -|![](https://scanapp.org/assets/github_assets/done.png)| ![](https://scanapp.org/assets/github_assets/done.png)| ![](https://scanapp.org/assets/github_assets/done.png)| ![](https://scanapp.org/assets/github_assets/done.png)| ![](https://scanapp.org/assets/github_assets/partial.png) | ![](https://scanapp.org/assets/github_assets/partial.png) +|![](https://scanapp.org/assets/github_assets/done.png)| ![](https://scanapp.org/assets/github_assets/done.png)| ![](https://scanapp.org/assets/github_assets/done.png)| ![](https://scanapp.org/assets/github_assets/done.png)| ![](https://scanapp.org/assets/github_assets/partial.png) | ![](https://scanapp.org/assets/github_assets/partial.png) ### IOS -| Safari
Safari | Chrome
Chrome | Firefox
Firefox | Edge
Edge +| Safari
Safari | Chrome
Chrome | Firefox
Firefox | Edge
Edge | --------- | --------- | --------- | --------- | -|![](https://scanapp.org/assets/github_assets/done.png)| ![](https://scanapp.org/assets/github_assets/done.png)* | ![](https://scanapp.org/assets/github_assets/done.png)* | ![](https://scanapp.org/assets/github_assets/partial.png) +|![](https://scanapp.org/assets/github_assets/done.png)| ![](https://scanapp.org/assets/github_assets/done.png)* | ![](https://scanapp.org/assets/github_assets/done.png)* | ![](https://scanapp.org/assets/github_assets/partial.png) > \* Supported for IOS versions >= 15.1 @@ -166,9 +166,9 @@ let config = { qrbox : { width: 400, height: 150 } } This config also accepts a function of type ```ts /** - * A function that takes in the width and height of the video stream + * A function that takes in the width and height of the video stream * and returns QrDimensions. -* +* * Viewfinder refers to the video showing camera stream. */ type QrDimensionFunction = @@ -189,7 +189,7 @@ Use this property to render the video feed in a certain aspect ratio. Passing a |1.777778 | 16:9 | Full screen, cinematic | |1.0 | 1:1 | Square view | -If you do not pass any value, the whole viewfinder would be used for scanning. +If you do not pass any value, the whole viewfinder would be used for scanning. **Note**: this value has to be smaller than the width and height of the `QR code HTML element`. #### `disableFlip` — Boolean (Optional), default = false diff --git a/node_modules/html5-qrcode/src/camera/core-impl.ts b/node_modules/html5-qrcode/src/camera/core-impl.ts index ad29ec4..89585e9 100644 --- a/node_modules/html5-qrcode/src/camera/core-impl.ts +++ b/node_modules/html5-qrcode/src/camera/core-impl.ts @@ -1,7 +1,7 @@ /** * @fileoverview * Core camera library implementations. - * + * * @author mebjas */ @@ -120,7 +120,7 @@ class TorchFeatureImpl extends AbstractCameraCapability { /** Implementation of {@link CameraCapabilities}. */ class CameraCapabilitiesImpl implements CameraCapabilities { private readonly track: MediaStreamTrack; - + constructor(track: MediaStreamTrack) { this.track = track; } @@ -288,15 +288,15 @@ class RenderedCameraImpl implements RenderedCamera { $this.mediaStream.removeTrack(videoTrack); videoTrack.stop(); ++tracksClosed; - + if (tracksClosed >= tracksToClose) { $this.isClosed = true; $this.parentElement.removeChild($this.surface); resolve(); } }); - - + + }); } diff --git a/node_modules/html5-qrcode/src/camera/core.ts b/node_modules/html5-qrcode/src/camera/core.ts index f3137cf..202b2d6 100644 --- a/node_modules/html5-qrcode/src/camera/core.ts +++ b/node_modules/html5-qrcode/src/camera/core.ts @@ -1,7 +1,7 @@ /** * @module - * Core Camera interfaces. - * + * Core Camera interfaces. + * * @author mebjas */ @@ -25,7 +25,7 @@ export interface CameraCapability { } /** Capability of the camera that has range. */ -export interface RangeCameraCapability extends CameraCapability { +export interface RangeCameraCapability extends CameraCapability { /** Min value allowed for this capability. */ min(): number; @@ -37,7 +37,7 @@ export interface RangeCameraCapability extends CameraCapability { } /** Capability of camera that is boolean in nature. */ -export interface BooleanCameraCapability extends CameraCapability {} +export interface BooleanCameraCapability extends CameraCapability {} /** Class exposing different capabilities of camera. */ export interface CameraCapabilities { @@ -66,37 +66,37 @@ export interface RenderingCallbacks { export interface RenderedCamera { /** * Returns the video surface. - * + * * @throws error if method is called when scanner is not in scanning state. */ getSurface(): HTMLVideoElement; - + /** * Pauses the camera feed. - * + * * @throws error if method is called when scanner is not in scanning state. */ pause(): void; /** * Resumes the camera feed, if it's in paused state. - * + * * @param onResumeCallback callback that is called when camera resumes. - * + * * @throws error if {@link RenderedCamera} instance is already closed. */ resume(onResumeCallback: () => void): void; /** * Returns {@code true} if the instance is paused. - * + * * @throws error if {@link RenderedCamera} instance is already closed. */ isPaused(): boolean; /** * Closes the instance. - * + * *

The instance cannot be used after closing. */ close(): Promise; @@ -109,9 +109,9 @@ export interface RenderedCamera { /** * Returns the capabilities of the running camera stream. - * + * * Read more: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getConstraints - * + * * @returns the capabilities of a running video track. * @throws error if {@link RenderedCamera} instance is already closed. */ @@ -120,9 +120,9 @@ export interface RenderedCamera { /** * Returns the object containing the current values of each constrainable * property of the running video track. - * + * * Read more: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getSettings - * + * * @returns the supported settings of the running video track. * @throws error if {@link RenderedCamera} instance is already closed. */ @@ -153,7 +153,7 @@ export interface RenderedCamera { export interface CameraRenderingOptions { /** * Aspect ratio to setup the surface with. - * + * *

Setting this value doesn't guarantee the exact value to be applied. */ aspectRatio?: number; @@ -165,11 +165,11 @@ export interface Camera { /** * Renders camera to {@link HTMLVideoElement} as a child of * {@code parentElement}. - * + * * @params parentElement Parent HtmlElement to render camera feed into * @params options rendering options * @params callbacks callbacks associated with rendering - * + * * @returns the {@link RenderedCamera} instance. */ render( diff --git a/node_modules/html5-qrcode/src/camera/factories.ts b/node_modules/html5-qrcode/src/camera/factories.ts index 48dda46..ee7d174 100644 --- a/node_modules/html5-qrcode/src/camera/factories.ts +++ b/node_modules/html5-qrcode/src/camera/factories.ts @@ -1,7 +1,7 @@ /** * @fileoverview * Set of factory implementations around Camera. - * + * * @author mebjas */ diff --git a/node_modules/html5-qrcode/src/camera/permissions.ts b/node_modules/html5-qrcode/src/camera/permissions.ts index 2f032ba..c317291 100644 --- a/node_modules/html5-qrcode/src/camera/permissions.ts +++ b/node_modules/html5-qrcode/src/camera/permissions.ts @@ -1,25 +1,25 @@ /** * @fileoverview * Libraries associated with Camera Permissions. - * + * * @author mebjas */ /** * Permission management around Camera in javascript. - * + * * TODO(mebjas): Migrate camera specific code / logic to this class / library. */ export class CameraPermissions { /** - * Returns {@code true} if the web page already has access to user camera + * Returns {@code true} if the web page already has access to user camera * permissions. */ public static async hasPermissions(): Promise { // TODO(mebjas): Use Permissions Query API, once support is widespread. // https://developer.mozilla.org/en-US/docs/Web/API/Permissions/query - + let devices = await navigator.mediaDevices.enumerateDevices(); for (const device of devices) { // Hacky way to check if camera permissions are granted. Device @@ -28,7 +28,7 @@ return true; } } - + return false; } } diff --git a/node_modules/html5-qrcode/src/camera/retriever.ts b/node_modules/html5-qrcode/src/camera/retriever.ts index 227cae8..4a1d375 100644 --- a/node_modules/html5-qrcode/src/camera/retriever.ts +++ b/node_modules/html5-qrcode/src/camera/retriever.ts @@ -1,7 +1,7 @@ /** * @fileoverview * Libraries associated with retrieving cameras. - * + * * @author mebjas */ @@ -16,7 +16,7 @@ export class CameraRetriever { if (navigator.mediaDevices) { return CameraRetriever.getCamerasFromMediaDevices(); } - + // Using deprecated api to support really old browsers. var mst = MediaStreamTrack; if (MediaStreamTrack && mst.getSources) { @@ -71,7 +71,7 @@ export class CameraRetriever { } private static getCamerasFromMediaStreamTrack() - : Promise> { + : Promise> { return new Promise((resolve, _) => { const callback = (sourceInfos: Array) => { const results: Array = []; diff --git a/node_modules/html5-qrcode/src/code-decoder.ts b/node_modules/html5-qrcode/src/code-decoder.ts index f2a034b..c65b06d 100644 --- a/node_modules/html5-qrcode/src/code-decoder.ts +++ b/node_modules/html5-qrcode/src/code-decoder.ts @@ -1,9 +1,9 @@ /** * @fileoverview * Shim layer for providing the decoding library. - * + * * @author mebjas - * + * * The word "QR Code" is registered trademark of DENSO WAVE INCORPORATED * http://www.denso-wave.com/qrcode/faqpatent-e.html */ @@ -21,11 +21,11 @@ import { BarcodeDetectorDelegate } from "./native-bar-code-detector"; /** * Shim layer for {@interface QrcodeDecoder}. - * + * * Currently uses {@class ZXingHtml5QrcodeDecoder}, can be replace with another library. */ export class Html5QrcodeShim implements RobustQrcodeDecoderAsync { - + private verbose: boolean; private primaryDecoder: QrcodeDecoderAsync; private secondaryDecoder: QrcodeDecoderAsync | undefined; diff --git a/node_modules/html5-qrcode/src/core.ts b/node_modules/html5-qrcode/src/core.ts index 8d3d965..40e59d0 100644 --- a/node_modules/html5-qrcode/src/core.ts +++ b/node_modules/html5-qrcode/src/core.ts @@ -1,9 +1,9 @@ /** * @fileoverview * Core libraries, interfaces, enums shared across {@class Html5Qrcode} & {@class Html5QrcodeScanner} - * + * * @author mebjas - * + * * The word "QR Code" is registered trademark of DENSO WAVE INCORPORATED * http://www.denso-wave.com/qrcode/faqpatent-e.html */ @@ -99,9 +99,9 @@ export interface QrDimensions { } /** - * A function that takes in the width and height of the video stream + * A function that takes in the width and height of the video stream * and returns QrDimensions. - * + * * Viewfinder refers to the video showing camera stream. */ export type QrDimensionFunction = @@ -160,7 +160,7 @@ export interface QrcodeResult { /** * The bounds of the decoded QR code or bar code in the whole stream of * image. - * + * * Note: this is experimental, and not fully supported. */ bounds?: QrBounds; @@ -168,7 +168,7 @@ export interface QrcodeResult { /** * If the decoded text from the QR code or bar code is of a known type like * url or upi id or email id. - * + * * Note: this is experimental, and not fully supported. */ decodedTextType?: DecodedTextType; @@ -254,7 +254,7 @@ export type QrcodeErrorCallback export interface QrcodeDecoderAsync { /** * Decodes content of the canvas to find a valid QR code or bar code. - * + * * @param canvas a valid html5 canvas element. */ decodeAsync(canvas: HTMLCanvasElement): Promise; @@ -262,17 +262,17 @@ export interface QrcodeDecoderAsync { /** * Code robust decoder interface. - * + * *

A robust decoder may sacrifice latency of scanning for scanning quality. * Ideal for file scan kind of operation. */ export interface RobustQrcodeDecoderAsync extends QrcodeDecoderAsync { /** * Decodes content of the canvas to find a valid QR code or bar code. - * + * *

The method implementation will run the decoder more robustly at the * expense of latency. - * + * * @param canvas a valid html5 canvas element. */ decodeRobustlyAsync(canvas: HTMLCanvasElement): Promise; @@ -288,7 +288,7 @@ export interface Logger { /** * Base logger implementation based on browser console. - * + * * This can be replaced by a custom implementation of logger. * */ diff --git a/node_modules/html5-qrcode/src/experimental-features.ts b/node_modules/html5-qrcode/src/experimental-features.ts index 70f6c28..472d97f 100644 --- a/node_modules/html5-qrcode/src/experimental-features.ts +++ b/node_modules/html5-qrcode/src/experimental-features.ts @@ -1,16 +1,16 @@ /** * @fileoverview * Core library for experimental features. - * + * * @author mebjas - * + * * Experimental features are those which have limited browser compatibility and * hidden from official documentations. These features are not recommended by * the author to be used in production unless explictly tested. - * + * * Subset of the features are expected to upgrade to official feature list from * time to time. - * + * * The word "QR Code" is registered trademark of DENSO WAVE INCORPORATED * http://www.denso-wave.com/qrcode/faqpatent-e.html */ @@ -18,7 +18,7 @@ /** * Configuration for enabling or disabling experimental features in the library. - * + * * These features will eventually upgrade as fully supported features in the * library. */ @@ -27,15 +27,15 @@ export interface ExperimentalFeaturesConfig { * {@class BarcodeDetector} is being implemented by browsers at the moment. * It has very limited browser support but as it gets available it could * enable faster native code scanning experience. - * + * * Set this flag to true, to enable using {@class BarcodeDetector} if * supported. This is false by default. - * + * * @deprecated This configuration has graduated to * {@code Html5QrcodeCameraScanConfig} you can set it there directly. All * documentation and future improvements shall be added to that one. This * config will still work for backwards compatibility. - * + * * Documentations: * - https://developer.mozilla.org/en-US/docs/Web/API/BarcodeDetector * - https://web.dev/shape-detection/#barcodedetector diff --git a/node_modules/html5-qrcode/src/html5-qrcode-scanner.ts b/node_modules/html5-qrcode/src/html5-qrcode-scanner.ts index 028262f..c256ca4 100644 --- a/node_modules/html5-qrcode/src/html5-qrcode-scanner.ts +++ b/node_modules/html5-qrcode/src/html5-qrcode-scanner.ts @@ -2,9 +2,9 @@ * @module * Complete Scanner build on top of {@link Html5Qrcode}. * - Decode QR Code using web cam or smartphone camera - * + * * @author mebjas - * + * * The word "QR Code" is registered trademark of DENSO WAVE INCORPORATED * http://www.denso-wave.com/qrcode/faqpatent-e.html */ @@ -94,14 +94,14 @@ export interface Html5QrcodeScannerConfig * were previously granted and what camera was last used. If the permissions * is already granted for "camera", QR code scanning will automatically * start for previously used camera. - * + * * Note: default value is `true`. */ rememberLastUsedCamera?: boolean | undefined; /** * Sets the desired scan types to be supported in the scanner. - * + * * - Not setting a value will follow the default order supported by * library. * - First value would be used as the default value. Example: @@ -119,7 +119,7 @@ export interface Html5QrcodeScannerConfig /** * If `true` the rendered UI will have button to turn flash on or off * based on device + browser support. - * + * * Note: default value is `false`. */ showTorchButtonIfSupported?: boolean | undefined; @@ -127,18 +127,18 @@ export interface Html5QrcodeScannerConfig /** * If `true` the rendered UI will have slider to zoom camera based on * device + browser support. - * + * * Note: default value is `false`. - * + * * TODO(minhazav): Document this API, currently hidden. */ showZoomSliderIfSupported?: boolean | undefined; /** * Default zoom value if supported. - * + * * Note: default value is 1x. - * + * * TODO(minhazav): Document this API, currently hidden. */ defaultZoomValueIfSupported?: number | undefined; @@ -168,10 +168,10 @@ function toHtml5QrcodeFullConfig( /** * End to end web based QR and Barcode Scanner. - * + * * Use this class for setting up QR scanner in your web application with * few lines of codes. - * + * * - Supports camera as well as file based scanning. * - Depending on device supports camera selection, zoom and torch features. * - Supports different kind of 2D and 1D codes {@link Html5QrcodeSupportedFormats}. @@ -203,7 +203,7 @@ export class Html5QrcodeScanner { * * @param elementId Id of the HTML element. * @param config Extra configurations to tune the code scanner. - * @param verbose - If true, all logs would be printed to console. + * @param verbose - If true, all logs would be printed to console. */ public constructor( elementId: string, @@ -232,7 +232,7 @@ export class Html5QrcodeScanner { /** * Renders the User Interface. - * + * * @param qrCodeSuccessCallback Callback called when an instance of a QR * code or any other supported bar code is found. * @param qrCodeErrorCallback optional, callback called in cases where no @@ -282,13 +282,13 @@ export class Html5QrcodeScanner { //#region State related public APIs /** * Pauses the ongoing scan. - * + * * Notes: * - Should only be called if camera scan is ongoing. - * + * * @param shouldPauseVideo (Optional, default = false) If `true` * the video will be paused. - * + * * @throws error if method is called when scanner is not in scanning state. */ public pause(shouldPauseVideo?: boolean) { @@ -298,19 +298,19 @@ export class Html5QrcodeScanner { this.getHtml5QrcodeOrFail().pause(shouldPauseVideo); } - + /** * Resumes the paused scan. - * + * * If the video was previously paused by setting `shouldPauseVideo` * to `true` in {@link Html5QrcodeScanner#pause(shouldPauseVideo)}, * calling this method will resume the video. - * + * * Notes: * - Should only be called if camera scan is ongoing. * - With this caller will start getting results in success and error * callbacks. - * + * * @throws error if method is called when scanner is not in paused state. */ public resume() { @@ -328,7 +328,7 @@ export class Html5QrcodeScanner { /** * Removes the QR Code scanner UI. - * + * * @returns Promise which succeeds if the cleanup is complete successfully, * fails otherwise. */ @@ -380,11 +380,11 @@ export class Html5QrcodeScanner { //#region Beta APIs to modify running stream state. /** * Returns the capabilities of the running video track. - * + * * Read more: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getConstraints - * + * * Note: Should only be called if {@link Html5QrcodeScanner#getState()} - * returns {@link Html5QrcodeScannerState#SCANNING} or + * returns {@link Html5QrcodeScannerState#SCANNING} or * {@link Html5QrcodeScannerState#PAUSED}. * * @returns the capabilities of a running video track. @@ -397,11 +397,11 @@ export class Html5QrcodeScanner { /** * Returns the object containing the current values of each constrainable * property of the running video track. - * + * * Read more: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getSettings - * + * * Note: Should only be called if {@link Html5QrcodeScanner#getState()} - * returns {@link Html5QrcodeScannerState#SCANNING} or + * returns {@link Html5QrcodeScannerState#SCANNING} or * {@link Html5QrcodeScannerState#PAUSED}. * * @returns the supported settings of the running video track. @@ -415,7 +415,7 @@ export class Html5QrcodeScanner { * Apply a video constraints on running video track from camera. * * Note: Should only be called if {@link Html5QrcodeScanner#getState()} - * returns {@link Html5QrcodeScannerState#SCANNING} or + * returns {@link Html5QrcodeScannerState#SCANNING} or * {@link Html5QrcodeScannerState#PAUSED}. * * @param {MediaTrackConstraints} specifies a variety of video or camera @@ -572,7 +572,7 @@ export class Html5QrcodeScanner { }).catch((error) => { $this.persistedDataManager.setHasPermission( /* hasPermission */ false); - + if (requestPermissionButton) { requestPermissionButton.disabled = false; } else { @@ -821,7 +821,7 @@ export class Html5QrcodeScanner { if (this.scanTypeSelector.hasMoreThanOneScanType()) { $this.showHideScanTypeSwapLink(false); } - $this.resetHeaderMessage(); + $this.resetHeaderMessage(); // Attempt starting the camera. const cameraId = cameraSelectUi.getValue(); @@ -875,7 +875,7 @@ export class Html5QrcodeScanner { if(this.scanTypeSelector.hasMoreThanOneScanType()) { $this.showHideScanTypeSwapLink(true); } - + cameraSelectUi.enable(); cameraActionStartButton.disabled = false; cameraActionStopButton.style.display = "none"; @@ -939,7 +939,7 @@ export class Html5QrcodeScanner { $this.resetHeaderMessage(); $this.fileSelectionUi!.resetValue(); $this.sectionSwapAllowed = false; - + if (ScanTypeSelector.isCameraScanType($this.currentScanType)) { // Swap to file based scanning. $this.clearScanRegion(); diff --git a/node_modules/html5-qrcode/src/html5-qrcode.ts b/node_modules/html5-qrcode/src/html5-qrcode.ts index b3fcbda..841fbec 100644 --- a/node_modules/html5-qrcode/src/html5-qrcode.ts +++ b/node_modules/html5-qrcode/src/html5-qrcode.ts @@ -72,7 +72,7 @@ class Constants extends Html5QrcodeConstants { export interface Html5QrcodeConfigs { /** * Array of formats to support of type {@link Html5QrcodeSupportedFormats}. - * + * * All invalid values would be ignored. If null or underfined all supported * formats will be used for scanning. Unless you want to limit the scan to * only certain formats or want to improve performance, you should not set @@ -84,10 +84,10 @@ export interface Html5QrcodeConfigs { * {@link BarcodeDetector} is being implemented by browsers at the moment. * It has very limited browser support but as it gets available it could * enable faster native code scanning experience. - * + * * Set this flag to true, to enable using {@link BarcodeDetector} if * supported. This is true by default. - * + * * Documentations: * - https://developer.mozilla.org/en-US/docs/Web/API/BarcodeDetector * - https://web.dev/shape-detection/#barcodedetector @@ -96,7 +96,7 @@ export interface Html5QrcodeConfigs { /** * Config for experimental features. - * + * * Everything is false by default. */ experimentalFeatures?: ExperimentalFeaturesConfig | undefined; @@ -104,7 +104,7 @@ export interface Html5QrcodeConfigs { /** * Interface for full configuration of {@link Html5Qrcode}. - * + * * Notes: Ideally we don't need to have two interfaces for this purpose, but * since the public APIs before version 2.0.8 allowed passing a boolean verbose * flag to constructor we need to allow users to pass Html5QrcodeFullConfig or @@ -132,7 +132,7 @@ export interface Html5QrcodeCameraScanConfig { * Optional, edge size, dimension or calculator function for QR scanning * box, the value or computed value should be smaller than the width and * height of the full region. - * + * * This would make the scanner look like this: * ---------------------- * |********************| @@ -143,12 +143,12 @@ export interface Html5QrcodeCameraScanConfig { * |********************| * |********************| * ---------------------- - * + * * Instance of {@link QrDimensions} can be passed to construct a non * square rendering of scanner box. You can also pass in a function of type * {@link QrDimensionFunction} that takes in the width and height of the * video stream and return QR box size of type {@link QrDimensions}. - * + * * If this value is not set, no shaded QR box will be rendered and the * scanner will scan the entire area of video stream. */ @@ -185,7 +185,7 @@ export interface Html5QrcodeCameraScanConfig { /** * Internal implementation of {@link Html5QrcodeConfig} with util & factory * methods. - * + * * @hidden */ class InternalHtml5QrcodeConfig implements Html5QrcodeCameraScanConfig { @@ -234,7 +234,7 @@ class InternalHtml5QrcodeConfig implements Html5QrcodeCameraScanConfig { /** * Create instance of {@link Html5QrcodeCameraScanConfig}. - * + * * Create configuration by merging default and input settings. */ static create(config: Html5QrcodeCameraScanConfig | undefined, logger: Logger) @@ -253,9 +253,9 @@ interface QrcodeRegionBounds { /** * Low level APIs for building web based QR and Barcode Scanner. - * + * * Supports APIs for camera as well as file based scanning. - * + * * Depending of the configuration, the class will help render code * scanning UI on the provided parent HTML container. */ @@ -302,13 +302,13 @@ export class Html5Qrcode { * compatibility). If nothing is passed, default values would be used. * If a boolean value is used, it'll be used to set verbosity. Pass a * config value to configure the Html5Qrcode scanner as per needs. - * + * * Use of `configOrVerbosityFlag` as a boolean value is being * deprecated since version 2.0.7. - * + * * TODO(mebjas): Deprecate the verbosity boolean flag completely. */ - public constructor(elementId: string, + public constructor(elementId: string, configOrVerbosityFlag?: boolean | Html5QrcodeFullConfig | undefined) { if (!document.getElementById(elementId)) { throw `HTML Element with id=${elementId} not found`; @@ -316,7 +316,7 @@ export class Html5Qrcode { this.elementId = elementId; this.verbose = false; - + let experimentalFeatureConfig : ExperimentalFeaturesConfig | undefined; let configObject: Html5QrcodeFullConfig | undefined; if (typeof configOrVerbosityFlag == "boolean") { @@ -326,7 +326,7 @@ export class Html5Qrcode { this.verbose = configObject.verbose === true; experimentalFeatureConfig = configObject.experimentalFeatures; } - + this.logger = new BaseLoggger(this.verbose); this.qrcode = new Html5QrcodeShim( this.getSupportedFormats(configOrVerbosityFlag), @@ -342,7 +342,7 @@ export class Html5Qrcode { //#region start() /** * Start scanning QR codes or bar codes for a given camera. - * + * * @param cameraIdOrConfig Identifier of the camera, it can either be the * camera id retrieved from {@link Html5Qrcode#getCameras()} method or * object with facing mode constraint. @@ -351,7 +351,7 @@ export class Html5Qrcode { * code or any other supported bar code is found. * @param qrCodeErrorCallback Callback called in cases where no instance of * QR code or any other supported bar code is found. - * + * * @returns Promise for starting the scan. The Promise can fail if the user * doesn't grant permission or some API is not supported by the browser. */ @@ -469,10 +469,10 @@ export class Html5Qrcode { //#region Other state related public APIs /** * Pauses the ongoing scan. - * + * * @param shouldPauseVideo (Optional, default = false) If true the * video will be paused. - * + * * @throws error if method is called when scanner is not in scanning state. */ public pause(shouldPauseVideo?: boolean) { @@ -493,14 +493,14 @@ export class Html5Qrcode { /** * Resumes the paused scan. - * + * * If the video was previously paused by setting `shouldPauseVideo`` * to `true` in {@link Html5Qrcode#pause(shouldPauseVideo)}, calling * this method will resume the video. - * + * * Note: with this caller will start getting results in success and error * callbacks. - * + * * @throws error if method is called when scanner is not in paused state. */ public resume() { @@ -628,7 +628,7 @@ export class Html5Qrcode { * * @returns Promise which resolves with result of type * {@link Html5QrcodeResult}. - * + * * @beta This is a WIP method, it's available as a public method but not * documented. * TODO(mebjas): Replace scanFile with ScanFileV2 @@ -757,7 +757,7 @@ export class Html5Qrcode { this.clearElement(); } - /** + /** * Returns list of {@link CameraDevice} supported by the device. * * @returns array of camera devices on success. @@ -768,9 +768,9 @@ export class Html5Qrcode { /** * Returns the capabilities of the running video track. - * + * * Read more: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getConstraints - * + * * Important: * 1. Must be called only if the camera based scanning is in progress. * @@ -784,9 +784,9 @@ export class Html5Qrcode { /** * Returns the object containing the current values of each constrainable * property of the running video track. - * + * * Read more: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getSettings - * + * * Important: * 1. Must be called only if the camera based scanning is in progress. * @@ -800,9 +800,9 @@ export class Html5Qrcode { /** * Returns {@link CameraCapabilities} of the running video track. - * + * * TODO(minhazav): Document this API, currently hidden. - * + * * @returns capabilities of the running camera. * @throws error if the scanning is not in running state. */ @@ -853,10 +853,10 @@ export class Html5Qrcode { * compatibility). If nothing is passed, default values would be used. * If a boolean value is used, it'll be used to set verbosity. Pass a * config value to configure the Html5Qrcode scanner as per needs. - * + * * Use of `configOrVerbosityFlag` as a boolean value is being * deprecated since version 2.0.7. - * + * * TODO(mebjas): Deprecate the verbosity boolean flag completely. */ private getSupportedFormats( @@ -882,7 +882,7 @@ export class Html5Qrcode { Html5QrcodeSupportedFormats.UPC_EAN_EXTENSION, ]; - if (!configOrVerbosityFlag + if (!configOrVerbosityFlag || typeof configOrVerbosityFlag == "boolean") { return allFormats; } @@ -969,9 +969,9 @@ export class Html5Qrcode { /** * The 'config.qrbox.width' shall be overriden if it's larger than the * width of the root element. - * + * * Based on the verbosity settings, this will be logged to the logger. - * + * * @param configWidth the width of qrbox set by users in the config. */ const correctWidthBasedOnRootElementSize = (configWidth: number) => { @@ -996,7 +996,7 @@ export class Html5Qrcode { /** * Validates if the `qrboxSize` is a valid value. - * + * * It's expected to be either a number or of type {@link QrDimensions}. */ private validateQrboxConfig( @@ -1058,7 +1058,7 @@ export class Html5Qrcode { // If `qrbox` size is not set, it will default to the dimensions of the // viewfinder. - const qrboxSize = isNullOrUndefined(internalConfig.qrbox) ? + const qrboxSize = isNullOrUndefined(internalConfig.qrbox) ? {width: viewfinderWidth, height: viewfinderHeight}: internalConfig.qrbox!; this.validateQrboxConfig(qrboxSize); @@ -1068,7 +1068,7 @@ export class Html5Qrcode { + "greater than the height of the video stream. Shading will be" + " ignored"); } - + const shouldShadingBeApplied = internalConfig.isShadedBoxEnabled() && qrDimensions.height <= viewfinderHeight; @@ -1082,7 +1082,7 @@ export class Html5Qrcode { const qrRegion = shouldShadingBeApplied ? this.getShadedRegionBounds(viewfinderWidth, viewfinderHeight, qrDimensions) : defaultQrRegion; - + const canvasElement = this.createCanvasElement( qrRegion.width, qrRegion.height); // Tell user agent that this canvas will be read frequently. @@ -1104,7 +1104,7 @@ export class Html5Qrcode { } this.createScannerPausedUiElement(this.element!); - + // Update local states this.qrRegion = qrRegion; this.context = context; @@ -1126,7 +1126,7 @@ export class Html5Qrcode { rootElement.appendChild(scannerPausedUiElement); this.scannerPausedUiElement = scannerPausedUiElement; } - + /** * Scans current context using the qrcode library. * @@ -1465,10 +1465,10 @@ export class Html5Qrcode { shadingElement.style.left = "0px"; shadingElement.style.right = "0px"; shadingElement.id = `${Constants.SHADED_REGION_ELEMENT_ID}`; - + // Check if div is too small for shadows. As there are two 5px width // borders the needs to have a size above 10px. - if ((width - qrboxSize.width) < 11 + if ((width - qrboxSize.width) < 11 || (height - qrboxSize.height) < 11) { this.hasBorderShaders = false; } else { @@ -1476,7 +1476,7 @@ export class Html5Qrcode { const largeSize = 40; this.insertShaderBorders( shadingElement, - /* width= */ largeSize, + /* width= */ largeSize, /* height= */ smallSize, /* top= */ -smallSize, /* bottom= */ null, diff --git a/node_modules/html5-qrcode/src/index.ts b/node_modules/html5-qrcode/src/index.ts index b985426..3f6c53a 100644 --- a/node_modules/html5-qrcode/src/index.ts +++ b/node_modules/html5-qrcode/src/index.ts @@ -26,7 +26,7 @@ export { } from "./core"; export { Html5QrcodeScannerState } from "./state-manager"; export { Html5QrcodeScanType } from "./core"; -export { +export { CameraCapabilities, CameraDevice } from "./camera/core"; diff --git a/node_modules/html5-qrcode/src/native-bar-code-detector.ts b/node_modules/html5-qrcode/src/native-bar-code-detector.ts index d9004d2..43e528b 100644 --- a/node_modules/html5-qrcode/src/native-bar-code-detector.ts +++ b/node_modules/html5-qrcode/src/native-bar-code-detector.ts @@ -1,12 +1,12 @@ /** * @fileoverview * {@interface QrcodeDecoder} wrapper around experimental BarcodeDetector API. - * + * * @author mebjas - * + * * Read more about the experimental feature here: * https://developer.mozilla.org/en-US/docs/Web/API/BarcodeDetector - * + * * The word "QR Code" is registered trademark of DENSO WAVE INCORPORATED * http://www.denso-wave.com/qrcode/faqpatent-e.html */ @@ -29,7 +29,7 @@ interface BarcodeDetectorConfig { /** * Interface for BarcodeDetector result. - * + * * Forked from * https://developer.mozilla.org/en-US/docs/Web/API/BarcodeDetector#methods */ @@ -49,7 +49,7 @@ interface BarcodeDetectorResult { cornerPoints: any; /** - * The detected barcode format. + * The detected barcode format. */ format: string; @@ -91,12 +91,12 @@ interface BarcodeDetectorResult { /** * Returns true if this API is supported by the browser. - * - * TODO(mebjas): Add checks like this + * + * TODO(mebjas): Add checks like this * https://web.dev/shape-detection/#featuredetection * TODO(mebjas): Check for format supported by the BarcodeDetector using * getSupportedFormats() API. - * @returns + * @returns */ public static isSupported(): boolean { if (!("BarcodeDetector" in window)) { diff --git a/node_modules/html5-qrcode/src/state-manager.ts b/node_modules/html5-qrcode/src/state-manager.ts index cf9d71d..b82c301 100644 --- a/node_modules/html5-qrcode/src/state-manager.ts +++ b/node_modules/html5-qrcode/src/state-manager.ts @@ -1,7 +1,7 @@ /** * @fileoverview * State handler. - * + * * @author mebjas */ @@ -36,11 +36,11 @@ export interface StateManager { /** * Start a transition to a new state. No other transitions will be allowed * till this one is executed. - * + * * @param newState new state to transition to. - * + * * @returns transaction of type {@interface StateManagerTransaction}. - * + * * @throws error if the new state is not a valid transition from current * state. */ @@ -48,9 +48,9 @@ export interface StateManager { /** * Directly execute a transition. - * + * * @param newState new state to transition to. - * + * * @throws error if the new state is not a valid transition from current * state. */ @@ -62,8 +62,8 @@ export interface StateManager { getState(): Html5QrcodeScannerState; } -/** - * Implementation of {@interface StateManager} and +/** + * Implementation of {@interface StateManager} and * {@interface StateManagerTransaction}. */ class StateManagerImpl implements StateManager, StateManagerTransaction { @@ -88,18 +88,18 @@ class StateManagerImpl implements StateManager, StateManagerTransaction { } public execute() { - if (this.onGoingTransactionNewState + if (this.onGoingTransactionNewState === Html5QrcodeScannerState.UNKNOWN) { throw "Transaction is already cancelled, cannot execute()."; } const tempNewState = this.onGoingTransactionNewState; this.onGoingTransactionNewState = Html5QrcodeScannerState.UNKNOWN; - this.directTransition(tempNewState); + this.directTransition(tempNewState); } public cancel() { - if (this.onGoingTransactionNewState + if (this.onGoingTransactionNewState === Html5QrcodeScannerState.UNKNOWN) { throw "Transaction is already cancelled, cannot cancel()."; } @@ -113,9 +113,9 @@ class StateManagerImpl implements StateManager, StateManagerTransaction { //#region private methods private failIfTransitionOngoing() { - if (this.onGoingTransactionNewState + if (this.onGoingTransactionNewState !== Html5QrcodeScannerState.UNKNOWN) { - throw "Cannot transition to a new state, already under transition"; + throw "Cannot transition to a new state, already under transition"; } } diff --git a/node_modules/html5-qrcode/src/storage.ts b/node_modules/html5-qrcode/src/storage.ts index 409cef9..5532b6a 100644 --- a/node_modules/html5-qrcode/src/storage.ts +++ b/node_modules/html5-qrcode/src/storage.ts @@ -1,9 +1,9 @@ /** * @fileoverview * Core storage related APIs. - * + * * @author mebjas - * + * * The word "QR Code" is registered trademark of DENSO WAVE INCORPORATED * http://www.denso-wave.com/qrcode/faqpatent-e.html */ diff --git a/node_modules/html5-qrcode/src/strings.ts b/node_modules/html5-qrcode/src/strings.ts index 3f701c1..7629b69 100644 --- a/node_modules/html5-qrcode/src/strings.ts +++ b/node_modules/html5-qrcode/src/strings.ts @@ -1,16 +1,16 @@ /** * @fileoverview * Strings used by {@class Html5Qrcode} & {@class Html5QrcodeScanner} - * + * * @author mebjas - * + * * The word "QR Code" is registered trademark of DENSO WAVE INCORPORATED * http://www.denso-wave.com/qrcode/faqpatent-e.html */ /** * Strings used in {@class Html5Qrcode}. - * + * * TODO(mebjas): Support internalization. */ export class Html5QrcodeStrings { @@ -49,7 +49,7 @@ export class Html5QrcodeStrings { /** * Strings used in {@class Html5QrcodeScanner}. - * + * * TODO(mebjas): Support internalization. */ export class Html5QrcodeScannerStrings { @@ -124,7 +124,7 @@ export class Html5QrcodeScannerStrings { /** * Text to show when camera scan is selected. - * + * * This will be used to switch to file based scanning. */ public static textIfCameraScanSelected(): string { @@ -133,7 +133,7 @@ export class Html5QrcodeScannerStrings { /** * Text to show when file based scan is selected. - * + * * This will be used to switch to camera based scanning. */ public static textIfFileScanSelected(): string { diff --git a/node_modules/html5-qrcode/src/ui.ts b/node_modules/html5-qrcode/src/ui.ts index ee331d5..1d7a5c3 100644 --- a/node_modules/html5-qrcode/src/ui.ts +++ b/node_modules/html5-qrcode/src/ui.ts @@ -1,7 +1,7 @@ /** * @fileoverview * All structured UI classes. - * + * * TODO(mebjas): Migrate all UI components to modular UI classes so they are * easy to improve. * TODO(mebjas): Add tests for all UI components. @@ -83,7 +83,7 @@ class LibraryInfoIcon { this.infoIcon = document.createElement("img"); } - + public renderInto(parent: HTMLElement) { this.infoIcon.alt = "Info icon"; this.infoIcon.src = ASSET_INFO_ICON_16PX; @@ -143,7 +143,7 @@ export class LibraryInfoContainer { this.infoDiv.hide(); }); } - + public renderInto(parent: HTMLElement) { this.infoDiv.renderInto(parent); this.infoIcon.renderInto(parent); diff --git a/node_modules/html5-qrcode/src/ui/scanner/base.ts b/node_modules/html5-qrcode/src/ui/scanner/base.ts index 0c328ca..87552f7 100644 --- a/node_modules/html5-qrcode/src/ui/scanner/base.ts +++ b/node_modules/html5-qrcode/src/ui/scanner/base.ts @@ -1,9 +1,9 @@ /** * @fileoverview * Contains base classes for different UI elements used in the scanner. - * + * * @author mebjas - * + * * The word "QR Code" is registered trademark of DENSO WAVE INCORPORATED * http://www.denso-wave.com/qrcode/faqpatent-e.html */ @@ -49,10 +49,10 @@ export class PublicUiElementIdAndClasses { //#region List of classes for specific use-cases. - /** Torch button class when torch is ON. */ + /** Torch button class when torch is ON. */ static TORCH_BUTTON_CLASS_TORCH_ON = "html5-qrcode-button-torch-on"; - /** Torch button class when torch is OFF. */ + /** Torch button class when torch is OFF. */ static TORCH_BUTTON_CLASS_TORCH_OFF = "html5-qrcode-button-torch-off"; //#endregion @@ -64,8 +64,8 @@ export class PublicUiElementIdAndClasses { export class BaseUiElementFactory { /** * Creates {@link HTMLElement} of given {@param elementType}. - * - * @param elementType Type of element to create, example + * + * @param elementType Type of element to create, example */ public static createElement( elementType: string, elementId: string): Type { diff --git a/node_modules/html5-qrcode/src/ui/scanner/camera-selection-ui.ts b/node_modules/html5-qrcode/src/ui/scanner/camera-selection-ui.ts index cda2b9b..fe075fa 100644 --- a/node_modules/html5-qrcode/src/ui/scanner/camera-selection-ui.ts +++ b/node_modules/html5-qrcode/src/ui/scanner/camera-selection-ui.ts @@ -1,9 +1,9 @@ /** * @fileoverview * File for camera selection UI. - * + * * @author mebjas - * + * * The word "QR Code" is registered trademark of DENSO WAVE INCORPORATED * http://www.denso-wave.com/qrcode/faqpatent-e.html */ @@ -30,7 +30,7 @@ export class CameraSelectionUi { "select", PublicUiElementIdAndClasses.CAMERA_SELECTION_SELECT_ID); this.cameras = cameras; - this.options = []; + this.options = []; } /*eslint complexity: ["error", 10]*/ diff --git a/node_modules/html5-qrcode/src/ui/scanner/camera-zoom-ui.ts b/node_modules/html5-qrcode/src/ui/scanner/camera-zoom-ui.ts index c49eecc..4ef7ed8 100644 --- a/node_modules/html5-qrcode/src/ui/scanner/camera-zoom-ui.ts +++ b/node_modules/html5-qrcode/src/ui/scanner/camera-zoom-ui.ts @@ -1,9 +1,9 @@ /** * @fileoverview * File for camera zooming UI. - * + * * @author mebjas - * + * * The word "QR Code" is registered trademark of DENSO WAVE INCORPORATED * http://www.denso-wave.com/qrcode/faqpatent-e.html */ @@ -113,7 +113,7 @@ export class CameraZoomUi { //#endregion /** - * Creates and renders the zoom slider if {@code renderOnCreate} is + * Creates and renders the zoom slider if {@code renderOnCreate} is * {@code true}. */ public static create( diff --git a/node_modules/html5-qrcode/src/ui/scanner/file-selection-ui.ts b/node_modules/html5-qrcode/src/ui/scanner/file-selection-ui.ts index ebf68f7..9f8113f 100644 --- a/node_modules/html5-qrcode/src/ui/scanner/file-selection-ui.ts +++ b/node_modules/html5-qrcode/src/ui/scanner/file-selection-ui.ts @@ -1,9 +1,9 @@ /** * @fileoverview * File for file selection UI handling. - * + * * @author mebjas - * + * * The word "QR Code" is registered trademark of DENSO WAVE INCORPORATED * http://www.denso-wave.com/qrcode/faqpatent-e.html */ @@ -41,7 +41,7 @@ export class FileSelectionUi { fileScanLabel.style.display = "inline-block"; this.fileBasedScanRegion.appendChild(fileScanLabel); - + this.fileSelectionButton = BaseUiElementFactory.createElement( "button", @@ -61,7 +61,7 @@ export class FileSelectionUi { this.fileScanInput.accept = "image/*"; this.fileScanInput.style.display = "none"; fileScanLabel.appendChild(this.fileScanInput); - + let $this = this; /*eslint complexity: ["error", 5]*/ this.fileScanInput.addEventListener("change", (e: Event) => { @@ -144,7 +144,7 @@ export class FileSelectionUi { = Html5QrcodeScannerStrings.dragAndDropMessage(); break; } - + // None of the files were images. if (!isAnyFileImage) { dragAndDropMessage.innerText @@ -244,12 +244,12 @@ export class FileSelectionUi { /** * Creates a file selection UI and renders. - * + * * @param parentElement parent div element to render the UI to. * @param showOnRender if {@code true}, the UI will be shown upon render * else hidden. * @param onFileSelected callback to be called when file selection changes. - * + * * @returns Instance of {@code FileSelectionUi}. */ public static create( @@ -260,4 +260,4 @@ export class FileSelectionUi { parentElement, showOnRender, onFileSelected); return button; } -} +} diff --git a/node_modules/html5-qrcode/src/ui/scanner/scan-type-selector.ts b/node_modules/html5-qrcode/src/ui/scanner/scan-type-selector.ts index d822e16..7930850 100644 --- a/node_modules/html5-qrcode/src/ui/scanner/scan-type-selector.ts +++ b/node_modules/html5-qrcode/src/ui/scanner/scan-type-selector.ts @@ -1,9 +1,9 @@ /** * @fileoverview * Util class to help with scan type selection in scanner class. - * + * * @author mebjas - * + * * The word "QR Code" is registered trademark of DENSO WAVE INCORPORATED * http://www.denso-wave.com/qrcode/faqpatent-e.html */ @@ -61,7 +61,7 @@ export class ScanTypeSelector { //#region Private methods. /** * Validates the input {@code supportedScanTypes}. - * + * * Fails early if the config values is incorrectly set. */ private validateAndReturnScanTypes( diff --git a/node_modules/html5-qrcode/src/ui/scanner/torch-button.ts b/node_modules/html5-qrcode/src/ui/scanner/torch-button.ts index f39cbe7..a049f27 100644 --- a/node_modules/html5-qrcode/src/ui/scanner/torch-button.ts +++ b/node_modules/html5-qrcode/src/ui/scanner/torch-button.ts @@ -1,9 +1,9 @@ /** * @fileoverview * File for torch related UI components and handling. - * + * * @author mebjas - * + * * The word "QR Code" is registered trademark of DENSO WAVE INCORPORATED * http://www.denso-wave.com/qrcode/faqpatent-e.html */ @@ -32,7 +32,7 @@ class TorchController { private readonly torchCapability: BooleanCameraCapability; private readonly buttonController: TorchButtonController; private readonly onTorchActionFailureCallback: OnTorchActionFailureCallback; - + // Mutable states. private isTorchOn: boolean = false; @@ -52,10 +52,10 @@ class TorchController { /** * Flips the state of the torch. - * + * *

Turns torch On if current state is Off and vice-versa. *

Modifies the UI state accordingly. - * + * * @returns Promise that finishes when the async action is done. */ public async flipState(): Promise { @@ -101,7 +101,7 @@ class TorchController { /** * Resets the state. - * + * *

Note: Doesn't turn off the torch implicitly. */ public reset() { @@ -121,7 +121,7 @@ export class TorchButton implements TorchButtonController { private readonly onTorchActionFailureCallback: OnTorchActionFailureCallback; private torchController: TorchController; - + private constructor( torchCapability: BooleanCameraCapability, onTorchActionFailureCallback: OnTorchActionFailureCallback) { @@ -150,7 +150,7 @@ export class TorchButton implements TorchButtonController { $this.torchButton.classList.remove( PublicUiElementIdAndClasses.TORCH_BUTTON_CLASS_TORCH_OFF); $this.torchButton.classList.add( - PublicUiElementIdAndClasses.TORCH_BUTTON_CLASS_TORCH_ON); + PublicUiElementIdAndClasses.TORCH_BUTTON_CLASS_TORCH_ON); } else { $this.torchButton.classList.remove( PublicUiElementIdAndClasses.TORCH_BUTTON_CLASS_TORCH_ON); @@ -196,7 +196,7 @@ export class TorchButton implements TorchButtonController { /** * Resets the state. - * + * *

Note: Doesn't turn off the torch implicitly. */ public reset() { @@ -206,7 +206,7 @@ export class TorchButton implements TorchButtonController { /** * Factory method for creating torch button. - * + * * @param parentElement parent HTML element to render torch button into * @param torchCapability torch capability of the camera * @param torchButtonOptions options for creating torch diff --git a/node_modules/html5-qrcode/src/utils.ts b/node_modules/html5-qrcode/src/utils.ts index a0e81f5..1899044 100644 --- a/node_modules/html5-qrcode/src/utils.ts +++ b/node_modules/html5-qrcode/src/utils.ts @@ -1,9 +1,9 @@ /** * @fileoverview * Utils used by {@class Html5Qrcode} & {@class Html5QrcodeScanner} - * + * * @author mebjas - * + * * The word "QR Code" is registered trademark of DENSO WAVE INCORPORATED * http://www.denso-wave.com/qrcode/faqpatent-e.html */ diff --git a/node_modules/html5-qrcode/src/zxing-html5-qrcode-decoder.ts b/node_modules/html5-qrcode/src/zxing-html5-qrcode-decoder.ts index a021d5d..a1e10b0 100644 --- a/node_modules/html5-qrcode/src/zxing-html5-qrcode-decoder.ts +++ b/node_modules/html5-qrcode/src/zxing-html5-qrcode-decoder.ts @@ -1,11 +1,11 @@ /** * @fileoverview * {@interface QrcodeDecoder} wrapper around ZXing library. - * + * * @author mebjas - * + * * ZXing library forked from https://github.com/zxing-js/library. - * + * * The word "QR Code" is registered trademark of DENSO WAVE INCORPORATED * http://www.denso-wave.com/qrcode/faqpatent-e.html */ diff --git a/node_modules/html5-qrcode/third_party/zxing-js.umd.js b/node_modules/html5-qrcode/third_party/zxing-js.umd.js index 6cb3d6f..f1eb696 100644 --- a/node_modules/html5-qrcode/third_party/zxing-js.umd.js +++ b/node_modules/html5-qrcode/third_party/zxing-js.umd.js @@ -61,7 +61,7 @@ fixStack(_this); return _this; } - + return CustomError; })(Error); @@ -717,7 +717,7 @@ * @param start start of range, inclusive. * @param end end of range, exclusive * @param value if true, checks that bits in range are set, otherwise checks that they are not set - * + * * @return true iff all bits are set or not set in range, according to value argument * @throws IllegalArgumentException if end is less than start or the range is not contained in the array */ @@ -7500,7 +7500,7 @@ } // See ITFWriter.PATTERNS /* - + /!** * Patterns of Wide / Narrow lines to indicate each digit *!/ @@ -15661,13 +15661,13 @@ * width of each, measuring along the axis between their centers.

*/ calculateModuleSizeOneWay(pattern, otherPattern) { - const moduleSizeEst1 = this.sizeOfBlackWhiteBlackRunBothWays(/*(int) */ Math.floor(pattern.getX()), - /*(int) */ Math.floor(pattern.getY()), - /*(int) */ Math.floor(otherPattern.getX()), + const moduleSizeEst1 = this.sizeOfBlackWhiteBlackRunBothWays(/*(int) */ Math.floor(pattern.getX()), + /*(int) */ Math.floor(pattern.getY()), + /*(int) */ Math.floor(otherPattern.getX()), /*(int) */ Math.floor(otherPattern.getY())); - const moduleSizeEst2 = this.sizeOfBlackWhiteBlackRunBothWays(/*(int) */ Math.floor(otherPattern.getX()), - /*(int) */ Math.floor(otherPattern.getY()), - /*(int) */ Math.floor(pattern.getX()), + const moduleSizeEst2 = this.sizeOfBlackWhiteBlackRunBothWays(/*(int) */ Math.floor(otherPattern.getX()), + /*(int) */ Math.floor(otherPattern.getY()), + /*(int) */ Math.floor(pattern.getX()), /*(int) */ Math.floor(pattern.getY())); if (isNaN(moduleSizeEst1)) { return moduleSizeEst2 / 7.0; @@ -16966,13 +16966,13 @@ if (other.isZero()) { throw new IllegalArgumentException("Divide by 0"); } - + let quotient: ModulusPoly = field.getZero(); let remainder: ModulusPoly = this; - + let denominatorLeadingTerm: /*int/ number = other.getCoefficient(other.getDegree()); let inverseDenominatorLeadingTerm: /*int/ number = field.inverse(denominatorLeadingTerm); - + while (remainder.getDegree() >= other.getDegree() && !remainder.isZero()) { let degreeDifference: /*int/ number = remainder.getDegree() - other.getDegree(); let scale: /*int/ number = field.multiply(remainder.getCoefficient(remainder.getDegree()), inverseDenominatorLeadingTerm); @@ -16981,7 +16981,7 @@ quotient = quotient.add(iterationQuotient); remainder = remainder.subtract(term); } - + return new ModulusPoly[] { quotient, remainder }; } */ @@ -20453,7 +20453,7 @@ class MultiFormatReader { /** * Creates an instance of this class - * + * * @param {Boolean} verbose if 'true' logs will be dumped to console, otherwise hidden. * @param hints The hints to use, clearing the previous state. */ diff --git a/node_modules/is-glob/README.md b/node_modules/is-glob/README.md index 740724b..6b46be3 100644 --- a/node_modules/is-glob/README.md +++ b/node_modules/is-glob/README.md @@ -180,13 +180,13 @@ You might also be interested in these projects: ### Contributors -| **Commits** | **Contributor** | -| --- | --- | -| 47 | [jonschlinkert](https://github.com/jonschlinkert) | -| 5 | [doowb](https://github.com/doowb) | -| 1 | [phated](https://github.com/phated) | -| 1 | [danhper](https://github.com/danhper) | -| 1 | [paulmillr](https://github.com/paulmillr) | +| **Commits** | **Contributor** | +| --- | --- | +| 47 | [jonschlinkert](https://github.com/jonschlinkert) | +| 5 | [doowb](https://github.com/doowb) | +| 1 | [phated](https://github.com/phated) | +| 1 | [danhper](https://github.com/danhper) | +| 1 | [paulmillr](https://github.com/paulmillr) | ### Author diff --git a/node_modules/is-number/README.md b/node_modules/is-number/README.md index eb8149e..0b23a5c 100644 --- a/node_modules/is-number/README.md +++ b/node_modules/is-number/README.md @@ -162,7 +162,7 @@ You might also be interested in these projects: ### Contributors -| **Commits** | **Contributor** | +| **Commits** | **Contributor** | | --- | --- | | 49 | [jonschlinkert](https://github.com/jonschlinkert) | | 5 | [charlike-old](https://github.com/charlike-old) | diff --git a/node_modules/lru-cache/dist/commonjs/index.js b/node_modules/lru-cache/dist/commonjs/index.js index 0589231..9df0f71 100644 --- a/node_modules/lru-cache/dist/commonjs/index.js +++ b/node_modules/lru-cache/dist/commonjs/index.js @@ -1254,11 +1254,11 @@ class LRUCache { b.__abortController instanceof AC); } async fetch(k, fetchOptions = {}) { - const { + const { // get options - allowStale = this.allowStale, updateAgeOnGet = this.updateAgeOnGet, noDeleteOnStaleGet = this.noDeleteOnStaleGet, + allowStale = this.allowStale, updateAgeOnGet = this.updateAgeOnGet, noDeleteOnStaleGet = this.noDeleteOnStaleGet, // set options - ttl = this.ttl, noDisposeOnSet = this.noDisposeOnSet, size = 0, sizeCalculation = this.sizeCalculation, noUpdateTTL = this.noUpdateTTL, + ttl = this.ttl, noDisposeOnSet = this.noDisposeOnSet, size = 0, sizeCalculation = this.sizeCalculation, noUpdateTTL = this.noUpdateTTL, // fetch exclusive options noDeleteOnFetchRejection = this.noDeleteOnFetchRejection, allowStaleOnFetchRejection = this.allowStaleOnFetchRejection, ignoreFetchAbort = this.ignoreFetchAbort, allowStaleOnFetchAbort = this.allowStaleOnFetchAbort, context, forceRefresh = false, status, signal, } = fetchOptions; if (!this.#hasFetchMethod) { diff --git a/node_modules/lru-cache/dist/esm/index.js b/node_modules/lru-cache/dist/esm/index.js index 555654a..649304a 100644 --- a/node_modules/lru-cache/dist/esm/index.js +++ b/node_modules/lru-cache/dist/esm/index.js @@ -1251,11 +1251,11 @@ export class LRUCache { b.__abortController instanceof AC); } async fetch(k, fetchOptions = {}) { - const { + const { // get options - allowStale = this.allowStale, updateAgeOnGet = this.updateAgeOnGet, noDeleteOnStaleGet = this.noDeleteOnStaleGet, + allowStale = this.allowStale, updateAgeOnGet = this.updateAgeOnGet, noDeleteOnStaleGet = this.noDeleteOnStaleGet, // set options - ttl = this.ttl, noDisposeOnSet = this.noDisposeOnSet, size = 0, sizeCalculation = this.sizeCalculation, noUpdateTTL = this.noUpdateTTL, + ttl = this.ttl, noDisposeOnSet = this.noDisposeOnSet, size = 0, sizeCalculation = this.sizeCalculation, noUpdateTTL = this.noUpdateTTL, // fetch exclusive options noDeleteOnFetchRejection = this.noDeleteOnFetchRejection, allowStaleOnFetchRejection = this.allowStaleOnFetchRejection, ignoreFetchAbort = this.ignoreFetchAbort, allowStaleOnFetchAbort = this.allowStaleOnFetchAbort, context, forceRefresh = false, status, signal, } = fetchOptions; if (!this.#hasFetchMethod) { diff --git a/node_modules/micromatch/README.md b/node_modules/micromatch/README.md index d72a059..77391f9 100644 --- a/node_modules/micromatch/README.md +++ b/node_modules/micromatch/README.md @@ -971,40 +971,40 @@ You might also be interested in these projects: ### Contributors -| **Commits** | **Contributor** | -| --- | --- | -| 523 | [jonschlinkert](https://github.com/jonschlinkert) | -| 12 | [es128](https://github.com/es128) | -| 9 | [danez](https://github.com/danez) | -| 8 | [doowb](https://github.com/doowb) | -| 6 | [paulmillr](https://github.com/paulmillr) | -| 5 | [mrmlnc](https://github.com/mrmlnc) | -| 3 | [DrPizza](https://github.com/DrPizza) | -| 2 | [Tvrqvoise](https://github.com/Tvrqvoise) | -| 2 | [antonyk](https://github.com/antonyk) | -| 2 | [MartinKolarik](https://github.com/MartinKolarik) | -| 2 | [Glazy](https://github.com/Glazy) | -| 2 | [mceIdo](https://github.com/mceIdo) | -| 2 | [TrySound](https://github.com/TrySound) | -| 1 | [yvele](https://github.com/yvele) | -| 1 | [wtgtybhertgeghgtwtg](https://github.com/wtgtybhertgeghgtwtg) | -| 1 | [simlu](https://github.com/simlu) | -| 1 | [curbengh](https://github.com/curbengh) | -| 1 | [fidian](https://github.com/fidian) | -| 1 | [tomByrer](https://github.com/tomByrer) | -| 1 | [ZoomerTedJackson](https://github.com/ZoomerTedJackson) | -| 1 | [styfle](https://github.com/styfle) | -| 1 | [sebdeckers](https://github.com/sebdeckers) | -| 1 | [muescha](https://github.com/muescha) | -| 1 | [juszczykjakub](https://github.com/juszczykjakub) | -| 1 | [joyceerhl](https://github.com/joyceerhl) | -| 1 | [donatj](https://github.com/donatj) | -| 1 | [frangio](https://github.com/frangio) | -| 1 | [UltCombo](https://github.com/UltCombo) | -| 1 | [DianeLooney](https://github.com/DianeLooney) | -| 1 | [devongovett](https://github.com/devongovett) | -| 1 | [Cslove](https://github.com/Cslove) | -| 1 | [amilajack](https://github.com/amilajack) | +| **Commits** | **Contributor** | +| --- | --- | +| 523 | [jonschlinkert](https://github.com/jonschlinkert) | +| 12 | [es128](https://github.com/es128) | +| 9 | [danez](https://github.com/danez) | +| 8 | [doowb](https://github.com/doowb) | +| 6 | [paulmillr](https://github.com/paulmillr) | +| 5 | [mrmlnc](https://github.com/mrmlnc) | +| 3 | [DrPizza](https://github.com/DrPizza) | +| 2 | [Tvrqvoise](https://github.com/Tvrqvoise) | +| 2 | [antonyk](https://github.com/antonyk) | +| 2 | [MartinKolarik](https://github.com/MartinKolarik) | +| 2 | [Glazy](https://github.com/Glazy) | +| 2 | [mceIdo](https://github.com/mceIdo) | +| 2 | [TrySound](https://github.com/TrySound) | +| 1 | [yvele](https://github.com/yvele) | +| 1 | [wtgtybhertgeghgtwtg](https://github.com/wtgtybhertgeghgtwtg) | +| 1 | [simlu](https://github.com/simlu) | +| 1 | [curbengh](https://github.com/curbengh) | +| 1 | [fidian](https://github.com/fidian) | +| 1 | [tomByrer](https://github.com/tomByrer) | +| 1 | [ZoomerTedJackson](https://github.com/ZoomerTedJackson) | +| 1 | [styfle](https://github.com/styfle) | +| 1 | [sebdeckers](https://github.com/sebdeckers) | +| 1 | [muescha](https://github.com/muescha) | +| 1 | [juszczykjakub](https://github.com/juszczykjakub) | +| 1 | [joyceerhl](https://github.com/joyceerhl) | +| 1 | [donatj](https://github.com/donatj) | +| 1 | [frangio](https://github.com/frangio) | +| 1 | [UltCombo](https://github.com/UltCombo) | +| 1 | [DianeLooney](https://github.com/DianeLooney) | +| 1 | [devongovett](https://github.com/devongovett) | +| 1 | [Cslove](https://github.com/Cslove) | +| 1 | [amilajack](https://github.com/amilajack) | ### Author diff --git a/node_modules/minimatch/dist/commonjs/ast.js b/node_modules/minimatch/dist/commonjs/ast.js index 7b21096..9e1f9e7 100644 --- a/node_modules/minimatch/dist/commonjs/ast.js +++ b/node_modules/minimatch/dist/commonjs/ast.js @@ -438,7 +438,7 @@ class AST { const aps = addPatternStart; // check if we have a possibility of matching . or .., // and prevent that. - const needNoTrav = + const needNoTrav = // dots are allowed, and the pattern starts with [ or . (dot && aps.has(src.charAt(0))) || // the pattern starts with \., and then [ or . diff --git a/node_modules/minimatch/dist/esm/ast.js b/node_modules/minimatch/dist/esm/ast.js index 2d2bced..02c6bda 100644 --- a/node_modules/minimatch/dist/esm/ast.js +++ b/node_modules/minimatch/dist/esm/ast.js @@ -435,7 +435,7 @@ export class AST { const aps = addPatternStart; // check if we have a possibility of matching . or .., // and prevent that. - const needNoTrav = + const needNoTrav = // dots are allowed, and the pattern starts with [ or . (dot && aps.has(src.charAt(0))) || // the pattern starts with \., and then [ or . diff --git a/node_modules/normalize-path/README.md b/node_modules/normalize-path/README.md index 726d4d6..d5565c4 100644 --- a/node_modules/normalize-path/README.md +++ b/node_modules/normalize-path/README.md @@ -17,17 +17,17 @@ $ npm install --save normalize-path ```js const normalize = require('normalize-path'); -console.log(normalize('\\foo\\bar\\baz\\')); +console.log(normalize('\\foo\\bar\\baz\\')); //=> '/foo/bar/baz' ``` **win32 namespaces** ```js -console.log(normalize('\\\\?\\UNC\\Server01\\user\\docs\\Letter.txt')); +console.log(normalize('\\\\?\\UNC\\Server01\\user\\docs\\Letter.txt')); //=> '//?/UNC/Server01/user/docs/Letter.txt' -console.log(normalize('\\\\.\\CdRomX')); +console.log(normalize('\\\\.\\CdRomX')); //=> '//./CdRomX' ``` @@ -36,7 +36,7 @@ console.log(normalize('\\\\.\\CdRomX')); Condenses multiple consecutive forward slashes (except for leading slashes in win32 namespaces) to a single slash. ```js -console.log(normalize('.//foo//bar///////baz/')); +console.log(normalize('.//foo//bar///////baz/')); //=> './foo/bar/baz' ``` @@ -104,7 +104,7 @@ Other useful path-related libraries: ### Contributors -| **Commits** | **Contributor** | +| **Commits** | **Contributor** | | --- | --- | | 35 | [jonschlinkert](https://github.com/jonschlinkert) | | 1 | [phated](https://github.com/phated) | diff --git a/node_modules/object-hash/LICENSE b/node_modules/object-hash/LICENSE index 6ea185f..2c7f4d2 100644 --- a/node_modules/object-hash/LICENSE +++ b/node_modules/object-hash/LICENSE @@ -19,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - diff --git a/node_modules/pako/dist/pako.js b/node_modules/pako/dist/pako.js index 0c4968d..831e3f8 100644 --- a/node_modules/pako/dist/pako.js +++ b/node_modules/pako/dist/pako.js @@ -1185,11 +1185,11 @@ var _tr_align_1 = _tr_align$1; var trees = { - _tr_init: _tr_init_1, - _tr_stored_block: _tr_stored_block_1, - _tr_flush_block: _tr_flush_block_1, - _tr_tally: _tr_tally_1, - _tr_align: _tr_align_1 + _tr_init: _tr_init_1, + _tr_stored_block: _tr_stored_block_1, + _tr_flush_block: _tr_flush_block_1, + _tr_tally: _tr_tally_1, + _tr_align: _tr_align_1 }; // Note: adler32 takes 12% for level 0 and 2% for level 6. @@ -3446,15 +3446,15 @@ */ var deflate_1$2 = { - deflateInit: deflateInit_1, - deflateInit2: deflateInit2_1, - deflateReset: deflateReset_1, - deflateResetKeep: deflateResetKeep_1, - deflateSetHeader: deflateSetHeader_1, - deflate: deflate_2$1, - deflateEnd: deflateEnd_1, - deflateSetDictionary: deflateSetDictionary_1, - deflateInfo: deflateInfo + deflateInit: deflateInit_1, + deflateInit2: deflateInit2_1, + deflateReset: deflateReset_1, + deflateResetKeep: deflateResetKeep_1, + deflateSetHeader: deflateSetHeader_1, + deflate: deflate_2$1, + deflateEnd: deflateEnd_1, + deflateSetDictionary: deflateSetDictionary_1, + deflateInfo: deflateInfo }; const _has = (obj, key) => { @@ -3504,8 +3504,8 @@ }; var common = { - assign: assign, - flattenChunks: flattenChunks + assign: assign, + flattenChunks: flattenChunks }; // String encode/decode helpers @@ -3683,9 +3683,9 @@ }; var strings = { - string2buf: string2buf, - buf2string: buf2string, - utf8border: utf8border + string2buf: string2buf, + buf2string: buf2string, + utf8border: utf8border }; // (C) 1995-2013 Jean-loup Gailly and Mark Adler @@ -4107,11 +4107,11 @@ var constants$1 = constants$2; var deflate_1$1 = { - Deflate: Deflate_1$1, - deflate: deflate_2, - deflateRaw: deflateRaw_1$1, - gzip: gzip_1$1, - constants: constants$1 + Deflate: Deflate_1$1, + deflate: deflate_2, + deflateRaw: deflateRaw_1$1, + gzip: gzip_1$1, + constants: constants$1 }; // (C) 1995-2013 Jean-loup Gailly and Mark Adler @@ -6365,16 +6365,16 @@ */ var inflate_1$2 = { - inflateReset: inflateReset_1, - inflateReset2: inflateReset2_1, - inflateResetKeep: inflateResetKeep_1, - inflateInit: inflateInit_1, - inflateInit2: inflateInit2_1, - inflate: inflate_2$1, - inflateEnd: inflateEnd_1, - inflateGetHeader: inflateGetHeader_1, - inflateSetDictionary: inflateSetDictionary_1, - inflateInfo: inflateInfo + inflateReset: inflateReset_1, + inflateReset2: inflateReset2_1, + inflateResetKeep: inflateResetKeep_1, + inflateInit: inflateInit_1, + inflateInit2: inflateInit2_1, + inflate: inflate_2$1, + inflateEnd: inflateEnd_1, + inflateGetHeader: inflateGetHeader_1, + inflateSetDictionary: inflateSetDictionary_1, + inflateInfo: inflateInfo }; // (C) 1995-2013 Jean-loup Gailly and Mark Adler @@ -6845,11 +6845,11 @@ var constants = constants$2; var inflate_1$1 = { - Inflate: Inflate_1$1, - inflate: inflate_2, - inflateRaw: inflateRaw_1$1, - ungzip: ungzip$1, - constants: constants + Inflate: Inflate_1$1, + inflate: inflate_2, + inflateRaw: inflateRaw_1$1, + ungzip: ungzip$1, + constants: constants }; const { Deflate, deflate, deflateRaw, gzip } = deflate_1$1; @@ -6869,15 +6869,15 @@ var constants_1 = constants$2; var pako = { - Deflate: Deflate_1, - deflate: deflate_1, - deflateRaw: deflateRaw_1, - gzip: gzip_1, - Inflate: Inflate_1, - inflate: inflate_1, - inflateRaw: inflateRaw_1, - ungzip: ungzip_1, - constants: constants_1 + Deflate: Deflate_1, + deflate: deflate_1, + deflateRaw: deflateRaw_1, + gzip: gzip_1, + Inflate: Inflate_1, + inflate: inflate_1, + inflateRaw: inflateRaw_1, + ungzip: ungzip_1, + constants: constants_1 }; exports.Deflate = Deflate_1; diff --git a/node_modules/pako/dist/pako_deflate.js b/node_modules/pako/dist/pako_deflate.js index 19c3e15..6803d21 100644 --- a/node_modules/pako/dist/pako_deflate.js +++ b/node_modules/pako/dist/pako_deflate.js @@ -1185,11 +1185,11 @@ var _tr_align_1 = _tr_align$1; var trees = { - _tr_init: _tr_init_1, - _tr_stored_block: _tr_stored_block_1, - _tr_flush_block: _tr_flush_block_1, - _tr_tally: _tr_tally_1, - _tr_align: _tr_align_1 + _tr_init: _tr_init_1, + _tr_stored_block: _tr_stored_block_1, + _tr_flush_block: _tr_flush_block_1, + _tr_tally: _tr_tally_1, + _tr_align: _tr_align_1 }; // Note: adler32 takes 12% for level 0 and 2% for level 6. @@ -3446,15 +3446,15 @@ */ var deflate_1$1 = { - deflateInit: deflateInit_1, - deflateInit2: deflateInit2_1, - deflateReset: deflateReset_1, - deflateResetKeep: deflateResetKeep_1, - deflateSetHeader: deflateSetHeader_1, - deflate: deflate_2$1, - deflateEnd: deflateEnd_1, - deflateSetDictionary: deflateSetDictionary_1, - deflateInfo: deflateInfo + deflateInit: deflateInit_1, + deflateInit2: deflateInit2_1, + deflateReset: deflateReset_1, + deflateResetKeep: deflateResetKeep_1, + deflateSetHeader: deflateSetHeader_1, + deflate: deflate_2$1, + deflateEnd: deflateEnd_1, + deflateSetDictionary: deflateSetDictionary_1, + deflateInfo: deflateInfo }; const _has = (obj, key) => { @@ -3504,8 +3504,8 @@ }; var common = { - assign: assign, - flattenChunks: flattenChunks + assign: assign, + flattenChunks: flattenChunks }; // String encode/decode helpers @@ -3683,9 +3683,9 @@ }; var strings = { - string2buf: string2buf, - buf2string: buf2string, - utf8border: utf8border + string2buf: string2buf, + buf2string: buf2string, + utf8border: utf8border }; // (C) 1995-2013 Jean-loup Gailly and Mark Adler @@ -4107,11 +4107,11 @@ var constants = constants$1; var deflate_1 = { - Deflate: Deflate_1, - deflate: deflate_2, - deflateRaw: deflateRaw_1, - gzip: gzip_1, - constants: constants + Deflate: Deflate_1, + deflate: deflate_2, + deflateRaw: deflateRaw_1, + gzip: gzip_1, + constants: constants }; exports.Deflate = Deflate_1; diff --git a/node_modules/pako/dist/pako_inflate.js b/node_modules/pako/dist/pako_inflate.js index 1a98d50..a63b670 100644 --- a/node_modules/pako/dist/pako_inflate.js +++ b/node_modules/pako/dist/pako_inflate.js @@ -2432,16 +2432,16 @@ */ var inflate_1$1 = { - inflateReset: inflateReset_1, - inflateReset2: inflateReset2_1, - inflateResetKeep: inflateResetKeep_1, - inflateInit: inflateInit_1, - inflateInit2: inflateInit2_1, - inflate: inflate_2$1, - inflateEnd: inflateEnd_1, - inflateGetHeader: inflateGetHeader_1, - inflateSetDictionary: inflateSetDictionary_1, - inflateInfo: inflateInfo + inflateReset: inflateReset_1, + inflateReset2: inflateReset2_1, + inflateResetKeep: inflateResetKeep_1, + inflateInit: inflateInit_1, + inflateInit2: inflateInit2_1, + inflate: inflate_2$1, + inflateEnd: inflateEnd_1, + inflateGetHeader: inflateGetHeader_1, + inflateSetDictionary: inflateSetDictionary_1, + inflateInfo: inflateInfo }; const _has = (obj, key) => { @@ -2491,8 +2491,8 @@ }; var common = { - assign: assign, - flattenChunks: flattenChunks + assign: assign, + flattenChunks: flattenChunks }; // String encode/decode helpers @@ -2670,9 +2670,9 @@ }; var strings = { - string2buf: string2buf, - buf2string: buf2string, - utf8border: utf8border + string2buf: string2buf, + buf2string: buf2string, + utf8border: utf8border }; // (C) 1995-2013 Jean-loup Gailly and Mark Adler @@ -3220,11 +3220,11 @@ var constants = constants$1; var inflate_1 = { - Inflate: Inflate_1, - inflate: inflate_2, - inflateRaw: inflateRaw_1, - ungzip: ungzip, - constants: constants + Inflate: Inflate_1, + inflate: inflate_2, + inflateRaw: inflateRaw_1, + ungzip: ungzip, + constants: constants }; exports.Inflate = Inflate_1; diff --git a/node_modules/path-parse/index.js b/node_modules/path-parse/index.js index f062d0a..ffb22a1 100644 --- a/node_modules/path-parse/index.js +++ b/node_modules/path-parse/index.js @@ -55,7 +55,7 @@ posix.parse = function(pathString) { if (!allParts || allParts.length !== 5) { throw new TypeError("Invalid path '" + pathString + "'"); } - + return { root: allParts[1], dir: allParts[0].slice(0, -1), diff --git a/node_modules/pify/readme.md b/node_modules/pify/readme.md index c79ca8b..97aeeb6 100644 --- a/node_modules/pify/readme.md +++ b/node_modules/pify/readme.md @@ -56,7 +56,7 @@ Check out [`pinkie-promise`](https://github.com/floatdrop/pinkie-promise) if you ##### multiArgs -Type: `boolean` +Type: `boolean` Default: `false` By default, the promisified function will only return the second argument from the callback, which works fine for most APIs. This option can be useful for modules like `request` that return multiple arguments. Turning this on will make it return an array of all arguments from the callback, excluding the error argument, instead of just the second argument. @@ -78,14 +78,14 @@ Methods in a module to promisify. Remaining methods will be left untouched. ##### exclude -Type: `array` of (`string`|`regex`) +Type: `array` of (`string`|`regex`) Default: `[/.+Sync$/]` Methods in a module **not** to promisify. Methods with names ending with `'Sync'` are excluded by default. ##### excludeMain -Type: `boolean` +Type: `boolean` Default: `false` By default, if given module is a function itself, this function will be promisified. Turn this option on if you want to promisify only methods of the module. diff --git a/node_modules/pngjs/coverage/lcov-report/bitmapper.js.html b/node_modules/pngjs/coverage/lcov-report/bitmapper.js.html index bafa89b..de7bba0 100644 --- a/node_modules/pngjs/coverage/lcov-report/bitmapper.js.html +++ b/node_modules/pngjs/coverage/lcov-report/bitmapper.js.html @@ -15,41 +15,41 @@ } - +

All files bitmapper.js

- +
94.37% Statements 134/142
- - + +
72.41% Branches 21/29
- - + +
89.47% Functions 17/19
- - + +
94.16% Lines 129/137
- - + +

Press n or j to go to the next uncovered block, b, p or k for the previous block. @@ -878,4 +878,3 @@

All files bitmapper.js

- \ No newline at end of file diff --git a/node_modules/pngjs/coverage/lcov-report/bitpacker.js.html b/node_modules/pngjs/coverage/lcov-report/bitpacker.js.html index 50cca23..195b812 100644 --- a/node_modules/pngjs/coverage/lcov-report/bitpacker.js.html +++ b/node_modules/pngjs/coverage/lcov-report/bitpacker.js.html @@ -15,41 +15,41 @@ } - +

All files bitpacker.js

- +
11.36% Statements 10/88
- - + +
6.12% Branches 3/49
- - + +
66.67% Functions 2/3
- - + +
11.63% Lines 10/86
- - + +

Press n or j to go to the next uncovered block, b, p or k for the previous block. @@ -551,4 +551,3 @@

All files bitpacker.js

- \ No newline at end of file diff --git a/node_modules/pngjs/coverage/lcov-report/chunkstream.js.html b/node_modules/pngjs/coverage/lcov-report/chunkstream.js.html index 552ffba..b14f319 100644 --- a/node_modules/pngjs/coverage/lcov-report/chunkstream.js.html +++ b/node_modules/pngjs/coverage/lcov-report/chunkstream.js.html @@ -15,41 +15,41 @@ } - +

All files chunkstream.js

- +
90.11% Statements 82/91
- - + +
81.4% Branches 35/43
- - + +
100% Functions 10/10
- - + +
90.11% Lines 82/91
- - + +

Press n or j to go to the next uncovered block, b, p or k for the previous block. @@ -644,4 +644,3 @@

All files chunkstream.js

- \ No newline at end of file diff --git a/node_modules/pngjs/coverage/lcov-report/constants.js.html b/node_modules/pngjs/coverage/lcov-report/constants.js.html index a6edd80..95cf18d 100644 --- a/node_modules/pngjs/coverage/lcov-report/constants.js.html +++ b/node_modules/pngjs/coverage/lcov-report/constants.js.html @@ -15,41 +15,41 @@ } - +

All files constants.js

- +
100% Statements 1/1
- - + +
100% Branches 0/0
- - + +
100% Functions 0/0
- - + +
100% Lines 1/1
- - + +

Press n or j to go to the next uncovered block, b, p or k for the previous block. @@ -173,4 +173,3 @@

All files constants.js

- \ No newline at end of file diff --git a/node_modules/pngjs/coverage/lcov-report/crc.js.html b/node_modules/pngjs/coverage/lcov-report/crc.js.html index 53fc72a..1fdb957 100644 --- a/node_modules/pngjs/coverage/lcov-report/crc.js.html +++ b/node_modules/pngjs/coverage/lcov-report/crc.js.html @@ -15,41 +15,41 @@ } - +

All files crc.js

- +
100% Statements 26/26
- - + +
100% Branches 2/2
- - + +
100% Functions 5/5
- - + +
100% Lines 22/22
- - + +

Press n or j to go to the next uncovered block, b, p or k for the previous block. @@ -197,4 +197,3 @@

All files crc.js

- \ No newline at end of file diff --git a/node_modules/pngjs/coverage/lcov-report/filter-pack.js.html b/node_modules/pngjs/coverage/lcov-report/filter-pack.js.html index e718a1a..e49387b 100644 --- a/node_modules/pngjs/coverage/lcov-report/filter-pack.js.html +++ b/node_modules/pngjs/coverage/lcov-report/filter-pack.js.html @@ -15,41 +15,41 @@ } - +

All files filter-pack.js

- +
95.83% Statements 92/96
- - + +
81.82% Branches 36/44
- - + +
100% Functions 11/11
- - + +
95.24% Lines 80/84
- - + +

Press n or j to go to the next uncovered block, b, p or k for the previous block. @@ -590,4 +590,3 @@

All files filter-pack.js

- \ No newline at end of file diff --git a/node_modules/pngjs/coverage/lcov-report/filter-parse-async.js.html b/node_modules/pngjs/coverage/lcov-report/filter-parse-async.js.html index 06f25f1..30096d5 100644 --- a/node_modules/pngjs/coverage/lcov-report/filter-parse-async.js.html +++ b/node_modules/pngjs/coverage/lcov-report/filter-parse-async.js.html @@ -15,41 +15,41 @@ } - +

All files filter-parse-async.js

- +
100% Statements 12/12
- - + +
100% Branches 0/0
- - + +
100% Functions 3/3
- - + +
100% Lines 12/12
- - + +

Press n or j to go to the next uncovered block, b, p or k for the previous block. @@ -149,4 +149,3 @@

All files filter-parse-async.js

- \ No newline at end of file diff --git a/node_modules/pngjs/coverage/lcov-report/filter-parse-sync.js.html b/node_modules/pngjs/coverage/lcov-report/filter-parse-sync.js.html index df91a35..085a159 100644 --- a/node_modules/pngjs/coverage/lcov-report/filter-parse-sync.js.html +++ b/node_modules/pngjs/coverage/lcov-report/filter-parse-sync.js.html @@ -15,41 +15,41 @@ } - +

All files filter-parse-sync.js

- +
100% Statements 10/10
- - + +
100% Branches 0/0
- - + +
100% Functions 3/3
- - + +
100% Lines 10/10
- - + +

Press n or j to go to the next uncovered block, b, p or k for the previous block. @@ -140,4 +140,3 @@

All files filter-parse-sync.js

- \ No newline at end of file diff --git a/node_modules/pngjs/coverage/lcov-report/filter-parse.js.html b/node_modules/pngjs/coverage/lcov-report/filter-parse.js.html index 945757c..eec0c9f 100644 --- a/node_modules/pngjs/coverage/lcov-report/filter-parse.js.html +++ b/node_modules/pngjs/coverage/lcov-report/filter-parse.js.html @@ -15,41 +15,41 @@ } - +

All files filter-parse.js

- +
98.96% Statements 95/96
- - + +
97.14% Branches 34/35
- - + +
100% Functions 8/8
- - + +
98.9% Lines 90/91
- - + +

Press n or j to go to the next uncovered block, b, p or k for the previous block. @@ -608,4 +608,3 @@

All files filter-parse.js

- \ No newline at end of file diff --git a/node_modules/pngjs/coverage/lcov-report/format-normaliser.js.html b/node_modules/pngjs/coverage/lcov-report/format-normaliser.js.html index c61afcf..8e81545 100644 --- a/node_modules/pngjs/coverage/lcov-report/format-normaliser.js.html +++ b/node_modules/pngjs/coverage/lcov-report/format-normaliser.js.html @@ -15,41 +15,41 @@ } - +

All files format-normaliser.js

- +
98.21% Statements 55/56
- - + +
95.24% Branches 20/21
- - + +
100% Functions 4/4
- - + +
97.87% Lines 46/47
- - + +

Press n or j to go to the next uncovered block, b, p or k for the previous block. @@ -356,4 +356,3 @@

All files format-normaliser.js

- \ No newline at end of file diff --git a/node_modules/pngjs/coverage/lcov-report/index.html b/node_modules/pngjs/coverage/lcov-report/index.html index 51ecafd..845a296 100644 --- a/node_modules/pngjs/coverage/lcov-report/index.html +++ b/node_modules/pngjs/coverage/lcov-report/index.html @@ -15,41 +15,41 @@ } - +

All files

- +
82.72% Statements 1034/1250
- - + +
67.59% Branches 317/469
- - + +
90.26% Functions 139/154
- - + +
82.53% Lines 992/1202
- - + +

Press n or j to go to the next uncovered block, b, p or k for the previous block. @@ -423,4 +423,3 @@

All files

- \ No newline at end of file diff --git a/node_modules/pngjs/coverage/lcov-report/interlace.js.html b/node_modules/pngjs/coverage/lcov-report/interlace.js.html index d67b087..133d770 100644 --- a/node_modules/pngjs/coverage/lcov-report/interlace.js.html +++ b/node_modules/pngjs/coverage/lcov-report/interlace.js.html @@ -15,41 +15,41 @@ } - +

All files interlace.js

- +
100% Statements 32/32
- - + +
100% Branches 8/8
- - + +
100% Functions 3/3
- - + +
100% Lines 29/29
- - + +

Press n or j to go to the next uncovered block, b, p or k for the previous block. @@ -362,4 +362,3 @@

All files interlace.js

- \ No newline at end of file diff --git a/node_modules/pngjs/coverage/lcov-report/packer-async.js.html b/node_modules/pngjs/coverage/lcov-report/packer-async.js.html index 55365c7..bd7e6a1 100644 --- a/node_modules/pngjs/coverage/lcov-report/packer-async.js.html +++ b/node_modules/pngjs/coverage/lcov-report/packer-async.js.html @@ -15,41 +15,41 @@ } - +

All files packer-async.js

- +
100% Statements 24/24
- - + +
75% Branches 3/4
- - + +
100% Functions 4/4
- - + +
100% Lines 24/24
- - + +

Press n or j to go to the next uncovered block, b, p or k for the previous block. @@ -227,4 +227,3 @@

All files packer-async.js

- \ No newline at end of file diff --git a/node_modules/pngjs/coverage/lcov-report/packer-sync.js.html b/node_modules/pngjs/coverage/lcov-report/packer-sync.js.html index 86283b5..96fe000 100644 --- a/node_modules/pngjs/coverage/lcov-report/packer-sync.js.html +++ b/node_modules/pngjs/coverage/lcov-report/packer-sync.js.html @@ -15,41 +15,41 @@ } - +

All files packer-sync.js

- +
25% Statements 6/24
- - + +
8.33% Branches 1/12
- - + +
0% Functions 0/1
- - + +
25% Lines 6/24
- - + +

Press n or j to go to the next uncovered block, b, p or k for the previous block. @@ -245,4 +245,3 @@

All files packer-sync.js

- \ No newline at end of file diff --git a/node_modules/pngjs/coverage/lcov-report/packer.js.html b/node_modules/pngjs/coverage/lcov-report/packer.js.html index 606e193..44e89fd 100644 --- a/node_modules/pngjs/coverage/lcov-report/packer.js.html +++ b/node_modules/pngjs/coverage/lcov-report/packer.js.html @@ -15,41 +15,41 @@ } - +

All files packer.js

- +
94.74% Statements 54/57
- - + +
67.86% Branches 19/28
- - + +
100% Functions 9/9
- - + +
94.74% Lines 54/57
- - + +

Press n or j to go to the next uncovered block, b, p or k for the previous block. @@ -464,4 +464,3 @@

All files packer.js

- \ No newline at end of file diff --git a/node_modules/pngjs/coverage/lcov-report/paeth-predictor.js.html b/node_modules/pngjs/coverage/lcov-report/paeth-predictor.js.html index 6385999..21935c9 100644 --- a/node_modules/pngjs/coverage/lcov-report/paeth-predictor.js.html +++ b/node_modules/pngjs/coverage/lcov-report/paeth-predictor.js.html @@ -15,41 +15,41 @@ } - +

All files paeth-predictor.js

- +
100% Statements 10/10
- - + +
100% Branches 6/6
- - + +
100% Functions 1/1
- - + +
100% Lines 10/10
- - + +

Press n or j to go to the next uncovered block, b, p or k for the previous block. @@ -125,4 +125,3 @@

All files paeth-predictor.js

- \ No newline at end of file diff --git a/node_modules/pngjs/coverage/lcov-report/parser-async.js.html b/node_modules/pngjs/coverage/lcov-report/parser-async.js.html index 77074ff..20fc626 100644 --- a/node_modules/pngjs/coverage/lcov-report/parser-async.js.html +++ b/node_modules/pngjs/coverage/lcov-report/parser-async.js.html @@ -15,41 +15,41 @@ } - +

All files parser-async.js

- +
88.75% Statements 71/80
- - + +
72.73% Branches 16/22
- - + +
84.62% Functions 11/13
- - + +
88.75% Lines 71/80
- - + +

Press n or j to go to the next uncovered block, b, p or k for the previous block. @@ -572,4 +572,3 @@

All files parser-async.js

- \ No newline at end of file diff --git a/node_modules/pngjs/coverage/lcov-report/parser-sync.js.html b/node_modules/pngjs/coverage/lcov-report/parser-sync.js.html index 6ced1a9..c5534a1 100644 --- a/node_modules/pngjs/coverage/lcov-report/parser-sync.js.html +++ b/node_modules/pngjs/coverage/lcov-report/parser-sync.js.html @@ -15,41 +15,41 @@ } - +

All files parser-sync.js

- +
93.33% Statements 42/45
- - + +
78.57% Branches 11/14
- - + +
100% Functions 8/8
- - + +
93.33% Lines 42/45
- - + +

Press n or j to go to the next uncovered block, b, p or k for the previous block. @@ -401,4 +401,3 @@

All files parser-sync.js

- \ No newline at end of file diff --git a/node_modules/pngjs/coverage/lcov-report/parser.js.html b/node_modules/pngjs/coverage/lcov-report/parser.js.html index efc9504..a50b732 100644 --- a/node_modules/pngjs/coverage/lcov-report/parser.js.html +++ b/node_modules/pngjs/coverage/lcov-report/parser.js.html @@ -15,41 +15,41 @@ } - +

All files parser.js

- +
90.57% Statements 144/159
- - + +
85.45% Branches 47/55
- - + +
100% Functions 20/20
- - + +
90.32% Lines 140/155
- - + +

Press n or j to go to the next uncovered block, b, p or k for the previous block. @@ -947,4 +947,3 @@

All files parser.js

- \ No newline at end of file diff --git a/node_modules/pngjs/coverage/lcov-report/png-sync.js.html b/node_modules/pngjs/coverage/lcov-report/png-sync.js.html index 848f6a6..5bac734 100644 --- a/node_modules/pngjs/coverage/lcov-report/png-sync.js.html +++ b/node_modules/pngjs/coverage/lcov-report/png-sync.js.html @@ -15,41 +15,41 @@ } - +

All files png-sync.js

- +
83.33% Statements 5/6
- - + +
100% Branches 2/2
- - + +
50% Functions 1/2
- - + +
83.33% Lines 5/6
- - + +

Press n or j to go to the next uncovered block, b, p or k for the previous block. @@ -113,4 +113,3 @@

All files png-sync.js

- \ No newline at end of file diff --git a/node_modules/pngjs/coverage/lcov-report/png.js.html b/node_modules/pngjs/coverage/lcov-report/png.js.html index baa8803..a6a3ca5 100644 --- a/node_modules/pngjs/coverage/lcov-report/png.js.html +++ b/node_modules/pngjs/coverage/lcov-report/png.js.html @@ -15,41 +15,41 @@ } - +

All files png.js

- +
54.17% Statements 52/96
- - + +
41.18% Branches 14/34
- - + +
56.25% Functions 9/16
- - + +
56.52% Lines 52/92
- - + +

Press n or j to go to the next uncovered block, b, p or k for the previous block. @@ -659,4 +659,3 @@

All files png.js

- \ No newline at end of file diff --git a/node_modules/pngjs/coverage/lcov-report/sync-inflate.js.html b/node_modules/pngjs/coverage/lcov-report/sync-inflate.js.html index 9ae5a14..8e0254b 100644 --- a/node_modules/pngjs/coverage/lcov-report/sync-inflate.js.html +++ b/node_modules/pngjs/coverage/lcov-report/sync-inflate.js.html @@ -15,41 +15,41 @@ } - +

All files sync-inflate.js

- +
75.31% Statements 61/81
- - + +
62% Branches 31/50
- - + +
87.5% Functions 7/8
- - + +
75.31% Lines 61/81
- - + +

Press n or j to go to the next uncovered block, b, p or k for the previous block. @@ -581,4 +581,3 @@

All files sync-inflate.js

- \ No newline at end of file diff --git a/node_modules/pngjs/coverage/lcov-report/sync-reader.js.html b/node_modules/pngjs/coverage/lcov-report/sync-reader.js.html index 576dd88..7d68c83 100644 --- a/node_modules/pngjs/coverage/lcov-report/sync-reader.js.html +++ b/node_modules/pngjs/coverage/lcov-report/sync-reader.js.html @@ -15,41 +15,41 @@ } - +

All files sync-reader.js

- +
88.89% Statements 16/18
- - + +
72.73% Branches 8/11
- - + +
100% Functions 3/3
- - + +
88.89% Lines 16/18
- - + +

Press n or j to go to the next uncovered block, b, p or k for the previous block. @@ -212,4 +212,3 @@

All files sync-reader.js

- \ No newline at end of file diff --git a/node_modules/postcss-import/README.md b/node_modules/postcss-import/README.md index ac0148e..e91b2a2 100644 --- a/node_modules/postcss-import/README.md +++ b/node_modules/postcss-import/README.md @@ -114,7 +114,7 @@ Checkout the [tests](test) for more examples. ### Options ### `filter` -Type: `Function` +Type: `Function` Default: `() => true` Only transform imports for which the test function returns `true`. Imports for @@ -123,32 +123,32 @@ the path to import as an argument and should return a boolean. #### `root` -Type: `String` +Type: `String` Default: `process.cwd()` or _dirname of [the postcss `from`](https://github.com/postcss/postcss#node-source)_ Define the root where to resolve path (eg: place where `node_modules` are). -Should not be used that much. +Should not be used that much. _Note: nested `@import` will additionally benefit of the relative dirname of imported files._ #### `path` -Type: `String|Array` +Type: `String|Array` Default: `[]` A string or an array of paths in where to look for files. #### `plugins` -Type: `Array` +Type: `Array` Default: `undefined` An array of plugins to be applied on each imported files. #### `resolve` -Type: `Function` +Type: `Function` Default: `null` You can provide a custom path resolver with this option. This function gets @@ -160,7 +160,7 @@ You can use [resolve](https://github.com/substack/node-resolve) for this. #### `load` -Type: `Function` +Type: `Function` Default: null You can overwrite the default loading way by setting this option. @@ -169,7 +169,7 @@ promised content. #### `skipDuplicates` -Type: `Boolean` +Type: `Boolean` Default: `true` By default, similar files (based on the same content) are being skipped. @@ -179,7 +179,7 @@ disable it. #### `addModulesDirectories` -Type: `Array` +Type: `Array` Default: `[]` An array of folder names to add to [Node's resolver](https://github.com/substack/node-resolve). diff --git a/node_modules/postcss-selector-parser/CHANGELOG.md b/node_modules/postcss-selector-parser/CHANGELOG.md index 14ffadc..03a657b 100644 --- a/node_modules/postcss-selector-parser/CHANGELOG.md +++ b/node_modules/postcss-selector-parser/CHANGELOG.md @@ -255,7 +255,7 @@ className.setPropertyAndEscape('value', 'xxxx', 'yyyy'); className.value; // => "xxxx" className.toString(); // => ".yyyy" -// Pass a value directly through to the css output without escaping it. +// Pass a value directly through to the css output without escaping it. className.setPropertyWithoutEscape('value', '$REPLACE_ME$'); className.value; // => "$REPLACE_ME$" className.toString(); // => ".$REPLACE_ME$" @@ -282,7 +282,7 @@ attr.value = "new-value"; // no quote mark is needed so it is removed attr.getQuotedValue(); // => "new-value"; -// deprecated assignment, +// deprecated assignment, attr.value = "\"a 'single quoted' value\""; // > (node:27859) DeprecationWarning: Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead. attr.getQuotedValue(); // => '"a \'single quoted\' value"'; @@ -293,7 +293,7 @@ attr.quoteMark; // => '"' attr.setValue('foo', {smart: true}); // foo doesn't require any escapes or quotes. attr.toString(); // => '[id=foo]' -attr.quoteMark; // => null +attr.quoteMark; // => null // An explicit quote mark can be specified attr.setValue('foo', {quoteMark: '"'}); @@ -328,7 +328,7 @@ attr.setPropertyAndEscape('value', 'xxxx', 'the password is 42'); attr.value; // => "xxxx" attr.toString(); // => "[id=the password is 42]" -// Pass a value directly through to the css output without escaping it. +// Pass a value directly through to the css output without escaping it. attr.setPropertyWithoutEscape('value', '$REPLACEMENT$'); attr.value; // => "$REPLACEMENT$" attr.toString(); // => "[id=$REPLACEMENT$]" diff --git a/node_modules/postcss-selector-parser/dist/selectors/container.js b/node_modules/postcss-selector-parser/dist/selectors/container.js index 8600c54..be35fa9 100644 --- a/node_modules/postcss-selector-parser/dist/selectors/container.js +++ b/node_modules/postcss-selector-parser/dist/selectors/container.js @@ -117,7 +117,7 @@ var Container = /*#__PURE__*/function (_Node) { * Return the most specific node at the line and column number given. * The source location is based on the original parsed location, locations aren't * updated as selector nodes are mutated. - * + * * Note that this location is relative to the location of the first character * of the selector, and not the location of the selector in the overall document * when used in conjunction with postcss. diff --git a/node_modules/postcss-selector-parser/dist/util/unesc.js b/node_modules/postcss-selector-parser/dist/util/unesc.js index 87396be..d5d9604 100644 --- a/node_modules/postcss-selector-parser/dist/util/unesc.js +++ b/node_modules/postcss-selector-parser/dist/util/unesc.js @@ -6,8 +6,8 @@ exports["default"] = unesc; // https://mathiasbynens.be/notes/css-escapes /** - * - * @param {string} str + * + * @param {string} str * @returns {[string, number]|undefined} */ function gobbleHex(str) { diff --git a/node_modules/postcss-value-parser/README.md b/node_modules/postcss-value-parser/README.md index 3bd6a0d..a8bfee3 100644 --- a/node_modules/postcss-value-parser/README.md +++ b/node_modules/postcss-value-parser/README.md @@ -185,8 +185,8 @@ whether the first character in the argument is a quotation mark. ### unicode-range -The unicode-range CSS descriptor sets the specific range of characters to be -used from a font defined by @font-face and made available +The unicode-range CSS descriptor sets the specific range of characters to be +used from a font defined by @font-face and made available for use on the current page (`unicode-range: U+0025-00FF`). Node-specific properties: diff --git a/node_modules/qr-scanner/README.md b/node_modules/qr-scanner/README.md index e8fac17..6763660 100644 --- a/node_modules/qr-scanner/README.md +++ b/node_modules/qr-scanner/README.md @@ -82,7 +82,7 @@ This library uses ECMAScript 2017 features like `async` functions. If you need t ### Web Cam Scanning #### 1. Create HTML -Create a `