Skip to content

Commit 37096f8

Browse files
committed
upgraded dependencies
1 parent bd439f7 commit 37096f8

File tree

10 files changed

+44
-121
lines changed

10 files changed

+44
-121
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
"node": ">=14"
2727
},
2828
"dependencies": {
29-
"@rollup/plugin-commonjs": "~25.0.7",
30-
"@rollup/plugin-node-resolve": "~15.2.3",
29+
"@rollup/plugin-commonjs": "~29.0.1",
30+
"@rollup/plugin-node-resolve": "~16.0.3",
3131
"faucet-pipeline-core": "^2.0.0",
32-
"rollup": "^4.3.0",
32+
"rollup": "^4.59.0",
3333
"rollup-plugin-cleanup": "~3.2.1"
3434
},
3535
"devDependencies": {
@@ -39,7 +39,7 @@
3939
"faucet-pipeline-jsx": "file:pkg/faucet-pipeline-jsx",
4040
"faucet-pipeline-typescript": "file:pkg/faucet-pipeline-typescript",
4141
"json-diff": "^1.0.6",
42-
"mocha": "^10.2.0",
42+
"mocha": "^11.7.5",
4343
"npm-run-all": "^4.1.5",
4444
"release-util-fnd": "^3.0.0"
4545
}

pkg/faucet-pipeline-esnext/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
"url": "https://github.com/faucet-pipeline/faucet-pipeline-js/issues"
1414
},
1515
"dependencies": {
16-
"@babel/core": "~7.23.3",
17-
"@babel/preset-env": "~7.23.3",
18-
"@rollup/plugin-babel": "~6.0.4",
16+
"@babel/core": "~7.29.0",
17+
"@babel/preset-env": "~7.29.0",
18+
"@rollup/plugin-babel": "~7.0.0",
1919
"faucet-pipeline-js": "3.0.1"
2020
}
2121
}

pkg/faucet-pipeline-jsmin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
"url": "https://github.com/faucet-pipeline/faucet-pipeline-js/issues"
1414
},
1515
"dependencies": {
16-
"@rollup/plugin-terser": "^0.4.4"
16+
"@rollup/plugin-terser": "^1.0.0"
1717
}
1818
}

pkg/faucet-pipeline-jsx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"url": "https://github.com/faucet-pipeline/faucet-pipeline-js/issues"
1414
},
1515
"dependencies": {
16-
"@babel/plugin-transform-react-jsx": "~7.22.15",
16+
"@babel/plugin-transform-react-jsx": "~7.28.6",
1717
"faucet-pipeline-esnext": "3.0.1"
1818
}
1919
}

pkg/faucet-pipeline-typescript/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
"url": "https://github.com/faucet-pipeline/faucet-pipeline-js/issues"
1717
},
1818
"dependencies": {
19-
"@rollup/plugin-typescript": "~11.1.5",
19+
"@rollup/plugin-typescript": "~12.3.0",
2020
"faucet-pipeline-js": "3.0.1",
21-
"tslib": "~2.6.2",
22-
"typescript": "~5.2.2"
21+
"tslib": "~2.8.1",
22+
"typescript": "~5.9.3"
2323
}
2424
}

test/cli/test_browserslist/expected_legacy.js

Lines changed: 5 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,10 @@
1-
function _classCallCheck(instance, Constructor) {
2-
if (!(instance instanceof Constructor)) {
3-
throw new TypeError("Cannot call a class as a function");
4-
}
1+
function _classCallCheck(a, n) {
2+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
53
}
6-
function _defineProperties(target, props) {
7-
for (var i = 0; i < props.length; i++) {
8-
var descriptor = props[i];
9-
descriptor.enumerable = descriptor.enumerable || false;
10-
descriptor.configurable = true;
11-
if ("value" in descriptor) descriptor.writable = true;
12-
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
13-
}
14-
}
15-
function _createClass(Constructor, protoProps, staticProps) {
16-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
17-
if (staticProps) _defineProperties(Constructor, staticProps);
18-
Object.defineProperty(Constructor, "prototype", {
4+
function _createClass(e, r, t) {
5+
return Object.defineProperty(e, "prototype", {
196
writable: false
20-
});
21-
return Constructor;
22-
}
23-
function _toPrimitive(input, hint) {
24-
if (typeof input !== "object" || input === null) return input;
25-
var prim = input[Symbol.toPrimitive];
26-
if (prim !== undefined) {
27-
var res = prim.call(input, hint || "default");
28-
if (typeof res !== "object") return res;
29-
throw new TypeError("@@toPrimitive must return a primitive value.");
30-
}
31-
return (hint === "string" ? String : Number)(input);
32-
}
33-
function _toPropertyKey(arg) {
34-
var key = _toPrimitive(arg, "string");
35-
return typeof key === "symbol" ? key : String(key);
7+
}), e;
368
}
379

3810
var Util = /*#__PURE__*/_createClass(function Util() {

test/cli/test_jsx/expected.js

Lines changed: 5 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,10 @@
1-
function _classCallCheck(instance, Constructor) {
2-
if (!(instance instanceof Constructor)) {
3-
throw new TypeError("Cannot call a class as a function");
4-
}
1+
function _classCallCheck(a, n) {
2+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
53
}
6-
function _defineProperties(target, props) {
7-
for (var i = 0; i < props.length; i++) {
8-
var descriptor = props[i];
9-
descriptor.enumerable = descriptor.enumerable || false;
10-
descriptor.configurable = true;
11-
if ("value" in descriptor) descriptor.writable = true;
12-
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
13-
}
14-
}
15-
function _createClass(Constructor, protoProps, staticProps) {
16-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
17-
if (staticProps) _defineProperties(Constructor, staticProps);
18-
Object.defineProperty(Constructor, "prototype", {
4+
function _createClass(e, r, t) {
5+
return Object.defineProperty(e, "prototype", {
196
writable: false
20-
});
21-
return Constructor;
22-
}
23-
function _toPrimitive(input, hint) {
24-
if (typeof input !== "object" || input === null) return input;
25-
var prim = input[Symbol.toPrimitive];
26-
if (prim !== undefined) {
27-
var res = prim.call(input, hint || "default");
28-
if (typeof res !== "object") return res;
29-
throw new TypeError("@@toPrimitive must return a primitive value.");
30-
}
31-
return (hint === "string" ? String : Number)(input);
32-
}
33-
function _toPropertyKey(arg) {
34-
var key = _toPrimitive(arg, "string");
35-
return typeof key === "symbol" ? key : String(key);
7+
}), e;
368
}
379

3810
var MyComponent = /*#__PURE__*/_createClass(function MyComponent() {

test/cli/test_sourcemap/expected.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/cli/test_transpilation/expected.js

Lines changed: 5 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,10 @@
1-
function _classCallCheck(instance, Constructor) {
2-
if (!(instance instanceof Constructor)) {
3-
throw new TypeError("Cannot call a class as a function");
4-
}
1+
function _classCallCheck(a, n) {
2+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
53
}
6-
function _defineProperties(target, props) {
7-
for (var i = 0; i < props.length; i++) {
8-
var descriptor = props[i];
9-
descriptor.enumerable = descriptor.enumerable || false;
10-
descriptor.configurable = true;
11-
if ("value" in descriptor) descriptor.writable = true;
12-
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
13-
}
14-
}
15-
function _createClass(Constructor, protoProps, staticProps) {
16-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
17-
if (staticProps) _defineProperties(Constructor, staticProps);
18-
Object.defineProperty(Constructor, "prototype", {
4+
function _createClass(e, r, t) {
5+
return Object.defineProperty(e, "prototype", {
196
writable: false
20-
});
21-
return Constructor;
22-
}
23-
function _toPrimitive(input, hint) {
24-
if (typeof input !== "object" || input === null) return input;
25-
var prim = input[Symbol.toPrimitive];
26-
if (prim !== undefined) {
27-
var res = prim.call(input, hint || "default");
28-
if (typeof res !== "object") return res;
29-
throw new TypeError("@@toPrimitive must return a primitive value.");
30-
}
31-
return (hint === "string" ? String : Number)(input);
32-
}
33-
function _toPropertyKey(arg) {
34-
var key = _toPrimitive(arg, "string");
35-
return typeof key === "symbol" ? key : String(key);
7+
}), e;
368
}
379

3810
var Util = /*#__PURE__*/_createClass(function Util() {

test/unit/test_bundling.js

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -101,19 +101,26 @@ var dist = {exports: {}};
101101
102102
/* eslint-disable */
103103
104-
(function (module) {
105-
(function(window) {
104+
var hasRequiredDist;
106105
107-
var MYLIB = "MY-LIB";
106+
function requireDist () {
107+
if (hasRequiredDist) return dist.exports;
108+
hasRequiredDist = 1;
109+
(function (module) {
110+
(function(window) {
108111
109-
{
110-
module.exports = MYLIB;
111-
}
112+
var MYLIB = "MY-LIB";
112113
113-
}());$$$WHITESPACE$$$
114-
} (dist));
114+
{
115+
module.exports = MYLIB;
116+
}
115117
116-
var distExports = dist.exports;
118+
}());$$$WHITESPACE$$$
119+
} (dist));
120+
return dist.exports;
121+
}
122+
123+
var distExports = requireDist();
117124
var MYLIB = /*@__PURE__*/getDefaultExportFromCjs(distExports);
118125
119126
console.log("[\\u2026] ".concat(MYLIB)); // eslint-disable-line no-console

0 commit comments

Comments
 (0)