Skip to content

Commit 0e42d27

Browse files
authored
Update default Node.js version to 18 (#377)
* Update default Node.js version to 18 * remove unsafe perm - no longer supported this way in Node.js 18 default npm
1 parent 6033457 commit 0e42d27

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ RUN curl -fsSL "https://deb.nodesource.com/setup_${node_version}.x" | bash -
153153
RUN apt-get install -y nodejs
154154

155155
# Add Node TypeScript support
156-
RUN npm config set unsafe-perm true
157156
RUN npm i -g grpc_tools_node_protoc_ts@$node_grpc_tools_node_protoc_ts_version grpc-tools@$node_grpc_tools_version protoc-gen-grpc-web@$node_protoc_gen_grpc_web_version
158157

159158
# Add TypeScript support

variables.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ PROTOBUF_JS_VERSION=${PROTOBUF_JS_VERSION:-v3.21.2}
1616
UBER_PROTOTOOL_VERSION=${UBER_PROTOTOOL_VERSION:-1.10.0}
1717
SCALA_PB_VERSION=${SCALA_PB_VERSION:-0.11.0}
1818
MYPY_VERSION=${MYPY_VERSION:-3.4.0}
19-
NODE_VERSION=${NODE_VERSION:-14}
19+
NODE_VERSION=${NODE_VERSION:-18}
2020
NODE_GRPC_TOOLS_NODE_PROTOC_TS_VERSION=${NODE_GRPC_TOOLS_NODE_PROTOC_TS_VERSION:-5.3.2}
2121
NODE_GRPC_TOOLS_VERSION=${NODE_GRPC_TOOLS_VERSION:-1.12.3}
2222
NODE_PROTOC_GEN_GRPC_WEB_VERSION=${NODE_PROTOC_GEN_GRPC_WEB_VERSION:-1.4.1}

0 commit comments

Comments
 (0)