Skip to content

Commit c8f83cf

Browse files
committed
fix: update deps
1 parent b71301e commit c8f83cf

File tree

3 files changed

+1573
-2463
lines changed

3 files changed

+1573
-2463
lines changed

jest.config.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@ module.exports = {
55
'src/**/*.{js,jsx,ts,tsx}',
66
],
77
coveragePathIgnorePatterns: [],
8-
testEnvironmentOptions: {
9-
resources: 'usable',
10-
runScripts: 'dangerously',
11-
},
8+
testEnvironment: 'jsdom',
129
testMatch: [
1310
'<rootDir>/test/**/*.{js,jsx,ts,tsx}',
1411
],

package.json

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,31 @@
1212
"asynchronous",
1313
"fetch"
1414
],
15-
"main": "dist/index.js",
16-
"module": "dist/index.esm.js",
15+
"main": "dist/cjs/index.js",
16+
"module": "dist/esm/index.js",
17+
"types": "dist/types/index.d.ts",
1718
"files": [
1819
"/dist"
1920
],
2021
"dependencies": {
21-
"debug": "^4.3.1",
22-
"idb-keyval": "^5.0.1"
22+
"debug": "^4.3.2",
23+
"idb-keyval": "^5.1.3"
2324
},
2425
"devDependencies": {
2526
"@ph.fritsche/eslint-config": "^0.1.1",
26-
"@ph.fritsche/scripts-config": "^1.0.0",
27-
"@testing-library/react": "^11.2.2",
28-
"@types/debug": "^4.1.5",
29-
"@types/react": "^17.0.0",
30-
"eslint": "^7.18.0",
31-
"fake-indexeddb": "^3.1.2",
32-
"jest": "^26.6.3",
33-
"react": "^17.0.1",
34-
"react-dom": "^17.0.1",
35-
"shared-scripts": "^1.0.0",
36-
"ts-jest": "^26.4.4",
37-
"typescript": "^4.1.3"
27+
"@ph.fritsche/scripts-config": "^2.0.0",
28+
"@testing-library/react": "^12.0.0",
29+
"@types/debug": "^4.1.7",
30+
"@types/jest": "^27.0.1",
31+
"@types/react": "^17.0.18",
32+
"eslint": "^7.32.0",
33+
"fake-indexeddb": "^3.1.3",
34+
"jest": "^27.0.6",
35+
"react": "^17.0.2",
36+
"react-dom": "^17.0.2",
37+
"shared-scripts": "^1.4.1",
38+
"ts-jest": "^27.0.4",
39+
"typescript": "^4.3.5"
3840
},
3941
"scripts": {
4042
"build": "scripts ts-build",

0 commit comments

Comments
 (0)