extract-base-iterator 2.2.3 → 2.2.4
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/dist/cjs/DirectoryEntry.d.cts +1 -1
- package/dist/cjs/DirectoryEntry.d.ts +1 -1
- package/dist/cjs/FileEntry.d.cts +1 -1
- package/dist/cjs/FileEntry.d.ts +1 -1
- package/dist/cjs/LinkEntry.d.cts +1 -1
- package/dist/cjs/LinkEntry.d.ts +1 -1
- package/dist/cjs/SymbolicLinkEntry.d.cts +1 -1
- package/dist/cjs/SymbolicLinkEntry.d.ts +1 -1
- package/dist/cjs/fs/chmod.d.cts +1 -1
- package/dist/cjs/fs/chmod.d.ts +1 -1
- package/dist/cjs/fs/chown.d.cts +1 -1
- package/dist/cjs/fs/chown.d.ts +1 -1
- package/dist/cjs/fs/utimes.d.cts +1 -1
- package/dist/cjs/fs/utimes.d.ts +1 -1
- package/dist/cjs/index.d.cts +8 -8
- package/dist/cjs/index.d.ts +8 -8
- package/dist/cjs/stripPath.d.cts +1 -1
- package/dist/cjs/stripPath.d.ts +1 -1
- package/dist/cjs/types.d.cts +4 -4
- package/dist/cjs/types.d.ts +4 -4
- package/dist/cjs/waitForAccess.d.cts +1 -1
- package/dist/cjs/waitForAccess.d.ts +1 -1
- package/dist/esm/DirectoryEntry.d.ts +1 -1
- package/dist/esm/FileEntry.d.ts +1 -1
- package/dist/esm/LinkEntry.d.ts +1 -1
- package/dist/esm/SymbolicLinkEntry.d.ts +1 -1
- package/dist/esm/fs/chmod.d.ts +1 -1
- package/dist/esm/fs/chown.d.ts +1 -1
- package/dist/esm/fs/utimes.d.ts +1 -1
- package/dist/esm/index.d.ts +8 -8
- package/dist/esm/stripPath.d.ts +1 -1
- package/dist/esm/types.d.ts +4 -4
- package/dist/esm/waitForAccess.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Mode } from 'fs';
|
|
2
|
-
import type { DirectoryAttributes, ExtractOptions, NoParamCallback } from './types.
|
|
2
|
+
import type { DirectoryAttributes, ExtractOptions, NoParamCallback } from './types.js';
|
|
3
3
|
export default class DirectoryEntry {
|
|
4
4
|
mode: Mode;
|
|
5
5
|
mtime: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Mode } from 'fs';
|
|
2
|
-
import type { DirectoryAttributes, ExtractOptions, NoParamCallback } from './types.
|
|
2
|
+
import type { DirectoryAttributes, ExtractOptions, NoParamCallback } from './types.js';
|
|
3
3
|
export default class DirectoryEntry {
|
|
4
4
|
mode: Mode;
|
|
5
5
|
mtime: number;
|
package/dist/cjs/FileEntry.d.cts
CHANGED
package/dist/cjs/FileEntry.d.ts
CHANGED
package/dist/cjs/LinkEntry.d.cts
CHANGED
package/dist/cjs/LinkEntry.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Mode } from 'fs';
|
|
2
|
-
import type { ExtractOptions, LinkAttributes, NoParamCallback } from './types.
|
|
2
|
+
import type { ExtractOptions, LinkAttributes, NoParamCallback } from './types.js';
|
|
3
3
|
export default class SymbolicLinkEntry {
|
|
4
4
|
mode: Mode;
|
|
5
5
|
mtime: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Mode } from 'fs';
|
|
2
|
-
import type { ExtractOptions, LinkAttributes, NoParamCallback } from './types.
|
|
2
|
+
import type { ExtractOptions, LinkAttributes, NoParamCallback } from './types.js';
|
|
3
3
|
export default class SymbolicLinkEntry {
|
|
4
4
|
mode: Mode;
|
|
5
5
|
mtime: number;
|
package/dist/cjs/fs/chmod.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { NoParamCallback } from 'fs';
|
|
2
|
-
import type { AbstractEntry, ExtractOptions } from '../types.
|
|
2
|
+
import type { AbstractEntry, ExtractOptions } from '../types.js';
|
|
3
3
|
export default function chmodFn(fullPath: string, entry: AbstractEntry, _options: ExtractOptions, callback: NoParamCallback): void;
|
package/dist/cjs/fs/chmod.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { NoParamCallback } from 'fs';
|
|
2
|
-
import type { AbstractEntry, ExtractOptions } from '../types.
|
|
2
|
+
import type { AbstractEntry, ExtractOptions } from '../types.js';
|
|
3
3
|
export default function chmodFn(fullPath: string, entry: AbstractEntry, _options: ExtractOptions, callback: NoParamCallback): void;
|
package/dist/cjs/fs/chown.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { NoParamCallback } from 'fs';
|
|
2
|
-
import type { AbstractEntry, ExtractOptions } from '../types.
|
|
2
|
+
import type { AbstractEntry, ExtractOptions } from '../types.js';
|
|
3
3
|
export default function chownFn(fullPath: string, entry: AbstractEntry, _options: ExtractOptions, callback: NoParamCallback): void;
|
package/dist/cjs/fs/chown.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { NoParamCallback } from 'fs';
|
|
2
|
-
import type { AbstractEntry, ExtractOptions } from '../types.
|
|
2
|
+
import type { AbstractEntry, ExtractOptions } from '../types.js';
|
|
3
3
|
export default function chownFn(fullPath: string, entry: AbstractEntry, _options: ExtractOptions, callback: NoParamCallback): void;
|
package/dist/cjs/fs/utimes.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { NoParamCallback } from 'fs';
|
|
2
|
-
import type { AbstractEntry, ExtractOptions } from '../types.
|
|
2
|
+
import type { AbstractEntry, ExtractOptions } from '../types.js';
|
|
3
3
|
export default function utimes(fullPath: string, entry: AbstractEntry, options: ExtractOptions, callback: NoParamCallback): undefined;
|
package/dist/cjs/fs/utimes.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { NoParamCallback } from 'fs';
|
|
2
|
-
import type { AbstractEntry, ExtractOptions } from '../types.
|
|
2
|
+
import type { AbstractEntry, ExtractOptions } from '../types.js';
|
|
3
3
|
export default function utimes(fullPath: string, entry: AbstractEntry, options: ExtractOptions, callback: NoParamCallback): undefined;
|
package/dist/cjs/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import './polyfills.
|
|
1
|
+
import './polyfills.js';
|
|
2
2
|
import StackBaseIterator from 'stack-base-iterator';
|
|
3
|
-
import type { Entry } from './types.
|
|
3
|
+
import type { Entry } from './types.js';
|
|
4
4
|
export default class ExtractBaseIterator extends StackBaseIterator<Entry> {
|
|
5
5
|
}
|
|
6
|
-
export { default as DirectoryEntry } from './DirectoryEntry.
|
|
7
|
-
export { default as FileEntry } from './FileEntry.
|
|
8
|
-
export { default as LinkEntry } from './LinkEntry.
|
|
9
|
-
export { default as SymbolicLinkEntry } from './SymbolicLinkEntry.
|
|
10
|
-
export * from './types.
|
|
11
|
-
export { default as waitForAccess } from './waitForAccess.
|
|
6
|
+
export { default as DirectoryEntry } from './DirectoryEntry.js';
|
|
7
|
+
export { default as FileEntry } from './FileEntry.js';
|
|
8
|
+
export { default as LinkEntry } from './LinkEntry.js';
|
|
9
|
+
export { default as SymbolicLinkEntry } from './SymbolicLinkEntry.js';
|
|
10
|
+
export * from './types.js';
|
|
11
|
+
export { default as waitForAccess } from './waitForAccess.js';
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import './polyfills.
|
|
1
|
+
import './polyfills.js';
|
|
2
2
|
import StackBaseIterator from 'stack-base-iterator';
|
|
3
|
-
import type { Entry } from './types.
|
|
3
|
+
import type { Entry } from './types.js';
|
|
4
4
|
export default class ExtractBaseIterator extends StackBaseIterator<Entry> {
|
|
5
5
|
}
|
|
6
|
-
export { default as DirectoryEntry } from './DirectoryEntry.
|
|
7
|
-
export { default as FileEntry } from './FileEntry.
|
|
8
|
-
export { default as LinkEntry } from './LinkEntry.
|
|
9
|
-
export { default as SymbolicLinkEntry } from './SymbolicLinkEntry.
|
|
10
|
-
export * from './types.
|
|
11
|
-
export { default as waitForAccess } from './waitForAccess.
|
|
6
|
+
export { default as DirectoryEntry } from './DirectoryEntry.js';
|
|
7
|
+
export { default as FileEntry } from './FileEntry.js';
|
|
8
|
+
export { default as LinkEntry } from './LinkEntry.js';
|
|
9
|
+
export { default as SymbolicLinkEntry } from './SymbolicLinkEntry.js';
|
|
10
|
+
export * from './types.js';
|
|
11
|
+
export { default as waitForAccess } from './waitForAccess.js';
|
package/dist/cjs/stripPath.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ExtractOptions } from './types.
|
|
1
|
+
import type { ExtractOptions } from './types.js';
|
|
2
2
|
export default function stripPath(relativePath: string, options: ExtractOptions): string;
|
package/dist/cjs/stripPath.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ExtractOptions } from './types.
|
|
1
|
+
import type { ExtractOptions } from './types.js';
|
|
2
2
|
export default function stripPath(relativePath: string, options: ExtractOptions): string;
|
package/dist/cjs/types.d.cts
CHANGED
|
@@ -23,10 +23,10 @@ export interface LinkAttributes {
|
|
|
23
23
|
path: string;
|
|
24
24
|
linkpath: string;
|
|
25
25
|
}
|
|
26
|
-
import type { default as DirectoryEntry } from './DirectoryEntry.
|
|
27
|
-
import type { default as FileEntry } from './FileEntry.
|
|
28
|
-
import type { default as LinkEntry } from './LinkEntry.
|
|
29
|
-
import type { default as SymbolicLinkEntry } from './SymbolicLinkEntry.
|
|
26
|
+
import type { default as DirectoryEntry } from './DirectoryEntry.js';
|
|
27
|
+
import type { default as FileEntry } from './FileEntry.js';
|
|
28
|
+
import type { default as LinkEntry } from './LinkEntry.js';
|
|
29
|
+
import type { default as SymbolicLinkEntry } from './SymbolicLinkEntry.js';
|
|
30
30
|
export type Entry = DirectoryEntry | FileEntry | LinkEntry | SymbolicLinkEntry;
|
|
31
31
|
export interface AbstractEntry {
|
|
32
32
|
mode: Mode;
|
package/dist/cjs/types.d.ts
CHANGED
|
@@ -23,10 +23,10 @@ export interface LinkAttributes {
|
|
|
23
23
|
path: string;
|
|
24
24
|
linkpath: string;
|
|
25
25
|
}
|
|
26
|
-
import type { default as DirectoryEntry } from './DirectoryEntry.
|
|
27
|
-
import type { default as FileEntry } from './FileEntry.
|
|
28
|
-
import type { default as LinkEntry } from './LinkEntry.
|
|
29
|
-
import type { default as SymbolicLinkEntry } from './SymbolicLinkEntry.
|
|
26
|
+
import type { default as DirectoryEntry } from './DirectoryEntry.js';
|
|
27
|
+
import type { default as FileEntry } from './FileEntry.js';
|
|
28
|
+
import type { default as LinkEntry } from './LinkEntry.js';
|
|
29
|
+
import type { default as SymbolicLinkEntry } from './SymbolicLinkEntry.js';
|
|
30
30
|
export type Entry = DirectoryEntry | FileEntry | LinkEntry | SymbolicLinkEntry;
|
|
31
31
|
export interface AbstractEntry {
|
|
32
32
|
mode: Mode;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { NoParamCallback } from './types.
|
|
1
|
+
import type { NoParamCallback } from './types.js';
|
|
2
2
|
export default function waitForAccess(fullPath: string, callback: NoParamCallback): undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { NoParamCallback } from './types.
|
|
1
|
+
import type { NoParamCallback } from './types.js';
|
|
2
2
|
export default function waitForAccess(fullPath: string, callback: NoParamCallback): undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Mode } from 'fs';
|
|
2
|
-
import type { DirectoryAttributes, ExtractOptions, NoParamCallback } from './types.
|
|
2
|
+
import type { DirectoryAttributes, ExtractOptions, NoParamCallback } from './types.js';
|
|
3
3
|
export default class DirectoryEntry {
|
|
4
4
|
mode: Mode;
|
|
5
5
|
mtime: number;
|
package/dist/esm/FileEntry.d.ts
CHANGED
package/dist/esm/LinkEntry.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Mode } from 'fs';
|
|
2
|
-
import type { ExtractOptions, LinkAttributes, NoParamCallback } from './types.
|
|
2
|
+
import type { ExtractOptions, LinkAttributes, NoParamCallback } from './types.js';
|
|
3
3
|
export default class SymbolicLinkEntry {
|
|
4
4
|
mode: Mode;
|
|
5
5
|
mtime: number;
|
package/dist/esm/fs/chmod.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { NoParamCallback } from 'fs';
|
|
2
|
-
import type { AbstractEntry, ExtractOptions } from '../types.
|
|
2
|
+
import type { AbstractEntry, ExtractOptions } from '../types.js';
|
|
3
3
|
export default function chmodFn(fullPath: string, entry: AbstractEntry, _options: ExtractOptions, callback: NoParamCallback): void;
|
package/dist/esm/fs/chown.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { NoParamCallback } from 'fs';
|
|
2
|
-
import type { AbstractEntry, ExtractOptions } from '../types.
|
|
2
|
+
import type { AbstractEntry, ExtractOptions } from '../types.js';
|
|
3
3
|
export default function chownFn(fullPath: string, entry: AbstractEntry, _options: ExtractOptions, callback: NoParamCallback): void;
|
package/dist/esm/fs/utimes.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { NoParamCallback } from 'fs';
|
|
2
|
-
import type { AbstractEntry, ExtractOptions } from '../types.
|
|
2
|
+
import type { AbstractEntry, ExtractOptions } from '../types.js';
|
|
3
3
|
export default function utimes(fullPath: string, entry: AbstractEntry, options: ExtractOptions, callback: NoParamCallback): undefined;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import './polyfills.
|
|
1
|
+
import './polyfills.js';
|
|
2
2
|
import StackBaseIterator from 'stack-base-iterator';
|
|
3
|
-
import type { Entry } from './types.
|
|
3
|
+
import type { Entry } from './types.js';
|
|
4
4
|
export default class ExtractBaseIterator extends StackBaseIterator<Entry> {
|
|
5
5
|
}
|
|
6
|
-
export { default as DirectoryEntry } from './DirectoryEntry.
|
|
7
|
-
export { default as FileEntry } from './FileEntry.
|
|
8
|
-
export { default as LinkEntry } from './LinkEntry.
|
|
9
|
-
export { default as SymbolicLinkEntry } from './SymbolicLinkEntry.
|
|
10
|
-
export * from './types.
|
|
11
|
-
export { default as waitForAccess } from './waitForAccess.
|
|
6
|
+
export { default as DirectoryEntry } from './DirectoryEntry.js';
|
|
7
|
+
export { default as FileEntry } from './FileEntry.js';
|
|
8
|
+
export { default as LinkEntry } from './LinkEntry.js';
|
|
9
|
+
export { default as SymbolicLinkEntry } from './SymbolicLinkEntry.js';
|
|
10
|
+
export * from './types.js';
|
|
11
|
+
export { default as waitForAccess } from './waitForAccess.js';
|
package/dist/esm/stripPath.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ExtractOptions } from './types.
|
|
1
|
+
import type { ExtractOptions } from './types.js';
|
|
2
2
|
export default function stripPath(relativePath: string, options: ExtractOptions): string;
|
package/dist/esm/types.d.ts
CHANGED
|
@@ -23,10 +23,10 @@ export interface LinkAttributes {
|
|
|
23
23
|
path: string;
|
|
24
24
|
linkpath: string;
|
|
25
25
|
}
|
|
26
|
-
import type { default as DirectoryEntry } from './DirectoryEntry.
|
|
27
|
-
import type { default as FileEntry } from './FileEntry.
|
|
28
|
-
import type { default as LinkEntry } from './LinkEntry.
|
|
29
|
-
import type { default as SymbolicLinkEntry } from './SymbolicLinkEntry.
|
|
26
|
+
import type { default as DirectoryEntry } from './DirectoryEntry.js';
|
|
27
|
+
import type { default as FileEntry } from './FileEntry.js';
|
|
28
|
+
import type { default as LinkEntry } from './LinkEntry.js';
|
|
29
|
+
import type { default as SymbolicLinkEntry } from './SymbolicLinkEntry.js';
|
|
30
30
|
export type Entry = DirectoryEntry | FileEntry | LinkEntry | SymbolicLinkEntry;
|
|
31
31
|
export interface AbstractEntry {
|
|
32
32
|
mode: Mode;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { NoParamCallback } from './types.
|
|
1
|
+
import type { NoParamCallback } from './types.js';
|
|
2
2
|
export default function waitForAccess(fullPath: string, callback: NoParamCallback): undefined;
|