pull/39/head
Vladimir Mandic 2021-02-12 09:11:00 -05:00
parent 4e77e6e52d
commit 24bc527c4b
21 changed files with 390 additions and 383 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2719,10 +2719,10 @@
], ],
"inputs": { "inputs": {
"dist/tfjs.esm.js": { "dist/tfjs.esm.js": {
"bytesInOutput": 135 "bytesInOutput": 142
}, },
"src/env/isNodejs.ts": { "src/env/isNodejs.ts": {
"bytesInOutput": 169 "bytesInOutput": 176
}, },
"src/index.ts": { "src/index.ts": {
"bytesInOutput": 158 "bytesInOutput": 158
@ -3187,7 +3187,7 @@
"bytesInOutput": 443 "bytesInOutput": 443
} }
}, },
"bytes": 82158 "bytes": 82164
} }
} }
} }

142
dist/face-api.esm.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
{ {
"inputs": { "inputs": {
"dist/tfjs.esm.js": { "dist/tfjs.esm.js": {
"bytes": 1053912, "bytes": 1053904,
"imports": [] "imports": []
}, },
"src/draw/drawContour.ts": { "src/draw/drawContour.ts": {
@ -2591,7 +2591,7 @@
"imports": [], "imports": [],
"exports": [], "exports": [],
"inputs": {}, "inputs": {},
"bytes": 1445495 "bytes": 1445525
}, },
"dist/face-api.esm.js": { "dist/face-api.esm.js": {
"imports": [], "imports": [],
@ -2719,10 +2719,10 @@
], ],
"inputs": { "inputs": {
"src/env/isNodejs.ts": { "src/env/isNodejs.ts": {
"bytesInOutput": 173 "bytesInOutput": 181
}, },
"dist/tfjs.esm.js": { "dist/tfjs.esm.js": {
"bytesInOutput": 1045339 "bytesInOutput": 1045331
}, },
"src/draw/index.ts": { "src/draw/index.ts": {
"bytesInOutput": 280 "bytesInOutput": 280
@ -3187,7 +3187,7 @@
"bytesInOutput": 446 "bytesInOutput": 446
} }
}, },
"bytes": 1132753 "bytes": 1132745
} }
} }
} }

142
dist/face-api.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

10
dist/face-api.json vendored
View File

@ -1,7 +1,7 @@
{ {
"inputs": { "inputs": {
"dist/tfjs.esm.js": { "dist/tfjs.esm.js": {
"bytes": 1053912, "bytes": 1053904,
"imports": [] "imports": []
}, },
"src/draw/drawContour.ts": { "src/draw/drawContour.ts": {
@ -2591,20 +2591,20 @@
"imports": [], "imports": [],
"exports": [], "exports": [],
"inputs": {}, "inputs": {},
"bytes": 1445502 "bytes": 1445532
}, },
"dist/face-api.js": { "dist/face-api.js": {
"imports": [], "imports": [],
"exports": [], "exports": [],
"inputs": { "inputs": {
"src/env/isNodejs.ts": { "src/env/isNodejs.ts": {
"bytesInOutput": 173 "bytesInOutput": 181
}, },
"src/index.ts": { "src/index.ts": {
"bytesInOutput": 3011 "bytesInOutput": 3011
}, },
"dist/tfjs.esm.js": { "dist/tfjs.esm.js": {
"bytesInOutput": 1045401 "bytesInOutput": 1045393
}, },
"src/draw/index.ts": { "src/draw/index.ts": {
"bytesInOutput": 280 "bytesInOutput": 280
@ -3066,7 +3066,7 @@
"bytesInOutput": 446 "bytesInOutput": 446
} }
}, },
"bytes": 1132916 "bytes": 1132908
} }
} }
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
{ {
"inputs": { "inputs": {
"dist/tfjs.esm.js": { "dist/tfjs.esm.js": {
"bytes": 679, "bytes": 688,
"imports": [] "imports": []
}, },
"src/draw/drawContour.ts": { "src/draw/drawContour.ts": {
@ -2591,20 +2591,20 @@
"imports": [], "imports": [],
"exports": [], "exports": [],
"inputs": {}, "inputs": {},
"bytes": 309649 "bytes": 309659
}, },
"dist/face-api.node-gpu.js": { "dist/face-api.node-gpu.js": {
"imports": [], "imports": [],
"exports": [], "exports": [],
"inputs": { "inputs": {
"dist/tfjs.esm.js": { "dist/tfjs.esm.js": {
"bytesInOutput": 546 "bytesInOutput": 551
}, },
"src/env/isNodejs.ts": { "src/env/isNodejs.ts": {
"bytesInOutput": 169 "bytesInOutput": 176
}, },
"src/index.ts": { "src/index.ts": {
"bytesInOutput": 3003 "bytesInOutput": 3015
}, },
"src/draw/index.ts": { "src/draw/index.ts": {
"bytesInOutput": 277 "bytesInOutput": 277
@ -3066,7 +3066,7 @@
"bytesInOutput": 443 "bytesInOutput": 443
} }
}, },
"bytes": 82691 "bytes": 82707
} }
} }
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
{ {
"inputs": { "inputs": {
"dist/tfjs.esm.js": { "dist/tfjs.esm.js": {
"bytes": 675, "bytes": 684,
"imports": [] "imports": []
}, },
"src/draw/drawContour.ts": { "src/draw/drawContour.ts": {
@ -2591,20 +2591,20 @@
"imports": [], "imports": [],
"exports": [], "exports": [],
"inputs": {}, "inputs": {},
"bytes": 309641 "bytes": 309651
}, },
"dist/face-api.node.js": { "dist/face-api.node.js": {
"imports": [], "imports": [],
"exports": [], "exports": [],
"inputs": { "inputs": {
"dist/tfjs.esm.js": { "dist/tfjs.esm.js": {
"bytesInOutput": 542 "bytesInOutput": 547
}, },
"src/env/isNodejs.ts": { "src/env/isNodejs.ts": {
"bytesInOutput": 169 "bytesInOutput": 176
}, },
"src/index.ts": { "src/index.ts": {
"bytesInOutput": 3003 "bytesInOutput": 3015
}, },
"src/draw/index.ts": { "src/draw/index.ts": {
"bytesInOutput": 277 "bytesInOutput": 277
@ -3066,7 +3066,7 @@
"bytesInOutput": 443 "bytesInOutput": 443
} }
}, },
"bytes": 82683 "bytes": 82699
} }
} }
} }

236
dist/tfjs.esm.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

48
dist/tfjs.esm.json vendored
View File

@ -396,7 +396,7 @@
} }
] ]
}, },
"empty:/home/vlado/dev/face-api/node_modules/node-fetch/browser.js": { "(disabled):/home/vlado/dev/face-api/node_modules/node-fetch/browser.js": {
"bytes": 0, "bytes": 0,
"imports": [] "imports": []
}, },
@ -408,7 +408,7 @@
"kind": "import-statement" "kind": "import-statement"
}, },
{ {
"path": "empty:/home/vlado/dev/face-api/node_modules/node-fetch/browser.js", "path": "(disabled):/home/vlado/dev/face-api/node_modules/node-fetch/browser.js",
"kind": "require-call" "kind": "require-call"
} }
] ]
@ -3912,7 +3912,7 @@
"bytes": 2525, "bytes": 2525,
"imports": [] "imports": []
}, },
"empty:crypto": { "(disabled):crypto": {
"bytes": 0, "bytes": 0,
"imports": [] "imports": []
}, },
@ -3920,7 +3920,7 @@
"bytes": 8358, "bytes": 8358,
"imports": [ "imports": [
{ {
"path": "empty:crypto", "path": "(disabled):crypto",
"kind": "require-call" "kind": "require-call"
} }
] ]
@ -15661,7 +15661,7 @@
} }
] ]
}, },
"empty:/home/vlado/dev/face-api/node_modules/string_decoder/lib/string_decoder.js": { "(disabled):/home/vlado/dev/face-api/node_modules/string_decoder/lib/string_decoder.js": {
"bytes": 0, "bytes": 0,
"imports": [] "imports": []
}, },
@ -15681,7 +15681,7 @@
"kind": "import-statement" "kind": "import-statement"
}, },
{ {
"path": "empty:/home/vlado/dev/face-api/node_modules/string_decoder/lib/string_decoder.js", "path": "(disabled):/home/vlado/dev/face-api/node_modules/string_decoder/lib/string_decoder.js",
"kind": "require-call" "kind": "require-call"
} }
] ]
@ -25207,15 +25207,15 @@
} }
] ]
}, },
"empty:path": { "(disabled):path": {
"bytes": 0, "bytes": 0,
"imports": [] "imports": []
}, },
"empty:worker_threads": { "(disabled):worker_threads": {
"bytes": 0, "bytes": 0,
"imports": [] "imports": []
}, },
"empty:perf_hooks": { "(disabled):perf_hooks": {
"bytes": 0, "bytes": 0,
"imports": [] "imports": []
}, },
@ -25223,23 +25223,23 @@
"bytes": 74186, "bytes": 74186,
"imports": [ "imports": [
{ {
"path": "empty:path", "path": "(disabled):path",
"kind": "require-call" "kind": "require-call"
}, },
{ {
"path": "empty:path", "path": "(disabled):path",
"kind": "require-call" "kind": "require-call"
}, },
{ {
"path": "empty:worker_threads", "path": "(disabled):worker_threads",
"kind": "require-call" "kind": "require-call"
}, },
{ {
"path": "empty:path", "path": "(disabled):path",
"kind": "require-call" "kind": "require-call"
}, },
{ {
"path": "empty:perf_hooks", "path": "(disabled):perf_hooks",
"kind": "require-call" "kind": "require-call"
} }
] ]
@ -25252,11 +25252,11 @@
"bytes": 28523, "bytes": 28523,
"imports": [ "imports": [
{ {
"path": "empty:path", "path": "(disabled):path",
"kind": "require-call" "kind": "require-call"
}, },
{ {
"path": "empty:path", "path": "(disabled):path",
"kind": "require-call" "kind": "require-call"
} }
] ]
@ -25347,7 +25347,7 @@
"imports": [], "imports": [],
"exports": [], "exports": [],
"inputs": {}, "inputs": {},
"bytes": 1127278 "bytes": 1127308
}, },
"dist/tfjs.esm.js": { "dist/tfjs.esm.js": {
"imports": [], "imports": [],
@ -25816,7 +25816,7 @@
"zerosLike" "zerosLike"
], ],
"inputs": { "inputs": {
"empty:/home/vlado/dev/face-api/node_modules/node-fetch/browser.js": { "(disabled):/home/vlado/dev/face-api/node_modules/node-fetch/browser.js": {
"bytesInOutput": 18 "bytesInOutput": 18
}, },
"node_modules/seedrandom/lib/alea.js": { "node_modules/seedrandom/lib/alea.js": {
@ -25837,7 +25837,7 @@
"node_modules/seedrandom/lib/tychei.js": { "node_modules/seedrandom/lib/tychei.js": {
"bytesInOutput": 885 "bytesInOutput": 885
}, },
"empty:crypto": { "(disabled):crypto": {
"bytesInOutput": 18 "bytesInOutput": 18
}, },
"node_modules/seedrandom/seedrandom.js": { "node_modules/seedrandom/seedrandom.js": {
@ -25846,16 +25846,16 @@
"node_modules/seedrandom/index.js": { "node_modules/seedrandom/index.js": {
"bytesInOutput": 177 "bytesInOutput": 177
}, },
"empty:/home/vlado/dev/face-api/node_modules/string_decoder/lib/string_decoder.js": { "(disabled):/home/vlado/dev/face-api/node_modules/string_decoder/lib/string_decoder.js": {
"bytesInOutput": 18 "bytesInOutput": 18
}, },
"empty:path": { "(disabled):path": {
"bytesInOutput": 18 "bytesInOutput": 18
}, },
"empty:worker_threads": { "(disabled):worker_threads": {
"bytesInOutput": 18 "bytesInOutput": 18
}, },
"empty:perf_hooks": { "(disabled):perf_hooks": {
"bytesInOutput": 18 "bytesInOutput": 18
}, },
"node_modules/@tensorflow/tfjs-backend-wasm/wasm-out/tfjs-backend-wasm-threaded-simd.js": { "node_modules/@tensorflow/tfjs-backend-wasm/wasm-out/tfjs-backend-wasm-threaded-simd.js": {
@ -29537,7 +29537,7 @@
"bytesInOutput": 0 "bytesInOutput": 0
} }
}, },
"bytes": 1053912 "bytes": 1053904
} }
} }
} }

118
package-lock.json generated
View File

@ -318,9 +318,9 @@
"dev": true "dev": true
}, },
"@types/node": { "@types/node": {
"version": "14.14.25", "version": "14.14.27",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.25.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.27.tgz",
"integrity": "sha512-EPpXLOVqDvisVxtlbvzfyqSsFeQxltFbluZNRndIb8tr9KiBnYNLzrc1N3pyKUCww2RNrfHDViqDWWE1LCJQtQ==", "integrity": "sha512-Ecfmo4YDQPwuqTCl1yBxLV5ihKfRlkBmzUEDcfIRvDxOTGQEeikr317Ln7Gcv0tjA8dVgKI3rniqW2G1OyKDng==",
"dev": true "dev": true
}, },
"@types/node-fetch": { "@types/node-fetch": {
@ -358,13 +358,13 @@
"dev": true "dev": true
}, },
"@typescript-eslint/eslint-plugin": { "@typescript-eslint/eslint-plugin": {
"version": "4.14.2", "version": "4.15.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.14.2.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.15.0.tgz",
"integrity": "sha512-uMGfG7GFYK/nYutK/iqYJv6K/Xuog/vrRRZX9aEP4Zv1jsYXuvFUMDFLhUnc8WFv3D2R5QhNQL3VYKmvLS5zsQ==", "integrity": "sha512-DJgdGZW+8CFUTz5C/dnn4ONcUm2h2T0itWD85Ob5/V27Ndie8hUoX5HKyGssvR8sUMkAIlUc/AMK67Lqa3kBIQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"@typescript-eslint/experimental-utils": "4.14.2", "@typescript-eslint/experimental-utils": "4.15.0",
"@typescript-eslint/scope-manager": "4.14.2", "@typescript-eslint/scope-manager": "4.15.0",
"debug": "^4.1.1", "debug": "^4.1.1",
"functional-red-black-tree": "^1.0.1", "functional-red-black-tree": "^1.0.1",
"lodash": "^4.17.15", "lodash": "^4.17.15",
@ -400,28 +400,28 @@
} }
}, },
"@typescript-eslint/experimental-utils": { "@typescript-eslint/experimental-utils": {
"version": "4.14.2", "version": "4.15.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.14.2.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.15.0.tgz",
"integrity": "sha512-mV9pmET4C2y2WlyHmD+Iun8SAEqkLahHGBkGqDVslHkmoj3VnxnGP4ANlwuxxfq1BsKdl/MPieDbohCEQgKrwA==", "integrity": "sha512-V4vaDWvxA2zgesg4KPgEGiomWEBpJXvY4ZX34Y3qxK8LUm5I87L+qGIOTd9tHZOARXNRt9pLbblSKiYBlGMawg==",
"dev": true, "dev": true,
"requires": { "requires": {
"@types/json-schema": "^7.0.3", "@types/json-schema": "^7.0.3",
"@typescript-eslint/scope-manager": "4.14.2", "@typescript-eslint/scope-manager": "4.15.0",
"@typescript-eslint/types": "4.14.2", "@typescript-eslint/types": "4.15.0",
"@typescript-eslint/typescript-estree": "4.14.2", "@typescript-eslint/typescript-estree": "4.15.0",
"eslint-scope": "^5.0.0", "eslint-scope": "^5.0.0",
"eslint-utils": "^2.0.0" "eslint-utils": "^2.0.0"
} }
}, },
"@typescript-eslint/parser": { "@typescript-eslint/parser": {
"version": "4.14.2", "version": "4.15.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.14.2.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.15.0.tgz",
"integrity": "sha512-ipqSP6EuUsMu3E10EZIApOJgWSpcNXeKZaFeNKQyzqxnQl8eQCbV+TSNsl+s2GViX2d18m1rq3CWgnpOxDPgHg==", "integrity": "sha512-L6Dtbq8Bc7g2aZwnIBETpmUa9XDKCMzKVwAArnGp5Mn7PRNFjf3mUzq8UeBjL3K8t311hvevnyqXAMSmxO8Gpg==",
"dev": true, "dev": true,
"requires": { "requires": {
"@typescript-eslint/scope-manager": "4.14.2", "@typescript-eslint/scope-manager": "4.15.0",
"@typescript-eslint/types": "4.14.2", "@typescript-eslint/types": "4.15.0",
"@typescript-eslint/typescript-estree": "4.14.2", "@typescript-eslint/typescript-estree": "4.15.0",
"debug": "^4.1.1" "debug": "^4.1.1"
}, },
"dependencies": { "dependencies": {
@ -443,33 +443,32 @@
} }
}, },
"@typescript-eslint/scope-manager": { "@typescript-eslint/scope-manager": {
"version": "4.14.2", "version": "4.15.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.14.2.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.15.0.tgz",
"integrity": "sha512-cuV9wMrzKm6yIuV48aTPfIeqErt5xceTheAgk70N1V4/2Ecj+fhl34iro/vIssJlb7XtzcaD07hWk7Jk0nKghg==", "integrity": "sha512-CSNBZnCC2jEA/a+pR9Ljh8Y+5TY5qgbPz7ICEk9WCpSEgT6Pi7H2RIjxfrrbUXvotd6ta+i27sssKEH8Azm75g==",
"dev": true, "dev": true,
"requires": { "requires": {
"@typescript-eslint/types": "4.14.2", "@typescript-eslint/types": "4.15.0",
"@typescript-eslint/visitor-keys": "4.14.2" "@typescript-eslint/visitor-keys": "4.15.0"
} }
}, },
"@typescript-eslint/types": { "@typescript-eslint/types": {
"version": "4.14.2", "version": "4.15.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.14.2.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.15.0.tgz",
"integrity": "sha512-LltxawRW6wXy4Gck6ZKlBD05tCHQUj4KLn4iR69IyRiDHX3d3NCAhO+ix5OR2Q+q9bjCrHE/HKt+riZkd1At8Q==", "integrity": "sha512-su4RHkJhS+iFwyqyXHcS8EGPlUVoC+XREfy5daivjLur9JP8GhvTmDipuRpcujtGC4M+GYhUOJCPDE3rC5NJrg==",
"dev": true "dev": true
}, },
"@typescript-eslint/typescript-estree": { "@typescript-eslint/typescript-estree": {
"version": "4.14.2", "version": "4.15.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.14.2.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.15.0.tgz",
"integrity": "sha512-ESiFl8afXxt1dNj8ENEZT12p+jl9PqRur+Y19m0Z/SPikGL6rqq4e7Me60SU9a2M28uz48/8yct97VQYaGl0Vg==", "integrity": "sha512-jG6xTmcNbi6xzZq0SdWh7wQ9cMb2pqXaUp6bUZOMsIlu5aOlxGxgE/t6L/gPybybQGvdguajXGkZKSndZJpksA==",
"dev": true, "dev": true,
"requires": { "requires": {
"@typescript-eslint/types": "4.14.2", "@typescript-eslint/types": "4.15.0",
"@typescript-eslint/visitor-keys": "4.14.2", "@typescript-eslint/visitor-keys": "4.15.0",
"debug": "^4.1.1", "debug": "^4.1.1",
"globby": "^11.0.1", "globby": "^11.0.1",
"is-glob": "^4.0.1", "is-glob": "^4.0.1",
"lodash": "^4.17.15",
"semver": "^7.3.2", "semver": "^7.3.2",
"tsutils": "^3.17.1" "tsutils": "^3.17.1"
}, },
@ -501,12 +500,12 @@
} }
}, },
"@typescript-eslint/visitor-keys": { "@typescript-eslint/visitor-keys": {
"version": "4.14.2", "version": "4.15.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.14.2.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.15.0.tgz",
"integrity": "sha512-KBB+xLBxnBdTENs/rUgeUKO0UkPBRs2vD09oMRRIkj5BEN8PX1ToXV532desXfpQnZsYTyLLviS7JrPhdL154w==", "integrity": "sha512-RnDtJwOwFucWFAMjG3ghCG/ikImFJFEg20DI7mn4pHEx3vC48lIAoyjhffvfHmErRDboUPC7p9Z2il4CLb7qxA==",
"dev": true, "dev": true,
"requires": { "requires": {
"@typescript-eslint/types": "4.14.2", "@typescript-eslint/types": "4.15.0",
"eslint-visitor-keys": "^2.0.0" "eslint-visitor-keys": "^2.0.0"
} }
}, },
@ -964,9 +963,9 @@
} }
}, },
"esbuild": { "esbuild": {
"version": "0.8.42", "version": "0.8.44",
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.8.42.tgz", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.8.44.tgz",
"integrity": "sha512-zUtj5RMqROCCCH0vV/a7cd8YQg8I0GWBhV3A3PklWRT+oM/YwVbnrtFnITzE1otGdnXplWHWdZ4OcYiV0PN+JQ==", "integrity": "sha512-m9yyBZMgWuAB7e7tA2g9L4PovoLa5Xb73+Yg9uBBR2w3Fe4P9/nxqj/HLrw1k/rjdjF1eX1kNJRytboqOtRCCQ==",
"dev": true "dev": true
}, },
"escalade": { "escalade": {
@ -1220,9 +1219,9 @@
} }
}, },
"eslint-plugin-promise": { "eslint-plugin-promise": {
"version": "4.2.1", "version": "4.3.1",
"resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-4.2.1.tgz", "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-4.3.1.tgz",
"integrity": "sha512-VoM09vT7bfA7D+upt+FjeBO5eHIJQBUWki1aPvB+vbNiHS3+oGIJGIeyBtKQTME6UPXXy3vV07OL1tHd3ANuDw==", "integrity": "sha512-bY2sGqyptzFBDLh/GMbAxfdJC+b0f23ME63FOE4+Jao0oZ3E1LEwFtWJX/1pGMJLiTtrSSern2CRM/g+dfc0eQ==",
"dev": true "dev": true
}, },
"eslint-scope": { "eslint-scope": {
@ -2314,6 +2313,12 @@
"integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
"dev": true "dev": true
}, },
"queue-microtask": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.2.tgz",
"integrity": "sha512-dB15eXv3p2jDlbOiNLyMabYg1/sXvppd8DP2J3EOCQ0AkuSXCW2tP7mnVouVLJKgUMY6yP0kcQDVpLCN13h4Xg==",
"dev": true
},
"rc": { "rc": {
"version": "1.2.8", "version": "1.2.8",
"resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz",
@ -2407,12 +2412,12 @@
"dev": true "dev": true
}, },
"resolve": { "resolve": {
"version": "1.19.0", "version": "1.20.0",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz",
"integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==", "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==",
"dev": true, "dev": true,
"requires": { "requires": {
"is-core-module": "^2.1.0", "is-core-module": "^2.2.0",
"path-parse": "^1.0.6" "path-parse": "^1.0.6"
} }
}, },
@ -2438,10 +2443,13 @@
} }
}, },
"run-parallel": { "run-parallel": {
"version": "1.1.10", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.10.tgz", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
"integrity": "sha512-zb/1OuZ6flOlH6tQyMPUrE3x3Ulxjlo9WIVXR4yVYi4H9UXQaeIsPbLn2R3O3vQCnDKkAl2qHiuocKKX4Tz/Sw==", "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
"dev": true "dev": true,
"requires": {
"queue-microtask": "^1.2.2"
}
}, },
"safe-buffer": { "safe-buffer": {
"version": "5.1.2", "version": "5.1.2",
@ -2738,9 +2746,9 @@
"dev": true "dev": true
}, },
"typescript": { "typescript": {
"version": "4.1.3", "version": "4.1.5",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.1.3.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.1.5.tgz",
"integrity": "sha512-B3ZIOf1IKeH2ixgHhj6la6xdwR9QrLC5d1VKeCSY4tvkqhF2eqd9O7txNlS0PO3GrBAFIdr3L1ndNwteUbZLYg==", "integrity": "sha512-6OSu9PTIzmn9TCDiovULTnET6BgXtDYL4Gg4szY+cGsc3JP1dQL8qvE8kShTRx1NIw4Q9IBHlwODjkjWEtMUyA==",
"dev": true "dev": true
}, },
"uri-js": { "uri-js": {

View File

@ -45,19 +45,19 @@
"@tensorflow/tfjs-backend-wasm": "^3.0.0", "@tensorflow/tfjs-backend-wasm": "^3.0.0",
"@tensorflow/tfjs-node": "^3.0.0", "@tensorflow/tfjs-node": "^3.0.0",
"@tensorflow/tfjs-node-gpu": "^3.0.0", "@tensorflow/tfjs-node-gpu": "^3.0.0",
"@types/node": "^14.14.25", "@types/node": "^14.14.27",
"@typescript-eslint/eslint-plugin": "^4.14.2", "@typescript-eslint/eslint-plugin": "^4.15.0",
"@typescript-eslint/parser": "^4.14.2", "@typescript-eslint/parser": "^4.15.0",
"chokidar": "^3.5.1", "chokidar": "^3.5.1",
"esbuild": "^0.8.42", "esbuild": "^0.8.44",
"eslint": "^7.19.0", "eslint": "^7.19.0",
"eslint-config-airbnb-base": "^14.2.1", "eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.22.1", "eslint-plugin-import": "^2.22.1",
"eslint-plugin-json": "^2.1.2", "eslint-plugin-json": "^2.1.2",
"eslint-plugin-node": "^11.1.0", "eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1", "eslint-plugin-promise": "^4.3.1",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"tslib": "^2.1.0", "tslib": "^2.1.0",
"typescript": "^4.1.3" "typescript": "^4.1.5"
} }
} }

View File

@ -21,7 +21,6 @@ const banner = `
`; `;
// tsc configuration // tsc configuration
const tsconfig = { const tsconfig = {
noEmitOnError: false, noEmitOnError: false,
target: ts.ScriptTarget.ES2018, target: ts.ScriptTarget.ES2018,