@remotion/bundler 4.0.0-alpha7 → 4.0.0-alpha9

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.
@@ -24,7 +24,6 @@ self.$RefreshInterceptModuleExecution$ = function (webpackModuleId) {
24
24
  };
25
25
  self.$RefreshSig$ = RefreshRuntime.createSignatureFunctionForTransform;
26
26
  // Modeled after `useEffect` cleanup pattern:
27
- // https://reactjs.org/docs/hooks-effect.html#effects-with-cleanup
28
27
  return () => {
29
28
  self.$RefreshReg$ = prevRefreshReg;
30
29
  self.$RefreshSig$ = prevRefreshSig;
@@ -36,6 +36,7 @@ remotion_1.Internals.CSSUtils.injectCSS(`
36
36
  background-color: rgba(0, 0, 0, 1);
37
37
  }
38
38
 
39
+
39
40
  .__remotion-horizontal-scrollbar::-webkit-scrollbar {
40
41
  height: 6px;
41
42
  }
@@ -49,6 +50,29 @@ remotion_1.Internals.CSSUtils.injectCSS(`
49
50
  background-color: rgba(0, 0, 0, 1);
50
51
  }
51
52
 
53
+
54
+ @-moz-document url-prefix() {
55
+ .__remotion-vertical-scrollbar {
56
+ scrollbar-width: thin;
57
+ scrollbar-color: rgba(0, 0, 0, 0.6) rgba(0, 0, 0, 0);
58
+ }
59
+
60
+ .__remotion-vertical-scrollbar:hover {
61
+ scrollbar-color: rgba(0, 0, 0, 1) rgba(0, 0, 0, 0);
62
+ }
63
+
64
+ .__remotion-horizontal-scrollbar {
65
+ scrollbar-width: thin;
66
+ scrollbar-color: rgba(0, 0, 0, 0.6) rgba(0, 0, 0, 0);
67
+ }
68
+
69
+ .__remotion-horizontal-scrollbar:hover {
70
+ scrollbar-width: thin;
71
+ scrollbar-color: rgba(0, 0, 0, 1) rgba(0, 0, 0, 0);
72
+ }
73
+ }
74
+
75
+
52
76
  .__remotion-timeline-slider {
53
77
  appearance: none;
54
78
  width: 100px;
@@ -66,4 +90,6 @@ remotion_1.Internals.CSSUtils.injectCSS(`
66
90
  appearance: none;
67
91
  }
68
92
 
93
+
94
+
69
95
  `);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/bundler",
3
- "version": "4.0.0-alpha7",
3
+ "version": "4.0.0-alpha9",
4
4
  "description": "Bundler for Remotion",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -20,9 +20,9 @@
20
20
  "css-loader": "5.2.7",
21
21
  "esbuild": "0.16.12",
22
22
  "react-refresh": "0.9.0",
23
- "remotion": "4.0.0-alpha7",
24
23
  "style-loader": "2.0.0",
25
- "webpack": "5.76.1"
24
+ "webpack": "5.83.1",
25
+ "remotion": "4.0.0-alpha9"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": ">=16.8.0",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "devDependencies": {
32
32
  "@jonny/eslint-config": "3.0.266",
33
- "@types/node": "^16.7.5",
33
+ "@types/node": "18.14.6",
34
34
  "@types/react": "18.0.26",
35
35
  "@types/react-dom": "18.0.10",
36
36
  "@typescript-eslint/eslint-plugin": "5.18.0",
@@ -44,7 +44,7 @@
44
44
  "react": "^18.0.0",
45
45
  "react-dom": "^18.0.0",
46
46
  "typescript": "^4.7.0",
47
- "vitest": "0.24.3"
47
+ "vitest": "0.31.1"
48
48
  },
49
49
  "keywords": [
50
50
  "remotion",
@@ -58,6 +58,7 @@
58
58
  "access": "public"
59
59
  },
60
60
  "scripts": {
61
+ "formatting": "prettier src --check",
61
62
  "lint": "eslint src --ext ts,tsx",
62
63
  "build": "tsc -d",
63
64
  "watch": "tsc -w",
@@ -1,5 +0,0 @@
1
- import type { Compiler } from 'webpack';
2
- export declare class AllowOptionalDependenciesPlugin {
3
- filter(error: Error): boolean;
4
- apply(compiler: Compiler): void;
5
- }
@@ -1,27 +0,0 @@
1
- "use strict";
2
- // When Webpack cannot resolve these dependencies, it will not print an error message.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.AllowOptionalDependenciesPlugin = void 0;
5
- const OPTIONAL_DEPENDENCIES = [
6
- 'zod',
7
- '@remotion/zod-types',
8
- 'react-native-reanimated',
9
- 'react-native-reanimated/package.json',
10
- ];
11
- class AllowOptionalDependenciesPlugin {
12
- filter(error) {
13
- for (const dependency of OPTIONAL_DEPENDENCIES) {
14
- if (error.message.includes(`Can't resolve '${dependency}'`)) {
15
- return false;
16
- }
17
- }
18
- return true;
19
- }
20
- apply(compiler) {
21
- compiler.hooks.afterEmit.tap('AllowOptionalDependenciesPlugin', (compilation) => {
22
- compilation.errors = compilation.errors.filter(this.filter);
23
- compilation.warnings = compilation.warnings.filter(this.filter);
24
- });
25
- }
26
- }
27
- exports.AllowOptionalDependenciesPlugin = AllowOptionalDependenciesPlugin;