@modern-js/server-utils 1.2.7 → 1.2.10

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @modern-js/server-utils
2
2
 
3
+ ## 1.2.10
4
+
5
+ ### Patch Changes
6
+
7
+ - a1198d509: feat: bump babel 7.18.0
8
+ - Updated dependencies [a1198d509]
9
+ - Updated dependencies [a1198d509]
10
+ - @modern-js/babel-preset-lib@1.3.0
11
+ - @modern-js/plugin@1.3.6
12
+
13
+ ## 1.2.9
14
+
15
+ ### Patch Changes
16
+
17
+ - 77917e355: feat: support assign field in decorator
18
+ - Updated dependencies [54fa1dbd6]
19
+ - Updated dependencies [33de0f7ec]
20
+ - @modern-js/plugin@1.3.5
21
+ - @modern-js/utils@1.7.5
22
+
3
23
  ## 1.2.6
4
24
 
5
25
  ### Patch Changes
@@ -70,7 +70,8 @@ export const resolveBabelConfig = (appDirectory, modernConfig, option // FIXME:
70
70
  babelChain.plugin('babel-plugin-transform-typescript-metadata').use(require.resolve('babel-plugin-transform-typescript-metadata'), []);
71
71
  babelChain.plugin('@babel/plugin-proposal-decorators').use(require.resolve('@babel/plugin-proposal-decorators'), [{
72
72
  legacy: true
73
- }]);
73
+ }]); // resolve "Definitely assigned fields cannot be initialized here, but only in the constructor."
74
+
74
75
  babelChain.plugin('@babel/plugin-proposal-class-properties').use(require.resolve('@babel/plugin-proposal-class-properties'), [{
75
76
  loose: true
76
77
  }]);
@@ -108,7 +108,8 @@ const resolveBabelConfig = (appDirectory, modernConfig, option // FIXME: babel t
108
108
  babelChain.plugin('babel-plugin-transform-typescript-metadata').use(require.resolve('babel-plugin-transform-typescript-metadata'), []);
109
109
  babelChain.plugin('@babel/plugin-proposal-decorators').use(require.resolve('@babel/plugin-proposal-decorators'), [{
110
110
  legacy: true
111
- }]);
111
+ }]); // resolve "Definitely assigned fields cannot be initialized here, but only in the constructor."
112
+
112
113
  babelChain.plugin('@babel/plugin-proposal-class-properties').use(require.resolve('@babel/plugin-proposal-class-properties'), [{
113
114
  loose: true
114
115
  }]);
@@ -61,7 +61,8 @@ export var resolveBabelConfig = function resolveBabelConfig(appDirectory, modern
61
61
  babelChain.plugin('babel-plugin-transform-typescript-metadata').use(require.resolve('babel-plugin-transform-typescript-metadata'), []);
62
62
  babelChain.plugin('@babel/plugin-proposal-decorators').use(require.resolve('@babel/plugin-proposal-decorators'), [{
63
63
  legacy: true
64
- }]);
64
+ }]); // resolve "Definitely assigned fields cannot be initialized here, but only in the constructor."
65
+
65
66
  babelChain.plugin('@babel/plugin-proposal-class-properties').use(require.resolve('@babel/plugin-proposal-class-properties'), [{
66
67
  loose: true
67
68
  }]);
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.2.7",
14
+ "version": "1.2.10",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -28,36 +28,36 @@
28
28
  }
29
29
  },
30
30
  "dependencies": {
31
- "@babel/compat-data": "^7.15.0",
32
- "@babel/core": "^7.17.0",
33
- "@babel/plugin-proposal-decorators": "^7.15.4",
34
- "@babel/preset-env": "^7.17.0",
35
- "@babel/preset-typescript": "^7.15.0",
36
- "@babel/runtime": "^7",
37
- "@modern-js/babel-preset-lib": "^1.2.5",
38
- "@modern-js/plugin": "^1.3.4",
39
- "@modern-js/utils": "^1.7.3",
31
+ "@babel/compat-data": "^7.17.10",
32
+ "@babel/core": "^7.18.0",
33
+ "@babel/plugin-proposal-class-properties": "^7.17.12",
34
+ "@babel/plugin-proposal-decorators": "^7.18.0",
35
+ "@babel/preset-env": "^7.18.0",
36
+ "@babel/preset-typescript": "^7.17.12",
37
+ "@babel/runtime": "^7.18.0",
38
+ "@modern-js/babel-preset-lib": "^1.3.0",
39
+ "@modern-js/plugin": "^1.3.6",
40
+ "@modern-js/utils": "^1.7.6",
40
41
  "babel-plugin-module-resolver": "^4.1.0",
41
42
  "babel-plugin-transform-typescript-metadata": "^0.3.2"
42
43
  },
43
44
  "devDependencies": {
44
- "@modern-js/core": "1.10.2",
45
+ "@modern-js/core": "1.11.2",
46
+ "@scripts/build": "0.0.0",
47
+ "@scripts/jest-config": "0.0.0",
45
48
  "@types/babel__core": "^7.1.15",
46
49
  "@types/jest": "^27",
47
50
  "@types/node": "^14",
48
51
  "@types/react": "^17",
49
52
  "@types/react-dom": "^17",
50
- "ts-jest": "^27.0.4",
51
- "typescript": "^4",
52
- "@scripts/build": "0.0.0",
53
53
  "jest": "^27",
54
- "@scripts/jest-config": "0.0.0"
54
+ "ts-jest": "^27.0.4",
55
+ "typescript": "^4"
55
56
  },
56
57
  "sideEffects": false,
57
58
  "publishConfig": {
58
59
  "registry": "https://registry.npmjs.org/",
59
- "access": "public",
60
- "types": "./dist/types/index.d.ts"
60
+ "access": "public"
61
61
  },
62
62
  "wireit": {
63
63
  "build": {