@gravity-ui/app-builder 0.14.0 → 0.14.1
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.
|
@@ -10,7 +10,7 @@ function babelPreset(config) {
|
|
|
10
10
|
bugfixes: true,
|
|
11
11
|
targets: config.isSsr ? { node: 'current' } : undefined,
|
|
12
12
|
},
|
|
13
|
-
runtime: { version: '^7.
|
|
13
|
+
runtime: { version: '^7.26.0' },
|
|
14
14
|
typescript: true,
|
|
15
15
|
react: {
|
|
16
16
|
runtime: config.newJsxTransform ? 'automatic' : 'classic',
|
|
@@ -16,20 +16,6 @@ module.exports = function (_context, options = {}) {
|
|
|
16
16
|
const isTypeScriptEnabled = getOption(options.typescript, false);
|
|
17
17
|
const reactOptions = getOption(options.react, {});
|
|
18
18
|
const presets = [
|
|
19
|
-
[
|
|
20
|
-
() => ({
|
|
21
|
-
/**
|
|
22
|
-
* Safari 15 has a buggy implementation of class properties,
|
|
23
|
-
* but @babel/compat-data marks it as stable.
|
|
24
|
-
* Can be removed once the issue is fixed and released.
|
|
25
|
-
* @see https://github.com/babel/babel/issues/14289
|
|
26
|
-
*/
|
|
27
|
-
plugins: [
|
|
28
|
-
require.resolve('@babel/plugin-transform-private-methods'),
|
|
29
|
-
require.resolve('@babel/plugin-transform-class-properties'),
|
|
30
|
-
],
|
|
31
|
-
}),
|
|
32
|
-
],
|
|
33
19
|
// Latest stable ECMAScript features
|
|
34
20
|
(isEnvDevelopment || isEnvProduction) && [require.resolve('@babel/preset-env'), envOptions],
|
|
35
21
|
// ES features necessary for current Node version
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravity-ui/app-builder",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.1",
|
|
4
4
|
"description": "Develop and build your React client-server projects, powered by typescript and webpack",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -59,17 +59,15 @@
|
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@aws-sdk/client-s3": "^3.353.0",
|
|
62
|
-
"@babel/core": "^7.
|
|
63
|
-
"@babel/helper-plugin-utils": "^7.
|
|
64
|
-
"@babel/plugin-transform-class-properties": "^7.25.0",
|
|
62
|
+
"@babel/core": "^7.26.0",
|
|
63
|
+
"@babel/helper-plugin-utils": "^7.26.0",
|
|
65
64
|
"@babel/plugin-transform-dynamic-import": "^7.25.0",
|
|
66
|
-
"@babel/plugin-transform-modules-commonjs": "^7.
|
|
67
|
-
"@babel/plugin-transform-private-methods": "^7.25.0",
|
|
65
|
+
"@babel/plugin-transform-modules-commonjs": "^7.26.0",
|
|
68
66
|
"@babel/plugin-transform-runtime": "^7.25.0",
|
|
69
|
-
"@babel/preset-env": "^7.
|
|
70
|
-
"@babel/preset-react": "^7.
|
|
71
|
-
"@babel/preset-typescript": "^7.
|
|
72
|
-
"@babel/runtime": "^7.
|
|
67
|
+
"@babel/preset-env": "^7.26.0",
|
|
68
|
+
"@babel/preset-react": "^7.26.0",
|
|
69
|
+
"@babel/preset-typescript": "^7.26.0",
|
|
70
|
+
"@babel/runtime": "^7.26.0",
|
|
73
71
|
"@okikio/sharedworker": "^1.0.7",
|
|
74
72
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
|
|
75
73
|
"@statoscope/webpack-plugin": "^5.28.2",
|