From 7726730ad23f1cdfe07a2c4b677a12a4623287b9 Mon Sep 17 00:00:00 2001 From: Quinn Turner Date: Mon, 1 Apr 2024 11:31:28 -0300 Subject: [PATCH] Remove submodule support to support 'moduleResolution': 'node' The project that I am currently working on requires moduleResolution: node. Accordingly, since I am the primary consumer so far, I want to support that environment! --- bun.lockb | Bin 55331 -> 55788 bytes package.json | 37 ++++++++++++++----------------------- src/index.ts | 1 + tsup.config.ts | 5 +---- 4 files changed, 16 insertions(+), 27 deletions(-) diff --git a/bun.lockb b/bun.lockb index 68495fe0bdac6bced76098b11e0069f10d6a92c7..5fe88bafadb5f8e4f1bc562a34e61645c2389b47 100755 GIT binary patch delta 8174 zcmd5>cT^Nfx9=VXoF=2BVUS=T2#nwmMI8_q5d}mABS>%%5D+D-V_*i;8decXMNtt@ zQOqo>F1Q8^7*JOXsF>DW#l#{eTvo;JR`oQ)clMok&in7pIsLnJL*2S{D|AoQj>8%) zRT}HWj^Fef&Kbox=KH?RSn~JN>%S}7_EdfJ%2@VZ9(wbii*Z`h?os5oK7XP$?_5Ft zJO`s}nxYtrQf6eu&yCHHQAzogW{MyUiqZjLW}+-DDM3!Ts(4?ZdLW;~qbMVwGgD^A zVTVun6lDnf?6i0p=D(jCo1QMGsJkG?&hKbalmSp*EsD|x>H<_BXi{3DY;IC!Mp9Zr zO47{4%&TAz?JAUE&;YLJ4b%*%y?~;GKy`tNfaU?k@=rY|$^>W%^a4A+0+lee2IvVi zbFRB54k$eKLv6xAE}0-%;avj{(nQci;cZg3b-E1;G@ z`vCn4;aLNHq@t&RVtuKKUj`IAN(PDpO~{aC%hED4CP0ATLg^2*7f^X@Y6=eQCUWBq z46lJ$ad*#v3WqN+X8E|evGKADNC@y)ejX^!n;G;O+aCjaXh@lq;X;Pu8pyHTZdA!L z8#UgPZOa%kh1-q+ibtUkYT?nEku;Z7b2ewa9fByZH`zQ{d@RJ~0to<9WglduVWuzz z4tq(D%}jKeC6jBbcp4~<tX~aYJ7$|PF9w>BIS1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a3L?Ubq|-vCX}5`W{0fH_wtst z4nK)4(YZZbdo~3;FFo$`gTqaYV8?3%yrwae$47Rg7sSq>=~Y~MBwAc0piR+_P@aVLRz=g#kWRG^eG-LMbM3uJ#+H&?Q=V7o z@qEQa4h=_Z3Lg#~o5J;Xxov4^q*Euiq@exPTppYAE#q0A{PjgdklbE|9#wPc!{`fm zu^HowRPQYF7YeR&uls0n4cC4!!<-rAVN-DLg4|9UOLNP6_NFiERTt5V=?Hdjy~U2 XLrtCXy6Wgtr=c>mfQN)0t=RS7oXm`H diff --git a/package.json b/package.json index f07664d..1eba3a6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "owasp", - "version": "1.0.2", + "version": "1.1.0", "type": "module", "license": "MIT", "publishConfig": { @@ -15,24 +15,14 @@ }, "keywords": ["owasp", "logging", "security"], "exports": { - "./dom": { + ".": { "import": { - "types": "./dist/dom.d.ts", - "default": "./dist/dom.js" + "types": "./dist/index.d.ts", + "default": "./dist/index.js" }, "require": { - "types": "./dist/dom.d.cts", - "default": "./dist/dom.cjs" - } - }, - "./vocab": { - "import": { - "types": "./dist/vocab.d.ts", - "default": "./dist/vocab.js" - }, - "require": { - "types": "./dist/vocab.d.cts", - "default": "./dist/vocab.cjs" + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" } }, "./package.json": "./package.json" @@ -47,12 +37,13 @@ "build": "tsup --config tsup.config.ts" }, "devDependencies": { - "@biomejs/biome": "^1.4.1", - "@happy-dom/global-registrator": "^12.10.3", - "bun-types": "^1.0.17", - "tsup": "^8.0.1", - "type-fest": "^4.8.3", - "typescript": "^5.3.3" + "@biomejs/biome": "^1.6.3", + "@happy-dom/global-registrator": "^14.3.9", + "bun-types": "^1.0.36", + "tsup": "^8.0.2", + "type-fest": "^4.14.0", + "typescript": "^5.4.3" }, - "packageManager": "bun@1.0.17" + "packageManager": "bun@1.0.36", + "trustedDependencies": ["@biomejs/biome"] } diff --git a/src/index.ts b/src/index.ts index 3dcd380..2c0ec8f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1 +1,2 @@ +export * from "./dom/index.js"; export * from "./vocab/index.js"; diff --git a/tsup.config.ts b/tsup.config.ts index 616ef44..c9e227a 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -1,10 +1,7 @@ import { defineConfig } from "tsup"; export default defineConfig({ - entry: { - dom: "./src/dom/index.ts", - vocab: "./src/vocab/index.ts", - }, + entry: ["src/index.ts"], splitting: false, sourcemap: true, format: ["cjs", "esm"],