@remotion/bundler 4.0.459 → 4.0.460

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.
@@ -5,11 +5,13 @@ export declare class WatchIgnoreNextChangePlugin {
5
5
  private dirsToIgnore;
6
6
  private snapshotFileTimestamps;
7
7
  private snapshotDirTimestamps;
8
+ private suppressedFilesHistory;
8
9
  private currentWatcher;
9
10
  private trace;
10
11
  constructor(trace: TraceLogFn);
11
12
  ignoreNextChange(file: string): void;
12
13
  unignoreNextChange(file: string): void;
14
+ consumeSuppressedFilesHistory(): string[];
13
15
  apply(compiler: Compiler): void;
14
16
  }
15
17
  export {};
@@ -17,6 +17,7 @@ class WatchIgnoreNextChangePlugin {
17
17
  dirsToIgnore = new Set();
18
18
  snapshotFileTimestamps = new Map();
19
19
  snapshotDirTimestamps = new Map();
20
+ suppressedFilesHistory = new Set();
20
21
  currentWatcher = null;
21
22
  trace;
22
23
  constructor(trace) {
@@ -58,6 +59,14 @@ class WatchIgnoreNextChangePlugin {
58
59
  this.snapshotFileTimestamps.delete(file);
59
60
  this.snapshotDirTimestamps.delete(dir);
60
61
  }
62
+ // Returns and clears the list of files whose changes were previously
63
+ // suppressed. Caller can use this to e.g. touch the files later and
64
+ // trigger a real rebuild.
65
+ consumeSuppressedFilesHistory() {
66
+ const files = [...this.suppressedFilesHistory];
67
+ this.suppressedFilesHistory.clear();
68
+ return files;
69
+ }
61
70
  apply(compiler) {
62
71
  compiler.hooks.afterEnvironment.tap('WatchIgnoreNextChangePlugin', () => {
63
72
  const wfs = compiler.watchFileSystem;
@@ -101,6 +110,7 @@ class WatchIgnoreNextChangePlugin {
101
110
  }
102
111
  if (wasInChanged) {
103
112
  suppressedFiles.push(file);
113
+ self.suppressedFilesHistory.add(file);
104
114
  self.filesToIgnore.delete(file);
105
115
  self.snapshotFileTimestamps.delete(file);
106
116
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/bundler"
4
4
  },
5
5
  "name": "@remotion/bundler",
6
- "version": "4.0.459",
6
+ "version": "4.0.460",
7
7
  "description": "Bundle Remotion compositions using Webpack",
8
8
  "main": "dist/index.js",
9
9
  "sideEffects": false,
@@ -27,10 +27,10 @@
27
27
  "postcss-value-parser": "4.2.0",
28
28
  "esbuild": "0.25.0",
29
29
  "react-refresh": "0.18.0",
30
- "remotion": "4.0.459",
31
- "@remotion/studio": "4.0.459",
32
- "@remotion/studio-shared": "4.0.459",
33
- "@remotion/media-parser": "4.0.459",
30
+ "remotion": "4.0.460",
31
+ "@remotion/studio": "4.0.460",
32
+ "@remotion/studio-shared": "4.0.460",
33
+ "@remotion/media-parser": "4.0.460",
34
34
  "style-loader": "4.0.0",
35
35
  "source-map": "0.7.3",
36
36
  "webpack": "5.105.0"
@@ -42,7 +42,7 @@
42
42
  "devDependencies": {
43
43
  "react": "19.2.3",
44
44
  "react-dom": "19.2.3",
45
- "@remotion/eslint-config-internal": "4.0.459",
45
+ "@remotion/eslint-config-internal": "4.0.460",
46
46
  "eslint": "9.19.0",
47
47
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
48
48
  },