Skip to content

Commit 1d7287e

Browse files
update version of dependency @babel/standalone to 7.15.8
1 parent 6c50fd3 commit 1d7287e

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

__test__/ctx.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe('constructor :', () => {
1414
new Ctx(React, undefined);
1515
} catch (er) {
1616
expect(er.message).toBe(
17-
`Package "string-to-react-component" has a missing peer dependency of "@babel/standalone" ( requires ">=7.6.3" )`,
17+
`Package "string-to-react-component" has a missing peer dependency of "@babel/standalone" ( requires ">=7.15.8" )`,
1818
);
1919
}
2020
});

package-lock.json

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"styleguide:build": "styleguidist build"
4747
},
4848
"peerDependencies": {
49-
"@babel/standalone": ">=7.6.3",
49+
"@babel/standalone": ">=7.15.8",
5050
"react": ">=16.8.0",
5151
"react-dom": ">=16.8.0"
5252
},
@@ -61,7 +61,7 @@
6161
"@babel/preset-react": "^7.24.7",
6262
"@babel/preset-typescript": "^7.24.7",
6363
"@babel/runtime-corejs3": "^7.25.0",
64-
"@babel/standalone": "^7.25.2",
64+
"@babel/standalone": "7.15.8",
6565
"@rollup/plugin-commonjs": "^26.0.1",
6666
"@rollup/plugin-node-resolve": "^15.2.3",
6767
"@rollup/plugin-terser": "^0.4.4",

src/ctx.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Ctx implements IStringToReactApi {
1515
this._getReact = () => React;
1616
if (!Babel) {
1717
throw new Error(
18-
`Package "string-to-react-component" has a missing peer dependency of "@babel/standalone" ( requires ">=7.6.3" )`,
18+
`Package "string-to-react-component" has a missing peer dependency of "@babel/standalone" ( requires ">=7.15.8" )`,
1919
);
2020
}
2121
this._getBabel = () => Babel;

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,10 +1051,10 @@
10511051
dependencies:
10521052
regenerator-runtime "^0.14.0"
10531053

1054-
"@babel/standalone@^7.25.2":
1055-
version "7.25.2"
1056-
resolved "https://registry.npmjs.org/@babel/standalone/-/standalone-7.25.2.tgz"
1057-
integrity sha512-65oXc4uhRu/SKV2OIrAq/TrSaEW62itcrKwODgDVQH0AeDa8rNEKsm1Wp2SK4GcwoJiz/78fmxHfGVFtinENlg==
1054+
"@babel/standalone@7.15.8":
1055+
version "7.15.8"
1056+
resolved "https://registry.npmjs.org/@babel/standalone/-/standalone-7.15.8.tgz"
1057+
integrity sha512-EF2uQLeuwflnPRGetWH2Z400ITOSK7YbkXIKxY91EWSiOJ8xsbupT3sx3sFRwVyQgjsHSILFDzLcSo/rGspLhQ==
10581058

10591059
"@babel/template@^7.24.7", "@babel/template@^7.25.0", "@babel/template@^7.3.3":
10601060
version "7.25.0"

0 commit comments

Comments
 (0)