Skip to content

Commit 9a74414

Browse files
shungangcsg01123119
and
csg01123119
authoredJul 26, 2023
chore: upgrade eslint-config-airbnb to v19.0.4 (#1233)
* chore: upgrade eslint-config-airbnb to v19.0.4 * chore: upgrade eslint-config-airbnb to v19.0.4 --------- Co-authored-by: csg01123119 <csg01123119@alibaba-inc.com>
1 parent ab2f4a3 commit 9a74414

File tree

6 files changed

+18148
-25855
lines changed

6 files changed

+18148
-25855
lines changed
 

‎.autod.conf.js

-7
This file was deleted.

‎.github/workflows/schedule.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# Regularly clean test buckets at 4:00 every day
1+
# Regularly clean test buckets at GMT 20:00 every day
22
name: 'Schdule Delete'
33

44
on:
55
schedule:
6-
- cron: '0 4 1/1 * *'
6+
- cron: '0 20 1/1 * *'
77

88
jobs:
99
cleanAllBucket:

‎karma.conf.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* eslint-disable @typescript-eslint/no-require-imports */
2+
/* eslint-disable global-require */
13
process.env.CHROME_BIN = require('puppeteer').executablePath();
24

35
const isCiEnv = process.env.ONCI;

‎package-lock.json

+18,139-25,837
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+4-8
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,12 @@
2424
"test": "npm run tsc && mocha -t 120000 -r should -r dotenv/config test/node/*.test.js test/node/**/*.test.js",
2525
"test-cov": "npm run tsc && nyc --reporter=lcov node_modules/.bin/_mocha -t 120000 -r should test/node/*.test.js test/node/**/*.test.js",
2626
"jshint": "jshint .",
27-
"autod": "autod",
2827
"build-test": "MINIFY=1 node browser-build.js > test/browser/build/aliyun-oss-sdk.min.js && node -r dotenv/config task/browser-test-build.js > test/browser/build/tests.js",
2928
"browser-test": "npm run build-test && karma start",
3029
"build-dist": "npm run tsc && node browser-build.js > dist/aliyun-oss-sdk.js && MINIFY=1 node browser-build.js > dist/aliyun-oss-sdk.min.js",
3130
"publish-to-npm": "node publish-npm-check.js && npm publish",
3231
"publish-to-cdn": "node publish.js",
33-
"snyk-protect": "snyk protect",
32+
"snyk-protect": "snyk-protect",
3433
"prepublish": "npm run snyk-protect",
3534
"lint-staged": "lint-staged",
3635
"detect-secrets": "node task/detect-secrets",
@@ -74,11 +73,11 @@
7473
"@babel/runtime": "^7.11.2",
7574
"@commitlint/cli": "^16.2.4",
7675
"@commitlint/config-conventional": "^16.2.4",
76+
"@snyk/protect": "^1.1196.0",
7777
"@types/node": "^14.0.12",
7878
"@typescript-eslint/eslint-plugin": "^5.0.0",
7979
"@typescript-eslint/parser": "^5.0.0",
8080
"aliasify": "^2.0.0",
81-
"autod": "^2.6.1",
8281
"babelify": "^10.0.0",
8382
"beautify-benchmark": "^0.2.4",
8483
"benchmark": "^2.1.1",
@@ -88,14 +87,12 @@
8887
"crypto-js": "^3.1.9-1",
8988
"dotenv": "^8.2.0",
9089
"eslint": "^8.44.0",
91-
"eslint-config-airbnb": "^18.2.1",
90+
"eslint-config-airbnb": "^19.0.4",
9291
"eslint-config-ali": "^13.0.0",
9392
"eslint-config-prettier": "^8.8.0",
9493
"eslint-plugin-import": "^2.21.1",
9594
"eslint-plugin-jsx-a11y": "^6.0.3",
9695
"eslint-plugin-prettier": "^4.2.1",
97-
"eslint-plugin-react": "^7.32.2",
98-
"eslint-plugin-react-hooks": "^4.6.0",
9996
"filereader": "^0.10.3",
10097
"git-pre-hooks": "^1.2.0",
10198
"husky": "^7.0.4",
@@ -113,11 +110,10 @@
113110
"nyc": "^15.1.0",
114111
"prettier": "^3.0.0",
115112
"promise-polyfill": "^6.0.2",
116-
"puppeteer": "^10.4.0",
113+
"puppeteer": "^20.9.0",
117114
"request": "^2.88.0",
118115
"should": "^11.0.0",
119116
"sinon": "^1.17.7",
120-
"snyk": "1.454.0",
121117
"standard-version": "^9.3.1",
122118
"stream-equal": "^1.1.0",
123119
"timemachine": "^0.3.0",

‎test/node/cleanAllBucket.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const { oss: config } = require('../config');
33
const OSS = require('../..');
44

55
// eslint-disable-next-line no-console
6-
console.log('cleanAllBucket...');
6+
console.log(`cleanAllBucket...${new Date()}`);
77

88
const store = new OSS(config);
99
cleanAllBucket(store, 50, true);

0 commit comments

Comments
 (0)
Please sign in to comment.