diff --git a/package.json b/package.json index f9d618f..61c2e9c 100644 --- a/package.json +++ b/package.json @@ -15,10 +15,5 @@ "devDependencies": { "@changesets/cli": "^2.26.2" }, - "pnpm": { - "patchedDependencies": { - "@jsdevtools/ono@7.1.3": "patches/@jsdevtools__ono@7.1.3.patch" - } - }, "packageManager": "pnpm@9.6.0+sha256.dae0f7e822c56b20979bb5965e3b73b8bdabb6b8b8ef121da6d857508599ca35" } diff --git a/patches/@jsdevtools__ono@7.1.3.patch b/patches/@jsdevtools__ono@7.1.3.patch deleted file mode 100644 index d7ae72c..0000000 --- a/patches/@jsdevtools__ono@7.1.3.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff --git a/CHANGELOG.md b/CHANGELOG.md -deleted file mode 100644 -index cb7b82021653212a0c4f36a77f7a131630f6fe27..0000000000000000000000000000000000000000 -diff --git a/cjs/index.js b/cjs/index.js -index 6c4721874cde5c814cccb774d6e4183ab9265e8c..f45eeb263310ce3cf29a04750ba8db4f069a8cd3 100644 ---- a/cjs/index.js -+++ b/cjs/index.js -@@ -19,7 +19,7 @@ Object.defineProperty(exports, "Ono", { enumerable: true, get: function () { ret - __exportStar(require("./types"), exports); - exports.default = singleton_1.ono; - // CommonJS default export hack --if (typeof module === "object" && typeof module.exports === "object") { -+if (typeof module === "object" && typeof module.exports === "object" && typeof module.exports.default == "object") { - module.exports = Object.assign(module.exports.default, module.exports); - } - //# sourceMappingURL=index.js.map -\ No newline at end of file -diff --git a/esm/index.js b/esm/index.js -index 7e6b46912faec6e577311c626683c97211ed34fb..91685fea6db7ec547fcb9d26901579fef9fa3722 100644 ---- a/esm/index.js -+++ b/esm/index.js -@@ -5,7 +5,7 @@ export * from "./types"; - export { ono }; - export default ono; - // CommonJS default export hack --if (typeof module === "object" && typeof module.exports === "object") { -+if (typeof module === "object" && typeof module.exports === "object" && typeof module.exports.default == "object") { - module.exports = Object.assign(module.exports.default, module.exports); - } - //# sourceMappingURL=index.js.map diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8c38c0a..aea6029 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,11 +4,6 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false -patchedDependencies: - '@jsdevtools/ono@7.1.3': - hash: hbr3l4t7nvw3xe7oopaumnk7ea - path: patches/@jsdevtools__ono@7.1.3.patch - importers: .: @@ -58,7 +53,7 @@ importers: version: 2.7.3 tsup: specifier: ^7.1.0 - version: 7.1.0(@swc/core@1.3.74)(postcss@8.4.27)(typescript@5.1.6) + version: 7.1.0(@swc/core@1.3.74(@swc/helpers@0.5.1))(postcss@8.4.27)(typescript@5.1.6) typescript: specifier: ^5.1.6 version: 5.1.6 @@ -167,7 +162,7 @@ importers: version: 5.3.0(rollup@3.27.0)(typescript@5.1.6) tsup: specifier: ^7.1.0 - version: 7.1.0(@swc/core@1.3.74(@swc/helpers@0.5.1))(postcss@8.4.25)(typescript@5.1.6) + version: 7.1.0(@swc/core@1.3.74(@swc/helpers@0.5.1))(postcss@8.4.27)(typescript@5.1.6) tsx: specifier: ^3.12.7 version: 3.12.7 @@ -4154,7 +4149,7 @@ snapshots: '@apidevtools/json-schema-ref-parser@9.0.6': dependencies: - '@jsdevtools/ono': 7.1.3(patch_hash=hbr3l4t7nvw3xe7oopaumnk7ea) + '@jsdevtools/ono': 7.1.3 call-me-maybe: 1.0.2 js-yaml: 3.14.1 @@ -4167,7 +4162,7 @@ snapshots: '@apidevtools/json-schema-ref-parser': 9.0.6 '@apidevtools/openapi-schemas': 2.1.0 '@apidevtools/swagger-methods': 3.0.2 - '@jsdevtools/ono': 7.1.3(patch_hash=hbr3l4t7nvw3xe7oopaumnk7ea) + '@jsdevtools/ono': 7.1.3 ajv: 8.12.0 ajv-draft-04: 1.0.0(ajv@8.12.0) call-me-maybe: 1.0.2 @@ -4891,7 +4886,7 @@ snapshots: '@jridgewell/resolve-uri': 3.1.0 '@jridgewell/sourcemap-codec': 1.4.14 - '@jsdevtools/ono@7.1.3(patch_hash=hbr3l4t7nvw3xe7oopaumnk7ea)': {} + '@jsdevtools/ono@7.1.3': {} '@manypkg/find-root@1.1.0': dependencies: @@ -8091,13 +8086,6 @@ snapshots: dependencies: postcss: 8.4.25 - postcss-load-config@4.0.1(postcss@8.4.25): - dependencies: - lilconfig: 2.1.0 - yaml: 2.3.1 - optionalDependencies: - postcss: 8.4.25 - postcss-load-config@4.0.1(postcss@8.4.27): dependencies: lilconfig: 2.1.0 @@ -8701,31 +8689,7 @@ snapshots: tslib@2.6.1: {} - tsup@7.1.0(@swc/core@1.3.74(@swc/helpers@0.5.1))(postcss@8.4.25)(typescript@5.1.6): - dependencies: - bundle-require: 4.0.1(esbuild@0.18.17) - cac: 6.7.14 - chokidar: 3.5.3 - debug: 4.3.4 - esbuild: 0.18.17 - execa: 5.1.1 - globby: 11.1.0 - joycon: 3.1.1 - postcss-load-config: 4.0.1(postcss@8.4.25) - resolve-from: 5.0.0 - rollup: 3.27.0 - source-map: 0.8.0-beta.0 - sucrase: 3.34.0 - tree-kill: 1.2.2 - optionalDependencies: - '@swc/core': 1.3.74(@swc/helpers@0.5.1) - postcss: 8.4.25 - typescript: 5.1.6 - transitivePeerDependencies: - - supports-color - - ts-node - - tsup@7.1.0(@swc/core@1.3.74)(postcss@8.4.27)(typescript@5.1.6): + tsup@7.1.0(@swc/core@1.3.74(@swc/helpers@0.5.1))(postcss@8.4.27)(typescript@5.1.6): dependencies: bundle-require: 4.0.1(esbuild@0.18.17) cac: 6.7.14