Skip to content

Commit

Permalink
Merge pull request #189 from kintone-labs/SSR-4650_Resolve_critical_d…
Browse files Browse the repository at this point in the history
…ependabot_alert

SSR-4650: Resolve critical security alert
  • Loading branch information
trung-doan committed May 30, 2024
2 parents 737a476 + 1e45b72 commit cbe534b
Show file tree
Hide file tree
Showing 8 changed files with 1,343 additions and 1,301 deletions.
11 changes: 3 additions & 8 deletions dist/commands/Initialize/generator.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/commands/Initialize/generator.js.map

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions dist/constant/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/constant/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2,590 changes: 1,322 additions & 1,268 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"strip-ansi": "^6.0.1"
},
"devDependencies": {
"@babel/core": "^7.22.15",
"@babel/preset-env": "^7.22.15",
"@babel/preset-typescript": "^7.22.15",
"@babel/core": "^7.24.6",
"@babel/preset-env": "^7.24.6",
"@babel/preset-typescript": "^7.24.6",
"@cybozu/eslint-config": "^22.0.1",
"@jest/globals": "^29.6.4",
"@types/cross-spawn": "^6.0.3",
Expand Down
11 changes: 3 additions & 8 deletions src/commands/Initialize/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,7 @@ const ensurePropertyExists = (obj, property) => {

function configureWebpack(option: AppOption, packageJSON, manifestJSON) {
const babelJSON = {
plugins: [
'@babel/plugin-proposal-class-properties',
'@babel/plugin-syntax-dynamic-import'
],
plugins: ['@babel/plugin-transform-class-properties'],
presets: [
[
'@babel/preset-env',
Expand Down Expand Up @@ -77,10 +74,8 @@ function configureWebpack(option: AppOption, packageJSON, manifestJSON) {
devDependencies['regenerator-runtime'] = DEPENDENCIES['regenerator-runtime'];
devDependencies['@babel/core'] = DEPENDENCIES['@babel/core'];
devDependencies['@babel/preset-env'] = DEPENDENCIES['@babel/preset-env'];
devDependencies['@babel/plugin-proposal-class-properties'] =
DEPENDENCIES['@babel/plugin-proposal-class-properties'];
devDependencies['@babel/plugin-syntax-dynamic-import'] =
DEPENDENCIES['@babel/plugin-syntax-dynamic-import'];
devDependencies['@babel/plugin-transform-class-properties'] =
DEPENDENCIES['@babel/plugin-transform-class-properties'];

ensurePropertyExists(packageJSON, 'scripts');
const scripts = packageJSON.scripts;
Expand Down
11 changes: 5 additions & 6 deletions src/constant/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@ export const DEPENDENCIES = {
'css-loader': '^6.8.1',
'core-js': '^3.31.1',
'regenerator-runtime': '^0.13.11',
'@babel/core': '^7.22.9',
'@babel/preset-env': '^7.22.9',
'@babel/plugin-proposal-class-properties': '^7.18.6',
'@babel/plugin-syntax-dynamic-import': '^7.8.3',
'@babel/preset-typescript': '^7.22.5',
'@babel/preset-react': '^7.22.5',
'@babel/core': '^7.24.6',
'@babel/preset-env': '^7.24.6',
'@babel/plugin-transform-class-properties': '^7.24.6',
'@babel/preset-typescript': '^7.24.6',
'@babel/preset-react': '^7.24.6',
typescript: '^5.1.6',
'@types/react': '^17.0.56',
'@types/react-dom': '^17.0.19',
Expand Down

0 comments on commit cbe534b

Please sign in to comment.