cbst 1.0.0 → 1.0.1
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/CacheBuster.d.ts +2 -2
- package/dist/CacheBuster.js +3 -3
- package/dist/CacheBusterCli.d.ts +2 -2
- package/dist/CacheBusterCli.js +3 -3
- package/dist/bin.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/CacheBuster.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import EventEmitter from 'events';
|
|
2
|
-
import { Cache } from './util/Cache';
|
|
3
|
-
import { Glob } from './util/Glob';
|
|
2
|
+
import { Cache } from './util/Cache.js';
|
|
3
|
+
import { Glob } from './util/Glob.js';
|
|
4
4
|
export interface CacheBusterConfig {
|
|
5
5
|
/**
|
|
6
6
|
* List of file patterns to exclude entirely.
|
package/dist/CacheBuster.js
CHANGED
|
@@ -2,9 +2,9 @@ import { createHash } from 'crypto';
|
|
|
2
2
|
import EventEmitter from 'events';
|
|
3
3
|
import { promises as fs } from 'fs';
|
|
4
4
|
import { posix as path } from 'path';
|
|
5
|
-
import { ReferenceError } from './ReferenceError';
|
|
6
|
-
import { Cache } from './util/Cache';
|
|
7
|
-
import { Glob } from './util/Glob';
|
|
5
|
+
import { ReferenceError } from './ReferenceError.js';
|
|
6
|
+
import { Cache } from './util/Cache.js';
|
|
7
|
+
import { Glob } from './util/Glob.js';
|
|
8
8
|
export class CacheBuster extends EventEmitter {
|
|
9
9
|
static defaultConfig = {
|
|
10
10
|
exclude: [],
|
package/dist/CacheBusterCli.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CacheBusterConfig } from './CacheBuster';
|
|
2
|
-
import { ConsoleLike } from './util/ConsoleLike';
|
|
1
|
+
import { CacheBusterConfig } from './CacheBuster.js';
|
|
2
|
+
import { ConsoleLike } from './util/ConsoleLike.js';
|
|
3
3
|
export declare class CacheBusterCli {
|
|
4
4
|
protected console: ConsoleLike;
|
|
5
5
|
constructor(console?: ConsoleLike);
|
package/dist/CacheBusterCli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { promises as fs } from 'fs';
|
|
2
|
-
import { CacheBuster } from './CacheBuster';
|
|
3
|
-
import { isRecord } from './util/isRecord';
|
|
4
|
-
import { isStringArray } from './util/isStringArray';
|
|
2
|
+
import { CacheBuster } from './CacheBuster.js';
|
|
3
|
+
import { isRecord } from './util/isRecord.js';
|
|
4
|
+
import { isStringArray } from './util/isStringArray.js';
|
|
5
5
|
export class CacheBusterCli {
|
|
6
6
|
console;
|
|
7
7
|
constructor(console = global.console) {
|
package/dist/bin.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './CacheBuster';
|
|
2
|
-
export * from './CacheBusterCli';
|
|
3
|
-
export * from './ReferenceError';
|
|
1
|
+
export * from './CacheBuster.js';
|
|
2
|
+
export * from './CacheBusterCli.js';
|
|
3
|
+
export * from './ReferenceError.js';
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './CacheBuster';
|
|
2
|
-
export * from './CacheBusterCli';
|
|
3
|
-
export * from './ReferenceError';
|
|
1
|
+
export * from './CacheBuster.js';
|
|
2
|
+
export * from './CacheBusterCli.js';
|
|
3
|
+
export * from './ReferenceError.js';
|