extract-base-iterator 2.2.2 → 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.
@@ -1,5 +1,5 @@
1
1
  import type { Mode } from 'fs';
2
- import type { DirectoryAttributes, ExtractOptions, NoParamCallback } from './types.ts';
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.ts';
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 { ExtractOptions, FileAttributes, NoParamCallback } from './types.ts';
2
+ import type { ExtractOptions, FileAttributes, NoParamCallback } from './types.js';
3
3
  export default class FileEntry {
4
4
  mode: Mode;
5
5
  mtime: number;
@@ -1,5 +1,5 @@
1
1
  import type { Mode } from 'fs';
2
- import type { ExtractOptions, FileAttributes, NoParamCallback } from './types.ts';
2
+ import type { ExtractOptions, FileAttributes, NoParamCallback } from './types.js';
3
3
  export default class FileEntry {
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.ts';
2
+ import type { ExtractOptions, LinkAttributes, NoParamCallback } from './types.js';
3
3
  export default class LinkEntry {
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.ts';
2
+ import type { ExtractOptions, LinkAttributes, NoParamCallback } from './types.js';
3
3
  export default class LinkEntry {
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.ts';
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.ts';
2
+ import type { ExtractOptions, LinkAttributes, NoParamCallback } from './types.js';
3
3
  export default class SymbolicLinkEntry {
4
4
  mode: Mode;
5
5
  mtime: number;
@@ -1,3 +1,3 @@
1
1
  import type { NoParamCallback } from 'fs';
2
- import type { AbstractEntry, ExtractOptions } from '../types.ts';
2
+ import type { AbstractEntry, ExtractOptions } from '../types.js';
3
3
  export default function chmodFn(fullPath: string, entry: AbstractEntry, _options: ExtractOptions, callback: NoParamCallback): void;
@@ -1,3 +1,3 @@
1
1
  import type { NoParamCallback } from 'fs';
2
- import type { AbstractEntry, ExtractOptions } from '../types.ts';
2
+ import type { AbstractEntry, ExtractOptions } from '../types.js';
3
3
  export default function chmodFn(fullPath: string, entry: AbstractEntry, _options: ExtractOptions, callback: NoParamCallback): void;
@@ -1,3 +1,3 @@
1
1
  import type { NoParamCallback } from 'fs';
2
- import type { AbstractEntry, ExtractOptions } from '../types.ts';
2
+ import type { AbstractEntry, ExtractOptions } from '../types.js';
3
3
  export default function chownFn(fullPath: string, entry: AbstractEntry, _options: ExtractOptions, callback: NoParamCallback): void;
@@ -1,3 +1,3 @@
1
1
  import type { NoParamCallback } from 'fs';
2
- import type { AbstractEntry, ExtractOptions } from '../types.ts';
2
+ import type { AbstractEntry, ExtractOptions } from '../types.js';
3
3
  export default function chownFn(fullPath: string, entry: AbstractEntry, _options: ExtractOptions, callback: NoParamCallback): void;
@@ -1,3 +1,3 @@
1
1
  import type { NoParamCallback } from 'fs';
2
- import type { AbstractEntry, ExtractOptions } from '../types.ts';
2
+ import type { AbstractEntry, ExtractOptions } from '../types.js';
3
3
  export default function utimes(fullPath: string, entry: AbstractEntry, options: ExtractOptions, callback: NoParamCallback): undefined;
@@ -1,3 +1,3 @@
1
1
  import type { NoParamCallback } from 'fs';
2
- import type { AbstractEntry, ExtractOptions } from '../types.ts';
2
+ import type { AbstractEntry, ExtractOptions } from '../types.js';
3
3
  export default function utimes(fullPath: string, entry: AbstractEntry, options: ExtractOptions, callback: NoParamCallback): undefined;
@@ -1,11 +1,11 @@
1
- import './polyfills.ts';
1
+ import './polyfills.js';
2
2
  import StackBaseIterator from 'stack-base-iterator';
3
- import type { Entry } from './types.ts';
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.ts';
7
- export { default as FileEntry } from './FileEntry.ts';
8
- export { default as LinkEntry } from './LinkEntry.ts';
9
- export { default as SymbolicLinkEntry } from './SymbolicLinkEntry.ts';
10
- export * from './types.ts';
11
- export { default as waitForAccess } from './waitForAccess.ts';
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';
@@ -1,11 +1,11 @@
1
- import './polyfills.ts';
1
+ import './polyfills.js';
2
2
  import StackBaseIterator from 'stack-base-iterator';
3
- import type { Entry } from './types.ts';
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.ts';
7
- export { default as FileEntry } from './FileEntry.ts';
8
- export { default as LinkEntry } from './LinkEntry.ts';
9
- export { default as SymbolicLinkEntry } from './SymbolicLinkEntry.ts';
10
- export * from './types.ts';
11
- export { default as waitForAccess } from './waitForAccess.ts';
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';
@@ -1,2 +1,2 @@
1
- import type { ExtractOptions } from './types.ts';
1
+ import type { ExtractOptions } from './types.js';
2
2
  export default function stripPath(relativePath: string, options: ExtractOptions): string;
@@ -1,2 +1,2 @@
1
- import type { ExtractOptions } from './types.ts';
1
+ import type { ExtractOptions } from './types.js';
2
2
  export default function stripPath(relativePath: string, options: ExtractOptions): string;
@@ -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.ts';
27
- import type { default as FileEntry } from './FileEntry.ts';
28
- import type { default as LinkEntry } from './LinkEntry.ts';
29
- import type { default as SymbolicLinkEntry } from './SymbolicLinkEntry.ts';
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;
@@ -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.ts';
27
- import type { default as FileEntry } from './FileEntry.ts';
28
- import type { default as LinkEntry } from './LinkEntry.ts';
29
- import type { default as SymbolicLinkEntry } from './SymbolicLinkEntry.ts';
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.ts';
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.ts';
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.ts';
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 { ExtractOptions, FileAttributes, NoParamCallback } from './types.ts';
2
+ import type { ExtractOptions, FileAttributes, NoParamCallback } from './types.js';
3
3
  export default class FileEntry {
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.ts';
2
+ import type { ExtractOptions, LinkAttributes, NoParamCallback } from './types.js';
3
3
  export default class LinkEntry {
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.ts';
2
+ import type { ExtractOptions, LinkAttributes, NoParamCallback } from './types.js';
3
3
  export default class SymbolicLinkEntry {
4
4
  mode: Mode;
5
5
  mtime: number;
@@ -1,3 +1,3 @@
1
1
  import type { NoParamCallback } from 'fs';
2
- import type { AbstractEntry, ExtractOptions } from '../types.ts';
2
+ import type { AbstractEntry, ExtractOptions } from '../types.js';
3
3
  export default function chmodFn(fullPath: string, entry: AbstractEntry, _options: ExtractOptions, callback: NoParamCallback): void;
@@ -1,3 +1,3 @@
1
1
  import type { NoParamCallback } from 'fs';
2
- import type { AbstractEntry, ExtractOptions } from '../types.ts';
2
+ import type { AbstractEntry, ExtractOptions } from '../types.js';
3
3
  export default function chownFn(fullPath: string, entry: AbstractEntry, _options: ExtractOptions, callback: NoParamCallback): void;
@@ -1,3 +1,3 @@
1
1
  import type { NoParamCallback } from 'fs';
2
- import type { AbstractEntry, ExtractOptions } from '../types.ts';
2
+ import type { AbstractEntry, ExtractOptions } from '../types.js';
3
3
  export default function utimes(fullPath: string, entry: AbstractEntry, options: ExtractOptions, callback: NoParamCallback): undefined;
@@ -1,11 +1,11 @@
1
- import './polyfills.ts';
1
+ import './polyfills.js';
2
2
  import StackBaseIterator from 'stack-base-iterator';
3
- import type { Entry } from './types.ts';
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.ts';
7
- export { default as FileEntry } from './FileEntry.ts';
8
- export { default as LinkEntry } from './LinkEntry.ts';
9
- export { default as SymbolicLinkEntry } from './SymbolicLinkEntry.ts';
10
- export * from './types.ts';
11
- export { default as waitForAccess } from './waitForAccess.ts';
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';
@@ -1,2 +1,2 @@
1
- import type { ExtractOptions } from './types.ts';
1
+ import type { ExtractOptions } from './types.js';
2
2
  export default function stripPath(relativePath: string, options: ExtractOptions): string;
@@ -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.ts';
27
- import type { default as FileEntry } from './FileEntry.ts';
28
- import type { default as LinkEntry } from './LinkEntry.ts';
29
- import type { default as SymbolicLinkEntry } from './SymbolicLinkEntry.ts';
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.ts';
1
+ import type { NoParamCallback } from './types.js';
2
2
  export default function waitForAccess(fullPath: string, callback: NoParamCallback): undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "extract-base-iterator",
3
- "version": "2.2.2",
3
+ "version": "2.2.4",
4
4
  "description": "Base iterator for extract iterators like tar-iterator and zip-iterator",
5
5
  "keywords": [
6
6
  "extract",
@@ -41,15 +41,15 @@
41
41
  "version": "tsds version"
42
42
  },
43
43
  "dependencies": {
44
- "graceful-fs": "^4.2.11",
45
- "is-absolute": "^1.0.0",
46
- "lodash.compact": "^3.0.1",
47
- "mkdirp-classic": "^0.5.3",
48
- "next-tick": "^1.1.0",
49
- "object-assign": "^4.1.1",
50
- "queue-cb": "^1.5.5",
51
- "rimraf2": "^2.8.2",
52
- "stack-base-iterator": "2.1.3"
44
+ "graceful-fs": "*",
45
+ "is-absolute": "*",
46
+ "lodash.compact": "*",
47
+ "mkdirp-classic": "*",
48
+ "next-tick": "*",
49
+ "object-assign": "*",
50
+ "queue-cb": "*",
51
+ "rimraf2": "*",
52
+ "stack-base-iterator": "*"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/mocha": "*",