File tree Expand file tree Collapse file tree 3 files changed +19
-18
lines changed
Expand file tree Collapse file tree 3 files changed +19
-18
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " puppeteer-extra-plugin-recaptcha-capmonster" ,
3- "version" : " 1.0.3 " ,
3+ "version" : " 1.0.4 " ,
44 "description" : " A puppeteer-extra plugin that implements CapMonster support for puppeteer-extra-plugin-recaptcha." ,
55 "types" : " dist/index.d.ts" ,
66 "main" : " dist/index.cjs.js" ,
3232 "author" : " notsapinho" ,
3333 "license" : " MIT" ,
3434 "devDependencies" : {
35+ "@rollup/plugin-commonjs" : " ^22.0.0" ,
36+ "@rollup/plugin-node-resolve" : " ^13.3.0" ,
37+ "@rollup/plugin-typescript" : " ^8.3.3" ,
3538 "@types/debug" : " ^4.1.7" ,
3639 "@types/node" : " ^16.11.11" ,
37- "ts-node" : " ^10.4.0" ,
38- "typescript" : " ^4.5.2" ,
39- "rollup" : " ^1.27.5" ,
40- "rollup-plugin-commonjs" : " ^10.1.0" ,
41- "rollup-plugin-node-resolve" : " ^5.2.0" ,
40+ "rollup" : " ^2.75.6" ,
4241 "rollup-plugin-sourcemaps" : " ^0.4.2" ,
43- "rollup-plugin-typescript2" : " ^0.25.2"
42+ "ts-node" : " ^10.8.1" ,
43+ "tslib" : " ^2.4.0" ,
44+ "typescript" : " ^4.7.3"
4445 },
4546 "dependencies" : {
46- "axios" : " ^0.26.0 " ,
47- "debug" : " ^4.3.3 "
47+ "axios" : " ^0.27.2 " ,
48+ "debug" : " ^4.3.4 "
4849 },
4950 "engines" : {
50- "node" : " >=9.11.2 "
51+ "node" : " >=12.0.0 "
5152 }
5253}
Original file line number Diff line number Diff line change 1- import commonjs from "rollup- plugin-commonjs" ;
2- import resolve from "rollup- plugin-node-resolve" ;
1+ import commonjs from "@ rollup/ plugin-commonjs" ;
2+ import resolve from "@ rollup/ plugin-node-resolve" ;
33import sourceMaps from "rollup-plugin-sourcemaps" ;
4- import typescript from "rollup- plugin-typescript2 " ;
4+ import typescript from "@ rollup/ plugin-typescript " ;
55
66const pkg = require ( "./package.json" ) ;
77
88const entryFile = "index" ;
99const banner = `
1010/*!
1111 * ${ pkg . name } v${ pkg . version } by ${ pkg . author }
12- * ${ pkg . homepage || `https://github.com/${ pkg . repository } ` }
12+ * ${ pkg . homepage || `https://github.com/${ pkg . repository . url } ` }
1313 * @license ${ pkg . license }
1414 */
1515` . trim ( ) ;
@@ -45,7 +45,7 @@ export default {
4545 } ,
4646 plugins : [
4747 // Compile TypeScript files
48- typescript ( { useTsconfigDeclarationDir : true } ) ,
48+ typescript ( ) ,
4949 // Allow bundling cjs modules (unlike webpack, rollup doesn't understand cjs)
5050 commonjs ( ) ,
5151 // Allow node_modules resolution, so you can use 'external' to control
Original file line number Diff line number Diff line change 33 "allowSyntheticDefaultImports" : true ,
44 "baseUrl" : " ." ,
55 "outDir" : " dist" ,
6- "lib" : [" ES2020 " ],
7- "target" : " ES2020 " ,
8- "module" : " ES2015 " ,
6+ "lib" : [" ES2015 " , " ES2016 " , " ES2017 " ],
7+ "target" : " ES2019 " ,
8+ "module" : " ESNEXT " ,
99 "moduleResolution" : " node" ,
1010 "alwaysStrict" : true ,
1111 "sourceMap" : true ,
You can’t perform that action at this time.
0 commit comments