Skip to content

Commit 9ba0cab

Browse files
committed
chore: update deps, improve static statement source locations
1 parent b6e9cb7 commit 9ba0cab

File tree

50 files changed

+612
-630
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+612
-630
lines changed

.changeset/all-numbers-poke.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
"@marko/translator-interop-class-tags": patch
3+
"marko": patch
4+
"@marko/runtime-tags": patch
5+
"@marko/compiler": patch
6+
---
7+
8+
Update package dependencies.

.changeset/loud-falcons-travel.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"marko": patch
3+
"@marko/runtime-tags": patch
4+
---
5+
6+
Improve source location information for static statements.

.sizes.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@
6363
"brotli": 123
6464
},
6565
"runtime": {
66-
"min": 2355,
67-
"brotli": 1202
66+
"min": 2340,
67+
"brotli": 1186
6868
},
6969
"total": {
70-
"min": 2497,
71-
"brotli": 1325
70+
"min": 2482,
71+
"brotli": 1309
7272
}
7373
}
7474
]

package-lock.json

Lines changed: 492 additions & 451 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,24 +33,24 @@
3333
"@changesets/changelog-github": "^0.5.1",
3434
"@changesets/cli": "^2.29.5",
3535
"@ebay/browserslist-config": "^2.11.0",
36-
"@eslint/js": "^9.31.0",
36+
"@eslint/js": "^9.33.0",
3737
"@rollup/plugin-terser": "^0.4.4",
3838
"@rollup/plugin-virtual": "^3.0.2",
3939
"@types/babel__code-frame": "^7.0.6",
4040
"@types/babel__generator": "^7.27.0",
41-
"@types/babel__traverse": "^7.20.7",
41+
"@types/babel__traverse": "^7.28.0",
4242
"@types/jsdom": "^21.1.7",
4343
"@types/mocha": "^10.0.10",
44-
"@types/node": "^24.0.13",
44+
"@types/node": "^24.2.1",
4545
"~ts": "file:scripts/babel-register.js",
4646
"babel-plugin-minprops": "^2.0.1",
4747
"bluebird": "^3.7.2",
4848
"c8": "^10.1.3",
4949
"chai": "^4.4.1",
50-
"cross-env": "^7.0.3",
51-
"diffable-html": "^5.0.0",
52-
"esbuild": "^0.25.6",
53-
"eslint": "^9.31.0",
50+
"cross-env": "^10.0.0",
51+
"diffable-html": "^6.0.1",
52+
"esbuild": "^0.25.9",
53+
"eslint": "^9.33.0",
5454
"eslint-formatter-unix": "^8.40.0",
5555
"eslint-plugin-simple-import-sort": "^12.1.1",
5656
"express": "^5.1.0",
@@ -60,19 +60,19 @@
6060
"jsdom": "^26.1.0",
6161
"jsdom-context-require": "^5.2.5",
6262
"kleur": "^4.1.5",
63-
"lint-staged": "^16.1.2",
63+
"lint-staged": "^16.1.5",
6464
"mocha": "^11.7.1",
6565
"mocha-autotest": "^1.1.3",
6666
"mocha-snap": "^5.0.0",
6767
"prettier": "^3.6.2",
68-
"prettier-plugin-packagejson": "^2.5.18",
69-
"pretty-format": "^30.0.2",
70-
"rollup": "^4.44.2",
68+
"prettier-plugin-packagejson": "^2.5.19",
69+
"pretty-format": "^30.0.5",
70+
"rollup": "^4.46.2",
7171
"table": "^6.9.0",
7272
"through": "^2.3.8",
7373
"through2": "^4.0.2",
7474
"tiny-glob": "^0.2.9",
75-
"typescript": "^5.8.3",
76-
"typescript-eslint": "^8.36.0"
75+
"typescript": "^5.9.2",
76+
"typescript-eslint": "^8.39.1"
7777
}
7878
}

packages/compiler/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@
6969
"@babel/plugin-syntax-typescript": "^7.27.1",
7070
"@babel/plugin-transform-modules-commonjs": "^7.27.1",
7171
"@babel/plugin-transform-typescript": "^7.28.0",
72-
"@babel/runtime": "^7.27.6",
72+
"@babel/runtime": "^7.28.2",
7373
"@babel/traverse": "^7.28.0",
74-
"@babel/types": "^7.28.0",
74+
"@babel/types": "^7.28.2",
7575
"@luxass/strip-json-comments": "^1.4.0",
7676
"complain": "^1.6.1",
7777
"he": "^1.2.0",
78-
"htmljs-parser": "^5.5.4",
78+
"htmljs-parser": "^5.7.3",
7979
"jsesc": "^3.1.0",
8080
"kleur": "^4.1.5",
8181
"lasso-package-root": "^1.0.1",
@@ -87,7 +87,7 @@
8787
"source-map-support": "^0.5.21"
8888
},
8989
"devDependencies": {
90-
"marko": "^5.37.41"
90+
"marko": "^5.37.42"
9191
},
9292
"engines": {
9393
"node": "18 || 20 || >=22"

packages/runtime-class/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@
6969
"build": "babel ./src --out-dir ./dist --extensions .js --copy-files --config-file ../../babel.config.js --env-name=production"
7070
},
7171
"dependencies": {
72-
"@babel/runtime": "^7.27.6",
73-
"@marko/compiler": "^5.39.29",
72+
"@babel/runtime": "^7.28.2",
73+
"@marko/compiler": "^5.39.31",
7474
"app-module-path": "^2.2.0",
7575
"argly": "^1.2.0",
7676
"browser-refresh-client": "1.1.4",

packages/runtime-class/src/translator/taglib/core/parse-class.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@ export default function (path) {
1212
node,
1313
hub: { file },
1414
} = path;
15-
const {
16-
rawValue: code,
17-
name: { start },
18-
end,
19-
} = node;
15+
const { rawValue: code, start, end } = node;
2016
const meta = file.metadata.marko;
2117

2218
if (meta.hasComponent) {

packages/runtime-class/src/translator/taglib/core/parse-export.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@ export default function (path) {
55
node,
66
hub: { file },
77
} = path;
8-
const {
9-
rawValue,
10-
name: { start, end },
11-
} = node;
8+
const { rawValue, start, end } = node;
129
const [exportNode] = parseStatements(file, rawValue, start, end);
1310
path.replaceWith(exportNode);
1411
}

packages/runtime-class/src/translator/taglib/core/parse-import.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@ export default function (path) {
55
node,
66
hub: { file },
77
} = path;
8-
const {
9-
rawValue,
10-
name: { start, end },
11-
} = node;
8+
const { rawValue, start, end } = node;
129
const [importNode] = parseStatements(file, rawValue, start, end);
1310
path.replaceWith(importNode);
1411
}

0 commit comments

Comments
 (0)