@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.
- package/lib/commom/posix.d.mts +1 -9
- package/lib/commom/posix.mjs +1 -1
- package/package.json +1 -1
package/lib/commom/posix.d.mts
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
|
|
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;
|
package/lib/commom/posix.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
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)}
|