diff --git a/package-lock.json b/package-lock.json index c86314d..a160549 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "eslint-plugin-tree-shaking": "^1.10.0", "np": "^7.6.2", "prettier": "^2.8.0", - "rollup": "^3.5.0", + "rollup": "^3.21.5", "rollup-plugin-typescript2": "^0.34.1", "typescript": "^4.9.3", "vitest": "^0.25.3" @@ -5695,9 +5695,9 @@ } }, "node_modules/rollup": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.5.0.tgz", - "integrity": "sha512-TYu2L+TGhmNsXCtByont89u+ATQLcDy6A+++PwLXYunRtOm7XnaD+65s1pvewaOxMYR0eOkMXn9/i0saBxxpnQ==", + "version": "3.21.5", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.21.5.tgz", + "integrity": "sha512-a4NTKS4u9PusbUJcfF4IMxuqjFzjm6ifj76P54a7cKnvVzJaG12BLVR+hgU2YDGHzyMMQNxLAZWuALsn8q2oQg==", "dev": true, "bin": { "rollup": "dist/bin/rollup" @@ -10655,9 +10655,9 @@ } }, "rollup": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.5.0.tgz", - "integrity": "sha512-TYu2L+TGhmNsXCtByont89u+ATQLcDy6A+++PwLXYunRtOm7XnaD+65s1pvewaOxMYR0eOkMXn9/i0saBxxpnQ==", + "version": "3.21.5", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.21.5.tgz", + "integrity": "sha512-a4NTKS4u9PusbUJcfF4IMxuqjFzjm6ifj76P54a7cKnvVzJaG12BLVR+hgU2YDGHzyMMQNxLAZWuALsn8q2oQg==", "dev": true, "requires": { "fsevents": "~2.3.2" diff --git a/package.json b/package.json index ba9a4e3..7c0b4b6 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "eslint-plugin-tree-shaking": "^1.10.0", "np": "^7.6.2", "prettier": "^2.8.0", - "rollup": "^3.5.0", + "rollup": "^3.21.5", "rollup-plugin-typescript2": "^0.34.1", "typescript": "^4.9.3", "vitest": "^0.25.3" diff --git a/tsconfig.json b/tsconfig.json index 7ef5136..a411dd6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,16 +1,22 @@ { "compilerOptions": { + "allowJs": false, "baseUrl": ".", + "declaration": true, + "declarationDir": "./dist/types/", + "downlevelIteration": true, + "esModuleInterop": true, + "isolatedModules": true, + "lib": ["esnext", "DOM", "DOM.Iterable"], "module": "esnext", - "target": "es2019", - "lib": ["esnext", "DOM"], - "strict": true, "moduleResolution": "node", - "isolatedModules": true, - "esModuleInterop": true, + "noImplicitReturns": true, + "noUnusedLocals": true, "skipLibCheck": true, - "declaration": true, - "declarationDir": "./dist/types/" + "sourceMap": true, + "strict": true, + "target": "es2019", + "useDefineForClassFields": true }, "include": ["src/**/*", "test/**/*"] }