Skip to content

Commit d365ce2

Browse files
authored
chore: update to rules_js 1.12.0 (#126)
1 parent e0aff6f commit d365ce2

File tree

2 files changed

+6
-28
lines changed

2 files changed

+6
-28
lines changed

swc/cli_repositories.bzl

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"@generated by @aspect_rules_js//npm/private:npm_translate_lock.bzl from //swc:pnpm-lock.yaml"
1+
"""@generated by npm_translate_lock(name = "swc_cli", pnpm_lock = "//swc:pnpm-lock.yaml")"""
22

33
load("@aspect_rules_js//npm:npm_import.bzl", "npm_import")
44

@@ -12,7 +12,6 @@ def npm_repositories():
1212
package = "@nodelib/fs.scandir",
1313
version = "2.1.5",
1414
url = "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
15-
lifecycle_hooks_no_sandbox = True,
1615
npm_translate_lock_repo = "swc_cli",
1716
integrity = "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
1817
deps = {
@@ -35,7 +34,6 @@ def npm_repositories():
3534
package = "@nodelib/fs.stat",
3635
version = "2.0.5",
3736
url = "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
38-
lifecycle_hooks_no_sandbox = True,
3937
npm_translate_lock_repo = "swc_cli",
4038
integrity = "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
4139
transitive_closure = {
@@ -51,7 +49,6 @@ def npm_repositories():
5149
package = "@nodelib/fs.walk",
5250
version = "1.2.8",
5351
url = "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
54-
lifecycle_hooks_no_sandbox = True,
5552
npm_translate_lock_repo = "swc_cli",
5653
integrity = "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
5754
deps = {
@@ -79,7 +76,6 @@ def npm_repositories():
7976
package = "@swc/cli",
8077
version = "0.1.57",
8178
url = "https://registry.npmjs.org/@swc/cli/-/cli-0.1.57.tgz",
82-
lifecycle_hooks_no_sandbox = True,
8379
npm_translate_lock_repo = "swc_cli",
8480
integrity = "sha512-HxM8TqYHhAg+zp7+RdTU69bnkl4MWdt1ygyp6BDIPjTiaJVH6Dizn2ezbgDS8mnFZI1FyhKvxU/bbaUs8XhzQg==",
8581
deps = {
@@ -122,7 +118,6 @@ def npm_repositories():
122118
package = "braces",
123119
version = "3.0.2",
124120
url = "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
125-
lifecycle_hooks_no_sandbox = True,
126121
npm_translate_lock_repo = "swc_cli",
127122
integrity = "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
128123
deps = {
@@ -144,7 +139,6 @@ def npm_repositories():
144139
package = "commander",
145140
version = "7.2.0",
146141
url = "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz",
147-
lifecycle_hooks_no_sandbox = True,
148142
npm_translate_lock_repo = "swc_cli",
149143
integrity = "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==",
150144
transitive_closure = {
@@ -160,7 +154,6 @@ def npm_repositories():
160154
package = "fast-glob",
161155
version = "3.2.11",
162156
url = "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.11.tgz",
163-
lifecycle_hooks_no_sandbox = True,
164157
npm_translate_lock_repo = "swc_cli",
165158
integrity = "sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==",
166159
deps = {
@@ -200,7 +193,6 @@ def npm_repositories():
200193
package = "fastq",
201194
version = "1.13.0",
202195
url = "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz",
203-
lifecycle_hooks_no_sandbox = True,
204196
npm_translate_lock_repo = "swc_cli",
205197
integrity = "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==",
206198
deps = {
@@ -220,7 +212,6 @@ def npm_repositories():
220212
package = "fill-range",
221213
version = "7.0.1",
222214
url = "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
223-
lifecycle_hooks_no_sandbox = True,
224215
npm_translate_lock_repo = "swc_cli",
225216
integrity = "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
226217
deps = {
@@ -241,7 +232,6 @@ def npm_repositories():
241232
package = "glob-parent",
242233
version = "5.1.2",
243234
url = "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
244-
lifecycle_hooks_no_sandbox = True,
245235
npm_translate_lock_repo = "swc_cli",
246236
integrity = "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
247237
deps = {
@@ -262,7 +252,6 @@ def npm_repositories():
262252
package = "is-extglob",
263253
version = "2.1.1",
264254
url = "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
265-
lifecycle_hooks_no_sandbox = True,
266255
npm_translate_lock_repo = "swc_cli",
267256
integrity = "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
268257
transitive_closure = {
@@ -278,7 +267,6 @@ def npm_repositories():
278267
package = "is-glob",
279268
version = "4.0.3",
280269
url = "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
281-
lifecycle_hooks_no_sandbox = True,
282270
npm_translate_lock_repo = "swc_cli",
283271
integrity = "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
284272
deps = {
@@ -298,7 +286,6 @@ def npm_repositories():
298286
package = "is-number",
299287
version = "7.0.0",
300288
url = "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
301-
lifecycle_hooks_no_sandbox = True,
302289
npm_translate_lock_repo = "swc_cli",
303290
integrity = "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
304291
transitive_closure = {
@@ -314,7 +301,6 @@ def npm_repositories():
314301
package = "merge2",
315302
version = "1.4.1",
316303
url = "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
317-
lifecycle_hooks_no_sandbox = True,
318304
npm_translate_lock_repo = "swc_cli",
319305
integrity = "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
320306
transitive_closure = {
@@ -330,7 +316,6 @@ def npm_repositories():
330316
package = "micromatch",
331317
version = "4.0.5",
332318
url = "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz",
333-
lifecycle_hooks_no_sandbox = True,
334319
npm_translate_lock_repo = "swc_cli",
335320
integrity = "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==",
336321
deps = {
@@ -355,7 +340,6 @@ def npm_repositories():
355340
package = "picomatch",
356341
version = "2.3.1",
357342
url = "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
358-
lifecycle_hooks_no_sandbox = True,
359343
npm_translate_lock_repo = "swc_cli",
360344
integrity = "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
361345
transitive_closure = {
@@ -371,7 +355,6 @@ def npm_repositories():
371355
package = "queue-microtask",
372356
version = "1.2.3",
373357
url = "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
374-
lifecycle_hooks_no_sandbox = True,
375358
npm_translate_lock_repo = "swc_cli",
376359
integrity = "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
377360
transitive_closure = {
@@ -387,7 +370,6 @@ def npm_repositories():
387370
package = "reusify",
388371
version = "1.0.4",
389372
url = "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
390-
lifecycle_hooks_no_sandbox = True,
391373
npm_translate_lock_repo = "swc_cli",
392374
integrity = "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
393375
transitive_closure = {
@@ -403,7 +385,6 @@ def npm_repositories():
403385
package = "run-parallel",
404386
version = "1.2.0",
405387
url = "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
406-
lifecycle_hooks_no_sandbox = True,
407388
npm_translate_lock_repo = "swc_cli",
408389
integrity = "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
409390
deps = {
@@ -423,7 +404,6 @@ def npm_repositories():
423404
package = "slash",
424405
version = "3.0.0",
425406
url = "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
426-
lifecycle_hooks_no_sandbox = True,
427407
npm_translate_lock_repo = "swc_cli",
428408
integrity = "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
429409
transitive_closure = {
@@ -439,7 +419,6 @@ def npm_repositories():
439419
package = "source-map",
440420
version = "0.7.4",
441421
url = "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz",
442-
lifecycle_hooks_no_sandbox = True,
443422
npm_translate_lock_repo = "swc_cli",
444423
integrity = "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==",
445424
transitive_closure = {
@@ -455,7 +434,6 @@ def npm_repositories():
455434
package = "to-regex-range",
456435
version = "5.0.1",
457436
url = "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
458-
lifecycle_hooks_no_sandbox = True,
459437
npm_translate_lock_repo = "swc_cli",
460438
integrity = "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
461439
deps = {

swc/dependencies.bzl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ def rules_swc_dependencies():
2121

2222
http_archive(
2323
name = "aspect_rules_js",
24-
sha256 = "f58d7be1bb0e4b7edb7a0085f969900345f5914e4e647b4f0d2650d5252aa87d",
25-
strip_prefix = "rules_js-1.8.0",
26-
url = "https://github.com/aspect-build/rules_js/archive/refs/tags/v1.8.0.tar.gz",
24+
sha256 = "519c92af31ff856659dc48711110f69139b9c3a74511f5b0118c887dcf06e360",
25+
strip_prefix = "rules_js-1.12.0",
26+
url = "https://github.com/aspect-build/rules_js/archive/refs/tags/v1.12.0.tar.gz",
2727
)
2828

2929
http_archive(
3030
name = "rules_nodejs",
31-
sha256 = "50adf0b0ff6fc77d6909a790df02eefbbb3bc2b154ece3406361dda49607a7bd",
32-
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.7.1/rules_nodejs-core-5.7.1.tar.gz"],
31+
sha256 = "08337d4fffc78f7fe648a93be12ea2fc4e8eb9795a4e6aa48595b66b34555626",
32+
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.8.0/rules_nodejs-core-5.8.0.tar.gz"],
3333
)

0 commit comments

Comments
 (0)