@remotion/bundler 4.0.364 → 4.0.366

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/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.364",
6
+ "version": "4.0.366",
7
7
  "description": "Bundle Remotion compositions using Webpack",
8
8
  "main": "dist/index.js",
9
9
  "sideEffects": false,
@@ -16,22 +16,16 @@
16
16
  "test": "bun test src",
17
17
  "make": "tsc -d"
18
18
  },
19
- "files": [
20
- "dist",
21
- "react-shim.js",
22
- "renderEntry.tsx",
23
- "favicon.ico"
24
- ],
25
19
  "author": "Jonny Burger <jonny@remotion.dev>",
26
20
  "license": "SEE LICENSE IN LICENSE.md",
27
21
  "dependencies": {
28
22
  "css-loader": "5.2.7",
29
23
  "esbuild": "0.25.0",
30
24
  "react-refresh": "0.9.0",
31
- "remotion": "4.0.364",
32
- "@remotion/studio": "4.0.364",
33
- "@remotion/studio-shared": "4.0.364",
34
- "@remotion/media-parser": "4.0.364",
25
+ "remotion": "4.0.366",
26
+ "@remotion/studio": "4.0.366",
27
+ "@remotion/studio-shared": "4.0.366",
28
+ "@remotion/media-parser": "4.0.366",
35
29
  "style-loader": "4.0.0",
36
30
  "source-map": "0.7.3",
37
31
  "webpack": "5.96.1"
@@ -43,7 +37,7 @@
43
37
  "devDependencies": {
44
38
  "react": "19.0.0",
45
39
  "react-dom": "19.0.0",
46
- "@remotion/eslint-config-internal": "4.0.364",
40
+ "@remotion/eslint-config-internal": "4.0.366",
47
41
  "eslint": "9.19.0"
48
42
  },
49
43
  "keywords": [
@@ -1 +0,0 @@
1
- export {};
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const bun_test_1 = require("bun:test");
4
- const bundle_1 = require("../bundle");
5
- (0, bun_test_1.test)('Should reject bad bundle options', () => {
6
- // @ts-expect-error
7
- (0, bun_test_1.expect)(() => (0, bundle_1.bundle)()).toThrow(/bundle\(\) was called without arguments/);
8
- // @ts-expect-error
9
- (0, bun_test_1.expect)(() => (0, bundle_1.bundle)({})).toThrow(/bundle\(\) was called without the `entryPoint` option/);
10
- });
@@ -1 +0,0 @@
1
- export {};
@@ -1,21 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const bun_test_1 = require("bun:test");
7
- const node_path_1 = __importDefault(require("node:path"));
8
- const validate_public_dir_1 = require("../validate-public-dir");
9
- (0, bun_test_1.describe)('validatePublicDir()', () => {
10
- (0, bun_test_1.test)('Should not allow root directory as public dir.', () => {
11
- (0, bun_test_1.expect)(() => (0, validate_public_dir_1.validatePublicDir)(node_path_1.default.parse(process.cwd()).root)).toThrow(/which is the root directory. This is not allowed./);
12
- });
13
- (0, bun_test_1.test)('Should not allow a path where the parent directory does not exist', () => {
14
- const pathToPass = process.platform === 'win32' ? 'C:\\foo\\bar' : '/foo/bar';
15
- const expectedParent = process.platform === 'win32' ? 'C:\\foo' : '/foo';
16
- (0, bun_test_1.expect)(() => (0, validate_public_dir_1.validatePublicDir)(pathToPass)).toThrow(`The public directory was specified as "${pathToPass}", but this folder does not exist and the parent directory "${expectedParent}" does also not exist.`);
17
- });
18
- (0, bun_test_1.test)('Should allow /foo as a path since that directory can be created', () => {
19
- (0, bun_test_1.expect)(() => (0, validate_public_dir_1.validatePublicDir)(process.platform === 'win32' ? 'C:\\foo' : '/foo')).not.toThrow();
20
- });
21
- });
@@ -1 +0,0 @@
1
- export {};
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const bun_test_1 = require("bun:test");
4
- const fs_1 = require("fs");
5
- const path_1 = require("path");
6
- (0, bun_test_1.test)('Warrant the hack we have in loader.ts ', () => {
7
- const path = (0, path_1.join)(process.cwd(), 'dist', 'fast-refresh', 'loader.js');
8
- const contents = (0, fs_1.readFileSync)(path, 'utf-8');
9
- (0, bun_test_1.expect)(contents).toContain('var _a, _b');
10
- });