update tfjs

pull/356/head
Vladimir Mandic 2021-10-28 14:40:31 -04:00
parent e15792e88b
commit 8ea9a89642
4 changed files with 14 additions and 5 deletions

View File

@ -9,11 +9,15 @@
## Changelog
### **2.4.2** 2021/10/27 mandic00@live.com
### **2.4.3** 2021/10/28 mandic00@live.com
### **origin/main** 2021/10/27 mandic00@live.com
### **2.4.2** 2021/10/27 mandic00@live.com
- add ts demo
- switch from es2018 to es2020 for main build
- switch to custom tfjs for demos

View File

@ -3,6 +3,7 @@
## Work in Progress
- Switch to custom `tfjs` for main `human` ESM bundle
- Sort out incompatibility with latest `long.js` 5.0.0 due to CJS to ESM switch
<br>

View File

@ -55,7 +55,6 @@
"tensorflow"
],
"devDependencies": {
"@tensorflow/tfjs": "^3.11.0",
"@tensorflow/tfjs-backend-cpu": "^3.11.0",
"@tensorflow/tfjs-backend-wasm": "^3.11.0",
"@tensorflow/tfjs-backend-webgl": "^3.11.0",
@ -64,8 +63,9 @@
"@tensorflow/tfjs-core": "^3.11.0",
"@tensorflow/tfjs-data": "^3.11.0",
"@tensorflow/tfjs-layers": "^3.11.0",
"@tensorflow/tfjs-node": "^3.11.0",
"@tensorflow/tfjs-node-gpu": "^3.11.0",
"@tensorflow/tfjs-node": "^3.11.0",
"@tensorflow/tfjs": "^3.11.0",
"@types/node": "^16.11.6",
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.2.0",
@ -74,19 +74,21 @@
"canvas": "^2.8.0",
"dayjs": "^1.10.7",
"esbuild": "^0.13.10",
"eslint": "8.1.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-html": "^6.2.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.1",
"long": "^5.0.0",
"eslint": "8.1.0",
"long": "4",
"node-fetch": "^3.0.0",
"rimraf": "^3.0.2",
"seedrandom": "^3.0.5",
"tslib": "^2.3.1",
"typedoc": "0.22.7",
"typescript": "4.4.4"
},
"dependencies": {
}
}

View File

@ -16,3 +16,5 @@ export { GraphModel } from '@tensorflow/tfjs-converter/dist/index';
* @external
*/
export { Long } from 'long';
// import Long from 'long';
// export { Long };