Skip to content

Commit

Permalink
Upgrade nodejs to 18.7.0 (#6863)
Browse files Browse the repository at this point in the history
* Upgrade nodejs to 18.7.0

* Fix hash table test string not passed as base64
  • Loading branch information
mattsoulanille authored Sep 29, 2022
1 parent 39dd70a commit f6cc075
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 146 deletions.
2 changes: 1 addition & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ load("@rules_nodejs//nodejs:repositories.bzl", "nodejs_register_toolchains")

nodejs_register_toolchains(
name = "nodejs",
node_version = "16.13.2",
node_version = "18.7.0",
)

# Install the yarn tool
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"rollup": "^2.46.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-visualizer": "~3.3.2",
"rollup-plugin-visualizer": "~5.8.2",
"seedrandom": "^3.0.5",
"shelljs": "~0.8.5",
"string_decoder": "^1.3.0",
Expand Down
4 changes: 2 additions & 2 deletions tfjs-converter/src/executor/graph_model_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ const INITIALIZER_GRAPHDEF: tensorflow.IGraphDef = {
use_node_name_sharing: {b: false},
key_dtype: {type: tensorflow.DataType.DT_STRING},
container: {s: ''},
shared_name: {s: 'tablename'}
shared_name: {s: 'dGFibGVuYW1l' /* base64 'tablename' */}
}
},
{
Expand Down Expand Up @@ -277,7 +277,7 @@ const HASH_TABLE_MODEL: tensorflow.IGraphDef = {
use_node_name_sharing: {b: false},
key_dtype: {type: tensorflow.DataType.DT_STRING},
container: {s: ''},
shared_name: {s: 'tablename'}
shared_name: {s: 'dGFibGVuYW1l' /* base64 'tablename' */}
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion tools/make_rollup_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import * as commonjs_import from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
import * as sourcemaps_import from 'rollup-plugin-sourcemaps';
import * as visualizer from 'rollup-plugin-visualizer';
import {visualizer} from 'rollup-plugin-visualizer';
import {terser as terserPlugin} from 'rollup-plugin-terser';
import {downlevelToEs5Plugin} from 'downlevel_to_es5_plugin/downlevel_to_es5_plugin';

Expand Down
Loading

0 comments on commit f6cc075

Please sign in to comment.