diff --git a/example/node.js b/example/node-import.js similarity index 100% rename from example/node.js rename to example/node-import.js diff --git a/package.json b/package.json index 62c37d0b..983aa0d6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,8 @@ { "name": "itty-router", - "version": "4.0.10-next.4", + "version": "4.0.11", "description": "A tiny, zero-dependency router, designed to make beautiful APIs in any environment.", + "type": "module", "main": "./cjs/index.js", "module": "./index.js", "types": "./index.d.ts", @@ -67,7 +68,7 @@ "gzip-size": "^7.0.0", "http": "^0.0.1-security", "isomorphic-fetch": "^3.0.0", - "itty-router": "^4.0.10", + "itty-router": "^4.0.10-next.4", "jsdom": "^22.1.0", "npm-run-all": "^4.1.5", "prettier": "^2.8.8", diff --git a/yarn.lock b/yarn.lock index fe48131a..0ccead85 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2455,10 +2455,10 @@ istanbul-reports@^3.1.4: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" -itty-router@^4.0.10: - version "4.0.10" - resolved "https://registry.yarnpkg.com/itty-router/-/itty-router-4.0.10.tgz#d2f6bdd74880539975552a0db5c81bfaa3655e2e" - integrity sha512-2B8nfXlHpzRiCEp1uSULRoy1lyzzOmLvLYEcX+Jg2Io9Q7e6F+Lv/qwYv+qzR2z256PmCzaq6yrA+2dnXysy9g== +itty-router@^4.0.10-next.4: + version "4.0.10-next.4" + resolved "https://registry.yarnpkg.com/itty-router/-/itty-router-4.0.10-next.4.tgz#1189e706890d7ef472adcc002f03e34e1df44a5a" + integrity sha512-dr48sUf+3EFh8CM/rYs3wnpVUdKN6n1TdrvMd4KS+6ogbVdbZ2qAcvwF8Kxt26c1VYPsDcNPVT0fPpG7/Cds6Q== jackspeak@^2.0.3: version "2.2.1"