Skip to content

Commit

Permalink
fix: upgrade esm-env to remove warning when NODE_ENV is not set (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored Jan 9, 2025
1 parent d09bc03 commit f3f0858
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/khaki-melons-add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

fix: upgrade esm-env to remove warning when NODE_ENV is not set
2 changes: 1 addition & 1 deletion packages/kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@types/cookie": "^0.6.0",
"cookie": "^0.6.0",
"devalue": "^5.1.0",
"esm-env": "^1.2.1",
"esm-env": "^1.2.2",
"import-meta-resolve": "^4.1.0",
"kleur": "^4.1.5",
"magic-string": "^0.30.5",
Expand Down
3 changes: 1 addition & 2 deletions packages/kit/src/utils/routing.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// @ts-ignore - need to publish types for sub-package imports
import BROWSER from 'esm-env/browser';
import { BROWSER } from 'esm-env';

const param_pattern = /^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;

Expand Down
9 changes: 7 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f3f0858

Please sign in to comment.