Skip to content

Commit 8963236

Browse files
committedJan 12, 2025·
chore: update pathe to v2
1 parent c23a14c commit 8963236

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"dependencies": {
3030
"acorn": "^8.14.0",
31-
"pathe": "^1.1.2",
31+
"pathe": "^2.0.1",
3232
"pkg-types": "^1.3.0",
3333
"ufo": "^1.5.4"
3434
},

‎pnpm-lock.yaml

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎test/exports.test.ts

+10-4
Original file line numberDiff line numberDiff line change
@@ -272,20 +272,23 @@ describe("resolveModuleExportNames", () => {
272272
expect(await resolveModuleExportNames("pathe")).toMatchInlineSnapshot(`
273273
[
274274
"basename",
275-
"default",
276-
"delimiter",
277275
"dirname",
278276
"extname",
279277
"format",
280278
"isAbsolute",
281279
"join",
280+
"matchesGlob",
282281
"normalize",
283282
"normalizeString",
284283
"parse",
285284
"relative",
286285
"resolve",
287286
"sep",
288287
"toNamespacedPath",
288+
"default",
289+
"delimiter",
290+
"posix",
291+
"win32",
289292
]
290293
`);
291294
});
@@ -300,20 +303,23 @@ describe("resolveModuleExportNames", () => {
300303
"foo",
301304
"_resolve",
302305
"basename",
303-
"default",
304-
"delimiter",
305306
"dirname",
306307
"extname",
307308
"format",
308309
"isAbsolute",
309310
"join",
311+
"matchesGlob",
310312
"normalize",
311313
"normalizeString",
312314
"parse",
313315
"relative",
314316
"resolve",
315317
"sep",
316318
"toNamespacedPath",
319+
"default",
320+
"delimiter",
321+
"posix",
322+
"win32",
317323
]
318324
`);
319325
});

0 commit comments

Comments
 (0)
Please sign in to comment.