Skip to content

Commit

Permalink
STRWEB-87 replace @babel packages that have moved from proposed to of…
Browse files Browse the repository at this point in the history
…ficial
  • Loading branch information
BogdanDenis committed Jun 12, 2023
1 parent cbbc3d7 commit 9fa6559
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* List `peerDependencies` as `externals` during transpilation process. Refs STRWEB-84.
* Add missing `@babel/plugin-*` dependencies that are listed in `babel-options.js`. Refs STRWEB-86.
* Upgrade `postcss-calc` dependency from 8.2.4 to 9.0.1. Refs STRWEB-88.
* replace `@babel` packages that have moved from "proposed" to "official". Refs STRWEB-87.

## [4.2.0](https://github.com/folio-org/stripes-webpack/tree/v4.2.0) (2023-01-30)
[Full Changelog](https://github.com/folio-org/stripes-webpack/compare/v4.1.2...v4.2.0)
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
},
"dependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-transform-class-properties": "^7.0.0",
"@babel/plugin-proposal-decorators": "^7.0.0",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
"@babel/plugin-transform-export-namespace-from": "^7.0.0",
"@babel/plugin-proposal-function-sent": "^7.0.0",
"@babel/plugin-proposal-numeric-separator": "^7.0.0",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-proposal-private-property-in-object": "^7.21.0",
"@babel/plugin-transform-numeric-separator": "^7.0.0",
"@babel/plugin-transform-private-methods": "^7.18.6",
"@babel/plugin-transform-private-property-in-object": "^7.21.0",
"@babel/plugin-proposal-throw-expressions": "^7.0.0",
"@babel/plugin-syntax-import-meta": "^7.0.0",
"@babel/preset-env": "^7.0.0",
Expand Down
10 changes: 5 additions & 5 deletions webpack/babel-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ module.exports = {
// the "loose" option must be the same for all three.
// but @babel/preset-env sets it to false for ...private-methods.
// overriding it here silences the complaint. STRWEB-12
['@babel/plugin-proposal-class-properties', { 'loose': true }],
['@babel/plugin-proposal-private-methods', { 'loose': true }],
['@babel/plugin-proposal-private-property-in-object', { 'loose': true }],
'@babel/plugin-proposal-export-namespace-from',
['@babel/plugin-transform-class-properties', { 'loose': true }],
['@babel/plugin-transform-private-methods', { 'loose': true }],
['@babel/plugin-transform-private-property-in-object', { 'loose': true }],
'@babel/plugin-transform-export-namespace-from',
'@babel/plugin-proposal-function-sent',
'@babel/plugin-proposal-numeric-separator',
'@babel/plugin-transform-numeric-separator',
'@babel/plugin-proposal-throw-expressions',
'@babel/plugin-syntax-import-meta',
utils.isDevelopment && require.resolve('react-refresh/babel'),
Expand Down

0 comments on commit 9fa6559

Please sign in to comment.