From 03dca46fa7c79c535be645579f20cf7a4cdeb0e4 Mon Sep 17 00:00:00 2001 From: long76 <18124433+long76@users.noreply.github.com> Date: Sun, 9 Apr 2023 23:06:05 +0300 Subject: [PATCH] fix: revert package.json #1176 (#1183) --- package-lock.json | 8 ++++---- package.json | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index b1554c6ce..f57351113 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "3.0.8", "license": "MIT", "dependencies": { - "compute-scroll-into-view": "^3.0.1" + "compute-scroll-into-view": "^3.0.2" }, "devDependencies": { "@sanity/pkg-utils": "^2.2.5", @@ -4046,9 +4046,9 @@ } }, "node_modules/compute-scroll-into-view": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-3.0.1.tgz", - "integrity": "sha512-Kx5SbIZf1QMCFctNydxTdhIO2lv9h1DJy6ZSuY8ngArCRMh3rfJVb86KsdslWo/FTPgBmnbtfz80CJDEyfIxzA==" + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-3.0.2.tgz", + "integrity": "sha512-UCXenIpZspASrI2Jsk/eUoa7zpFaD20xIqnC85c1rRIBVS3mOzPKF72QPZYmtcw24ZGqtyiFceBN/JKKVV4ALg==" }, "node_modules/config-chain": { "version": "1.1.13", diff --git a/package.json b/package.json index 5e85ec585..5aa915d47 100644 --- a/package.json +++ b/package.json @@ -24,20 +24,20 @@ "license": "MIT", "author": "Cody Olsen", "sideEffects": false, - "type": "commonjs", + "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "source": "./src/index.ts", - "require": "./dist/index.js", - "import": "./dist/index.mjs", + "require": "./dist/index.cjs", + "import": "./dist/index.js", "default": "./dist/index.js" }, "./package.json": "./package.json" }, - "main": "./dist/index.js", - "module": "./dist/index.mjs", "source": "./src/index.ts", + "main": "./dist/index.cjs", + "module": "./dist/index.js", "typings": "./dist/index.d.ts", "files": [ "dist", @@ -59,7 +59,7 @@ "singleQuote": true }, "dependencies": { - "compute-scroll-into-view": "^3.0.1" + "compute-scroll-into-view": "^3.0.2" }, "devDependencies": { "@sanity/pkg-utils": "^2.2.5",