@moneko/core 4.5.5 → 4.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,2 @@
1
- import { posix, win32 } from 'node:path';
2
- export declare const basename: typeof posix.basename;
3
- export declare const dirname: typeof posix.dirname;
4
- export declare const extname: typeof posix.extname;
5
- export declare const normalize: typeof posix.normalize;
6
- export declare const parse: typeof posix.parse;
7
- export declare const relative: typeof posix.relative;
8
- export declare const resolve: typeof posix.resolve;
9
- export declare const sep: typeof win32.sep;
1
+ export { basename, dirname, extname, normalize, parse, relative, resolve, sep } from 'node:path';
10
2
  export declare function join(...segments: string[]): string;
@@ -1 +1 @@
1
- import{posix as e,win32 as t}from"node:path";import{URL as o}from"node:url";let r=/^https?:\/\//;export const basename=e.basename;export const dirname=e.dirname;export const extname=e.extname;export const normalize=e.normalize;export const parse=e.parse;export const relative=e.relative;export const resolve=e.resolve;export const sep=t.sep;export function join(...t){let n=t[0];if(r.test(n)){let e=n;for(let r=1;r<t.length;r++)e=new o(t[r],e).href;return e}return e.join(...t)}
1
+ import{join as e}from"node:path";import{URL as t}from"node:url";let r=/^https?:\/\//;export{basename,dirname,extname,normalize,parse,relative,resolve,sep}from"node:path";export function join(...o){let n=o[0];if(r.test(n)){let e=n;for(let r=1;r<o.length;r++)e=new t(o[r],e).href;return e}return e(...o)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moneko/core",
3
- "version": "4.5.5",
3
+ "version": "4.5.7",
4
4
  "description": "core",
5
5
  "main": "lib/index.mjs",
6
6
  "type": "module",