Skip to content

Commit

Permalink
@dr-js/dev@0.5.14
Browse files Browse the repository at this point in the history
notable change:
- fix: support pptr v22
- fix: resource: allow `eslint@8` for node 14 support
- package update
  • Loading branch information
dr-js committed May 26, 2024
2 parents 8bd3c6e + de66a68 commit 2e181d1
Show file tree
Hide file tree
Showing 12 changed files with 1,072 additions and 746 deletions.
26 changes: 13 additions & 13 deletions SPEC.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,24 +284,24 @@
| Package name | Version |
| :---- | ----: |
| @babel/cli | ^7.24.1 |
| @babel/core | ^7.24.3 |
| @babel/eslint-parser | ^7.24.1 |
| @babel/preset-env | ^7.24.3 |
| @babel/preset-react | ^7.24.1 |
| @babel/register | ^7.23.7 |
| @babel/cli | ^7.24.6 |
| @babel/core | ^7.24.6 |
| @babel/eslint-parser | ^7.24.6 |
| @babel/preset-env | ^7.24.6 |
| @babel/preset-react | ^7.24.6 |
| @babel/register | ^7.24.6 |
| babel-loader | ^9.1.3 |
| babel-plugin-minify-replace | ^0.5.0 |
| babel-plugin-module-resolver | ^5.0.0 |
| babel-plugin-module-resolver | ^5.0.2 |
| babel-plugin-styled-components | ^2.1.4 |
| eslint | ^8.57.0 |
| eslint | ^9.3.0 |
| eslint-plugin-import | ^2.29.1 |
| eslint-plugin-n | ^16.6.2 || ^15.7.0 |
| eslint-plugin-n | ^17.7.0 || ^15.7.0 |
| eslint-plugin-promise | ^6.1.1 |
| eslint-plugin-react | ^7.34.1 |
| prop-types | ^15.8.1 |
| puppeteer | ^22.6.1 |
| react | ^18.2.0 |
| styled-components | ^6.1.8 |
| terser | ^5.30.0 |
| puppeteer | ^22.10.0 |
| react | ^18.3.1 |
| styled-components | ^6.1.11 |
| terser | ^5.31.0 |
| webpack | ^5.91.0 |
1,750 changes: 1,038 additions & 712 deletions package-lock.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@dr-js/dev",
"version": "0.5.13",
"version": "0.5.14",
"description": "A collection of strange functions, for development",
"author": "dr-js",
"license": "MIT",
Expand Down Expand Up @@ -48,15 +48,15 @@
"npm": ">=6.14"
},
"dependencies": {
"@dr-js/core": "^0.5.13 || ^0.5.14-dev.0 || ^0.5.15-dev.0"
"@dr-js/core": "^0.5.14 || ^0.5.15-dev.0 || ^0.5.16-dev.0"
},
"devDependencies": {
"@dr-js/dev": "^0.5.12",
"@dr-js/dev-web": "^0.5.12",
"@min-pack/ssh2": "^1.14.0",
"@dr-js/dev": "^0.5.14-dev.0",
"@dr-js/dev-web": "^0.5.14-dev.0",
"@min-pack/ssh2": "^1.15.0",
"eslint-plugin-n": "=15.7.0",
"ssh2": "^1.15.0",
"yaml": "^2.4.1",
"yaml": "^2.4.2",
"yaml-legacy": "npm:yaml@^1.10.2"
},
"sideEffects": false
Expand Down
2 changes: 1 addition & 1 deletion resource/__config__/base-1-script/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"INIT#package.json"
],
"dependencies": {
"terser": "^5.30.0"
"terser": "^5.31.0"
},
"sideEffects": false
}
2 changes: 1 addition & 1 deletion resource/babel/[react]/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"INIT#babel.config.js"
],
"dependencies": {
"@babel/preset-react": "^7.24.1"
"@babel/preset-react": "^7.24.6"
}
}
10 changes: 5 additions & 5 deletions resource/babel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"INIT#package.json"
],
"dependencies": {
"@babel/core": "^7.24.3",
"@babel/cli": "^7.24.1",
"@babel/preset-env": "^7.24.3",
"@babel/register": "^7.23.7",
"@babel/core": "^7.24.6",
"@babel/cli": "^7.24.6",
"@babel/preset-env": "^7.24.6",
"@babel/register": "^7.24.6",
"babel-plugin-minify-replace": "^0.5.0",
"babel-plugin-module-resolver": "^5.0.0"
"babel-plugin-module-resolver": "^5.0.2"
}
}
2 changes: 1 addition & 1 deletion resource/eslint/[react]/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
],
"dependencies": {
"eslint-plugin-react": "^7.34.1",
"@babel/eslint-parser": "^7.24.1"
"@babel/eslint-parser": "^7.24.6"
}
}
4 changes: 2 additions & 2 deletions resource/eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"INIT#package.json"
],
"dependencies": {
"eslint": "^8.57.0",
"eslint": "^9.3.0 || ^8.57.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2 || ^15.7.0",
"eslint-plugin-n": "^17.7.0 || ^15.7.0",
"eslint-plugin-promise": "^6.1.1"
}
}
2 changes: 1 addition & 1 deletion resource/puppeteer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"INIT#package.json"
],
"dependencies": {
"puppeteer": "^22.6.1"
"puppeteer": "^22.10.0"
}
}
2 changes: 1 addition & 1 deletion resource/react/[styled-components]/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"../"
],
"dependencies": {
"styled-components": "^6.1.8"
"styled-components": "^6.1.11"
}
}
2 changes: 1 addition & 1 deletion resource/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"peerDependencies": {
"react": "^18.2.0",
"react": "^18.3.1",
"prop-types": "^15.8.1"
}
}
4 changes: 2 additions & 2 deletions source/puppeteer.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const clearPuppeteerBrowser = ({
kit, kitLogger = kit
}) => {
kitLogger && kitLogger.log('[Puppeteer|Browser] clear')
puppeteerBrowser.removeListener('disconnected', puppeteerBrowserDisconnectListener)
puppeteerBrowser.off('disconnected', puppeteerBrowserDisconnectListener)
return puppeteerBrowser.close().catch((error) => {
kitLogger && kitLogger.log(`[Puppeteer] puppeteerBrowser clear error: ${String(error)}`)
process.exit(-1)
Expand All @@ -50,7 +50,7 @@ const initPuppeteerBrowser = async ({
// For stable testing
dumpio: Boolean(process.env.PUPPETEER_DUMPIO) // Whether to pipe the browser process stdout and stderr into process.stdout and process.stderr
})
puppeteerBrowser.addListener('disconnected', puppeteerBrowserDisconnectListener)
puppeteerBrowser.on('disconnected', puppeteerBrowserDisconnectListener)
kitLogger.log('[Puppeteer|Browser] init complete')
return puppeteerBrowser
}
Expand Down

0 comments on commit 2e181d1

Please sign in to comment.