Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Input hashes for repository rule npm_translate_lock(name = "npm2", pnpm_lock = "@//:pnpm-lock.yaml").
# This file should be checked into version control along with the pnpm-lock.yaml file.
.npmrc=-203833057
package.json=932622271
pnpm-lock.yaml=769575451
package.json=991206202
pnpm-lock.yaml=-879930952
pnpm-workspace.yaml=1711114604
yarn.lock=-1894567419
yarn.lock=-629218650
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
"@angular/cli": "20.0.0-rc.0",
"@angular/material": "20.0.0-rc.0",
"@angular/ssr": "20.0.0-rc.0",
"@babel/cli": "7.27.0",
"@babel/core": "7.26.10",
"@babel/generator": "7.27.0",
"@babel/cli": "7.27.2",
"@babel/core": "7.27.1",
"@babel/generator": "7.27.1",
"@bazel/concatjs": "5.8.1",
"@bazel/esbuild": "5.8.1",
"@bazel/jasmine": "5.8.1",
Expand Down Expand Up @@ -108,7 +108,7 @@
"canonical-path": "1.0.0",
"chalk": "^5.4.1",
"chokidar": "^4.0.0",
"convert-source-map": "^1.5.1",
"convert-source-map": "^2.0.0",
"d3": "^7.0.0",
"diff": "^7.0.0",
"domino": "https://github.com/angular/domino.git#8f228f8862540c6ccd14f76b5a1d9bb5458618af",
Expand Down
2 changes: 1 addition & 1 deletion packages/compiler-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
}
},
"dependencies": {
"@babel/core": "7.26.10",
"@babel/core": "7.27.1",
"@jridgewell/sourcemap-codec": "^1.4.14",
"reflect-metadata": "^0.2.0",
"chokidar": "^4.0.0",
Expand Down
10 changes: 7 additions & 3 deletions packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {readFileSync} from 'node:fs';
import {resolve} from 'node:path';
import {decode, encode, SourceMapMappings, SourceMapSegment} from '@jridgewell/sourcemap-codec';
import mapHelpers from 'convert-source-map';

Expand All @@ -14,9 +16,11 @@ import {RawSourceMap, SourceMapInfo} from './raw_source_map';
import {compareSegments, offsetSegment, SegmentMarker} from './segment_marker';

export function removeSourceMapComments(contents: string): string {
return mapHelpers
.removeMapFileComments(mapHelpers.removeComments(contents))
.replace(/\n\n$/, '\n');
// Cast to as any as typings are broken for this method.
return (mapHelpers.removeMapFileComments as any)(
mapHelpers.removeComments(contents),
(filename: string) => readFileSync(resolve('../my-dir', filename), 'utf-8'),
).replace(/\n\n$/, '\n');
}

export class SourceFile {
Expand Down
2 changes: 1 addition & 1 deletion packages/localize/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"./fesm2022/init.mjs"
],
"dependencies": {
"@babel/core": "7.26.10",
"@babel/core": "7.27.1",
"@types/babel__core": "7.20.5",
"tinyglobby": "^0.2.12",
"yargs": "^17.2.1"
Expand Down
4,966 changes: 2,459 additions & 2,507 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

33 changes: 16 additions & 17 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,6 @@

"@angular/ng-dev@https://github.com/angular/dev-infra-private-ng-dev-builds.git#14ea8ca5b4adfb73a1f4ad531116cd448379a0a3":
version "0.0.0-030487ad792aad6856c48b2d1e699b0d96e11a7b"
uid "14ea8ca5b4adfb73a1f4ad531116cd448379a0a3"
resolved "https://github.com/angular/dev-infra-private-ng-dev-builds.git#14ea8ca5b4adfb73a1f4ad531116cd448379a0a3"
dependencies:
"@google-cloud/spanner" "7.21.0"
Expand Down Expand Up @@ -522,10 +521,10 @@
"@csstools/css-tokenizer" "^3.0.3"
lru-cache "^10.4.3"

"@babel/[email protected].0":
version "7.27.0"
resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.27.0.tgz#076603b25fc7dd88298ea94ab249c8237c7e71cc"
integrity sha512-bZfxn8DRxwiVzDO5CEeV+7IqXeCkzI4yYnrQbpwjT76CUyossQc6RYE7n+xfm0/2k40lPaCpW0FhxYs7EBAetw==
"@babel/[email protected].2":
version "7.27.2"
resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.27.2.tgz#d54560567a73a269b31d3201bedb70692ace8684"
integrity sha512-cfd7DnGlhH6OIyuPSSj3vcfIdnbXukhAyKY8NaZrFadC7pXyL9mOL5WgjcptiEJLi5k3j8aYvLIVCzezrWTaiA==
dependencies:
"@jridgewell/trace-mapping" "^0.3.25"
commander "^6.2.0"
Expand Down Expand Up @@ -629,17 +628,6 @@
json5 "^2.2.3"
semver "^6.3.1"

"@babel/[email protected]", "@babel/generator@^7.26.0", "@babel/generator@^7.26.10", "@babel/generator@^7.27.0":
version "7.27.0"
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.27.0.tgz#764382b5392e5b9aff93cadb190d0745866cbc2c"
integrity sha512-VybsKvpiN1gU1sdMZIp7FcqphVVKEwcuj02x73uvcHE0PTihx1nlBcowYWhDwjpoAXRv43+gDzyggGnn1XZhVw==
dependencies:
"@babel/parser" "^7.27.0"
"@babel/types" "^7.27.0"
"@jridgewell/gen-mapping" "^0.3.5"
"@jridgewell/trace-mapping" "^0.3.25"
jsesc "^3.0.2"

"@babel/[email protected]", "@babel/generator@^7.27.1":
version "7.27.1"
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.27.1.tgz#862d4fad858f7208edd487c28b58144036b76230"
Expand All @@ -651,6 +639,17 @@
"@jridgewell/trace-mapping" "^0.3.25"
jsesc "^3.0.2"

"@babel/generator@^7.26.0", "@babel/generator@^7.26.10", "@babel/generator@^7.27.0":
version "7.27.0"
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.27.0.tgz#764382b5392e5b9aff93cadb190d0745866cbc2c"
integrity sha512-VybsKvpiN1gU1sdMZIp7FcqphVVKEwcuj02x73uvcHE0PTihx1nlBcowYWhDwjpoAXRv43+gDzyggGnn1XZhVw==
dependencies:
"@babel/parser" "^7.27.0"
"@babel/types" "^7.27.0"
"@jridgewell/gen-mapping" "^0.3.5"
"@jridgewell/trace-mapping" "^0.3.25"
jsesc "^3.0.2"

"@babel/[email protected]", "@babel/helper-annotate-as-pure@^7.25.9":
version "7.25.9"
resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.25.9.tgz#d8eac4d2dc0d7b6e11fa6e535332e0d3184f06b4"
Expand Down Expand Up @@ -7372,7 +7371,7 @@ conventional-commits-parser@^6.0.0:
dependencies:
meow "^13.0.0"

convert-source-map@^1.5.1, convert-source-map@^1.6.0, convert-source-map@^1.7.0:
convert-source-map@^1.6.0, convert-source-map@^1.7.0:
version "1.9.0"
resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f"
integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==
Expand Down
Loading