@modern-js/server-utils 2.33.1 → 2.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -70,11 +70,6 @@ const resolveBabelConfig = (appDirectory, config, option) => {
70
70
  legacy: true
71
71
  }
72
72
  ]);
73
- babelChain.plugin("@babel/plugin-proposal-class-properties").use(require.resolve("@babel/plugin-proposal-class-properties"), [
74
- {
75
- loose: true
76
- }
77
- ]);
78
73
  const internalBabelConfig = {
79
74
  ...babelChain.toJSON()
80
75
  };
@@ -46,11 +46,6 @@ export var resolveBabelConfig = function(appDirectory, config, option) {
46
46
  legacy: true
47
47
  }
48
48
  ]);
49
- babelChain.plugin("@babel/plugin-proposal-class-properties").use(require.resolve("@babel/plugin-proposal-class-properties"), [
50
- {
51
- loose: true
52
- }
53
- ]);
54
49
  var internalBabelConfig = _object_spread({}, babelChain.toJSON());
55
50
  return applyUserBabelConfig(internalBabelConfig, babelConfig);
56
51
  };
@@ -43,11 +43,6 @@ export const resolveBabelConfig = (appDirectory, config, option) => {
43
43
  legacy: true
44
44
  }
45
45
  ]);
46
- babelChain.plugin("@babel/plugin-proposal-class-properties").use(require.resolve("@babel/plugin-proposal-class-properties"), [
47
- {
48
- loose: true
49
- }
50
- ]);
51
46
  const internalBabelConfig = {
52
47
  ...babelChain.toJSON()
53
48
  };
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.33.1",
18
+ "version": "2.35.0",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -31,17 +31,16 @@
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "@babel/core": "^7.21.8",
35
- "@babel/plugin-proposal-class-properties": "^7.18.6",
36
- "@babel/plugin-proposal-decorators": "^7.21.0",
37
- "@babel/preset-env": "^7.21.5",
38
- "@babel/preset-typescript": "^7.21.5",
34
+ "@babel/core": "^7.22.15",
35
+ "@babel/plugin-proposal-decorators": "^7.22.15",
36
+ "@babel/preset-env": "^7.22.15",
37
+ "@babel/preset-typescript": "^7.22.15",
39
38
  "babel-plugin-transform-typescript-metadata": "^0.3.2",
40
39
  "@swc/helpers": "0.5.1",
41
- "@modern-js/babel-compiler": "2.33.1",
42
- "@modern-js/babel-preset-base": "2.33.1",
43
- "@modern-js/utils": "2.33.1",
44
- "@modern-js/babel-plugin-module-resolver": "2.33.1"
40
+ "@modern-js/babel-compiler": "2.35.0",
41
+ "@modern-js/babel-preset-base": "2.35.0",
42
+ "@modern-js/utils": "2.35.0",
43
+ "@modern-js/babel-plugin-module-resolver": "2.35.0"
45
44
  },
46
45
  "devDependencies": {
47
46
  "@types/babel__core": "^7.20.0",
@@ -50,9 +49,9 @@
50
49
  "jest": "^29",
51
50
  "ts-jest": "^29.1.0",
52
51
  "typescript": "^5",
53
- "@modern-js/server-core": "2.33.1",
54
- "@scripts/build": "2.33.1",
55
- "@scripts/jest-config": "2.33.1"
52
+ "@modern-js/server-core": "2.35.0",
53
+ "@scripts/build": "2.35.0",
54
+ "@scripts/jest-config": "2.35.0"
56
55
  },
57
56
  "sideEffects": false,
58
57
  "publishConfig": {