- Removed outdated Node.js v24 compatibility patches for `TextEncoder` and `TextDecoder` in `cli-wrapper.js` and other modules since TensorFlow.js now supports Node.js v24+ natively. - Introduced a utility module `src/utils/tensorflowUtils.ts` for TensorFlow.js compatibility, defining global `PlatformNode` and related utilities. - Enhanced `fileSystemStorage.ts` with improved Node.js module loading mechanisms for better compatibility across environments. - Simplified dependency requirements by reducing the minimum Node.js version to `>=23.0.0`. - Updated `package.json`, `cli-package/package.json`, and `README.md` versions to `0.9.25`. - Harmonized `cli-package` and main package dependencies to ensure version alignment. - Improved global compatibility with TensorFlow.js in mixed Node.js environments. This update modernizes TensorFlow.js integration, reduces maintenance efforts, and aligns compatibility with current Node.js and TensorFlow.js capabilities.
59 lines
829 B
Text
59 lines
829 B
Text
# Build output
|
|
/tmp
|
|
/out-tsc
|
|
/dist
|
|
/cloud-wrapper/dist
|
|
|
|
# Dependencies
|
|
/node_modules
|
|
/cloud-wrapper/node_modules
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
/.pnp
|
|
.pnp.js
|
|
|
|
# Coverage directory
|
|
/coverage
|
|
|
|
# Environment files
|
|
.env
|
|
.env.local
|
|
.env.development.local
|
|
.env.test.local
|
|
.env.production.local
|
|
|
|
# IDE files
|
|
.vscode/
|
|
.idea/
|
|
*.iml
|
|
*.iws
|
|
*.ipr
|
|
*.sublime-workspace
|
|
*.sublime-project
|
|
|
|
# OS files
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Data directories created by FileSystemStorage
|
|
/brainy-data
|
|
/custom-data
|
|
/clean-history.sh
|
|
/bluesky-augmentation/node_modules/
|
|
/bluesky-augmentation/dist/
|
|
|
|
# Test files
|
|
/test-worker.js
|
|
/test-node24-worker.js
|
|
|
|
# Generated files
|
|
/encoded-image.html
|
|
/encoded-image.txt
|
|
/cli-package/dist/
|
|
/cli-package/node_modules/
|
|
/npm
|
|
/rollup
|
|
/soulcraft-brainy-0.9.23.tgz
|
|
/cli-package/soulcraft-brainy-cli-0.9.23.tgz
|
|
/data/
|