Skip to content

Commit 23d2864

Browse files
Update dependency build_bazel_rules_nodejs to v3 (#1778)
* Update dependency build_bazel_rules_nodejs to v3 * Also upgrade rules_nodejs npm deps * update rules_nodejs golden Co-authored-by: Alex Eagle <[email protected]>
1 parent 8f17c31 commit 23d2864

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

WORKSPACE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,8 @@ d_repositories()
354354

355355
http_archive(
356356
name = "build_bazel_rules_nodejs",
357-
sha256 = "10fffa29f687aa4d8eb6dfe8731ab5beb63811ab00981fc84a93899641fd4af1",
358-
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.0.3/rules_nodejs-2.0.3.tar.gz"],
357+
sha256 = "10f534e1c80f795cffe1f2822becd4897754d18564612510c59b3c73544ae7c6",
358+
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/3.5.0/rules_nodejs-3.5.0.tar.gz"],
359359
)
360360

361361
load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install")

container/image_test.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,9 @@ def test_nodejs_image(self):
883883
'./app/testdata/nodejs_image_binary.runfiles/build_bazel_rules_nodejs/internal',
884884
'./app/testdata/nodejs_image_binary.runfiles/build_bazel_rules_nodejs/internal/linker',
885885
'./app/testdata/nodejs_image_binary.runfiles/build_bazel_rules_nodejs/internal/linker/index.js',
886-
'./app/testdata/nodejs_image_binary.runfiles/build_bazel_rules_nodejs/internal/linker/runfiles_helper.js',
886+
'./app/testdata/nodejs_image_binary.runfiles/build_bazel_rules_nodejs/internal/runfiles',
887+
'./app/testdata/nodejs_image_binary.runfiles/build_bazel_rules_nodejs/internal/runfiles/index.js',
888+
'./app/testdata/nodejs_image_binary.runfiles/build_bazel_rules_nodejs/internal/runfiles/runfile_helper_main.js',
887889
'./app/testdata/nodejs_image_binary.runfiles/build_bazel_rules_nodejs/internal/node',
888890
'./app/testdata/nodejs_image_binary.runfiles/build_bazel_rules_nodejs/internal/node/node_patches.js',
889891
'./app/testdata/nodejs_image_binary.runfiles/build_bazel_rules_nodejs/internal/coverage',
@@ -918,6 +920,7 @@ def test_nodejs_image(self):
918920
'./app/testdata/nodejs_image_binary.runfiles/build_bazel_rules_nodejs/third_party/github.com/source-map/lib/util.js',
919921
'./app/testdata/nodejs_image_binary.runfiles/build_bazel_rules_nodejs/third_party/github.com/source-map-support',
920922
'./app/testdata/nodejs_image_binary.runfiles/build_bazel_rules_nodejs/third_party/github.com/source-map-support/package.json',
923+
'./app/testdata/nodejs_image_binary.runfiles/build_bazel_rules_nodejs/third_party/github.com/source-map-support/register.js',
921924
'./app/testdata/nodejs_image_binary.runfiles/build_bazel_rules_nodejs/third_party/github.com/source-map-support/source-map-support.js',
922925
'./app/testdata/nodejs_image_binary.runfiles/io_bazel_rules_docker/testdata/nodejs_image_lib.js',
923926
'./app/testdata/nodejs_image_binary.runfiles/io_bazel_rules_docker/testdata/nodejs_image_lib.d.ts',

testdata/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"dependencies": {
3-
"@bazel/typescript": "2.0.3",
3+
"@bazel/typescript": "3.5.0",
44
"@types/jsesc": "2.5.1",
55
"@types/node": "12.12.47",
66
"jsesc": "3.0.2",

testdata/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# yarn lockfile v1
33

44

5-
"@bazel/typescript@2.0.3":
6-
version "2.0.3"
7-
resolved "https://registry.yarnpkg.com/@bazel/typescript/-/typescript-2.0.3.tgz#0be019014ef973f3a415c4671c65d943afc62023"
8-
integrity sha512-yESlesTHX7gOuBzuc61HtHB8h/gRCaEB3C6guJnBVPuz4tGMLJ069fJz/SW/pfgrACP7ixqWqHXIAEnPsRU+tw==
5+
"@bazel/typescript@3.5.0":
6+
version "3.5.0"
7+
resolved "https://registry.yarnpkg.com/@bazel/typescript/-/typescript-3.5.0.tgz#605493f4f0a5297df8a7fcccb86a1a80ea2090bb"
8+
integrity sha512-BtGFp4nYFkQTmnONCzomk7dkmOwaINBL3piq+lykBlcc6UxLe9iCAnZpOyPypB1ReN3k3SRNAa53x6oGScQxMg==
99
dependencies:
1010
protobufjs "6.8.8"
1111
semver "5.6.0"

0 commit comments

Comments
 (0)