@remotion/skia 4.0.423 → 4.0.425

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.
@@ -25,6 +25,6 @@ const SkiaCanvas = ({ children, height, width, style, ...otherProps }) => {
25
25
  ...otherProps,
26
26
  };
27
27
  }, [mergedStyles, otherProps]);
28
- return ((0, jsx_runtime_1.jsx)(react_native_skia_1.Canvas, { ...props, children: (0, jsx_runtime_1.jsx)(remotion_1.Internals.RemotionContextProvider, { contexts: contexts, children: children }) }));
28
+ return (jsx_runtime_1.jsx(react_native_skia_1.Canvas, { ...props, children: jsx_runtime_1.jsx(remotion_1.Internals.RemotionContextProvider, { contexts: contexts, children: children }) }));
29
29
  };
30
30
  exports.SkiaCanvas = SkiaCanvas;
@@ -11,18 +11,19 @@ const fs_1 = __importDefault(require("fs"));
11
11
  * @see [Documentation](https://www.remotion.dev/docs/skia/enable-skia)
12
12
  */
13
13
  const enableSkia = (currentConfiguration) => {
14
- var _a, _b, _c, _d;
14
+ var _a, _b;
15
+ var _c, _d;
15
16
  const newExtensions = [
16
17
  '.web.js',
17
18
  '.web.ts',
18
19
  '.web.tsx',
19
- ...((_b = (_a = currentConfiguration.resolve) === null || _a === void 0 ? void 0 : _a.extensions) !== null && _b !== void 0 ? _b : []),
20
+ ...((_c = (_a = currentConfiguration.resolve) === null || _a === void 0 ? void 0 : _a.extensions) !== null && _c !== void 0 ? _c : []),
20
21
  ];
21
22
  const deduplicatedExtensions = [...new Set(newExtensions)];
22
23
  return {
23
24
  ...currentConfiguration,
24
25
  plugins: [
25
- ...((_c = currentConfiguration.plugins) !== null && _c !== void 0 ? _c : []),
26
+ ...((_d = currentConfiguration.plugins) !== null && _d !== void 0 ? _d : []),
26
27
  new (class CopySkiaPlugin {
27
28
  apply(compiler) {
28
29
  compiler.hooks.thisCompilation.tap('AddSkiaPlugin', (compilation) => {
@@ -50,7 +51,7 @@ const enableSkia = (currentConfiguration) => {
50
51
  },
51
52
  extensions: deduplicatedExtensions,
52
53
  alias: {
53
- ...(_d = currentConfiguration.resolve) === null || _d === void 0 ? void 0 : _d.alias,
54
+ ...(_b = currentConfiguration.resolve) === null || _b === void 0 ? void 0 : _b.alias,
54
55
  'react-native-reanimated': "require('react-native-reanimated')",
55
56
  'react-native-reanimated/lib/reanimated2/core': "require('react-native-reanimated/lib/reanimated2/core')",
56
57
  'react-native/Libraries/Image/AssetRegistry': false,
package/dist/cjs/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SkiaCanvas = void 0;
4
- var SkiaCanvas_1 = require("./SkiaCanvas");
4
+ const SkiaCanvas_1 = require("./SkiaCanvas");
5
5
  Object.defineProperty(exports, "SkiaCanvas", { enumerable: true, get: function () { return SkiaCanvas_1.SkiaCanvas; } });
package/package.json CHANGED
@@ -3,16 +3,16 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/skia"
4
4
  },
5
5
  "name": "@remotion/skia",
6
- "version": "4.0.423",
6
+ "version": "4.0.425",
7
7
  "description": "Include React Native Skia components in a Remotion video",
8
8
  "main": "dist/cjs/index.js",
9
9
  "types": "dist/cjs/index.d.ts",
10
10
  "module": "dist/esm/index.mjs",
11
11
  "sideEffects": false,
12
12
  "scripts": {
13
- "formatting": "prettier --experimental-cli src --check",
13
+ "formatting": "prettier src --check",
14
14
  "lint": "eslint src",
15
- "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts"
15
+ "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"
16
16
  },
17
17
  "author": "Jonny Burger <jonny@remotion.dev>, William Candillon <wcandillon@gmail.com>",
18
18
  "contributors": [],
@@ -21,7 +21,7 @@
21
21
  "url": "https://github.com/remotion-dev/remotion/issues"
22
22
  },
23
23
  "dependencies": {
24
- "remotion": "4.0.423"
24
+ "remotion": "4.0.425"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "@shopify/react-native-skia": ">=0.1.191",
@@ -29,15 +29,16 @@
29
29
  "react-dom": ">=16.8.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@remotion/bundler": "4.0.423",
32
+ "@remotion/bundler": "4.0.425",
33
33
  "@shopify/react-native-skia": "2.0.0",
34
34
  "canvaskit-wasm": "0.40.0",
35
35
  "@types/react-native": "^0.69.2",
36
36
  "react": "19.2.3",
37
37
  "react-dom": "19.2.3",
38
- "remotion": "4.0.423",
39
- "@remotion/eslint-config-internal": "4.0.423",
40
- "eslint": "9.19.0"
38
+ "remotion": "4.0.425",
39
+ "@remotion/eslint-config-internal": "4.0.425",
40
+ "eslint": "9.19.0",
41
+ "@typescript/native-preview": "7.0.0-dev.20260217.1"
41
42
  },
42
43
  "keywords": [
43
44
  "remotion",