Skip to content

Commit

Permalink
fix: support —moduleResolution node16 in compute-scroll-into-view (
Browse files Browse the repository at this point in the history
  • Loading branch information
long76 committed Apr 8, 2023
1 parent 66bf81d commit 2027698
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,20 @@
"license": "MIT",
"author": "Cody Olsen",
"sideEffects": false,
"type": "module",
"type": "commonjs",
"exports": {
".": {
"types": "./dist/index.d.ts",
"source": "./src/index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"source": "./src/index.ts",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"typings": "./dist/index.d.ts",
"files": [
"dist",
Expand All @@ -58,7 +59,7 @@
"singleQuote": true
},
"dependencies": {
"compute-scroll-into-view": "^3.0.0"
"compute-scroll-into-view": "^3.0.1"
},
"devDependencies": {
"@sanity/pkg-utils": "^2.2.5",
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"skipLibCheck": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"esModuleInterop": true,
"strict": true,
"lib": ["dom", "dom.iterable", "esnext"]
},
Expand Down

0 comments on commit 2027698

Please sign in to comment.