@remotion/transitions 4.0.71 → 4.0.72

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/cjs/index.js CHANGED
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var remotion = require('remotion');
6
6
  var jsxRuntime = require('react/jsx-runtime');
7
7
  var React = require('react');
8
+ var noReact = require('remotion/no-react');
8
9
 
9
10
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
10
11
 
@@ -131,7 +132,7 @@ const slide = (props) => {
131
132
  };
132
133
 
133
134
  /* eslint-disable prefer-destructuring */
134
- const validateDurationInFrames = remotion.Internals.validateDurationInFrames;
135
+ const validateDurationInFrames = noReact.NoReactInternals.validateDurationInFrames;
135
136
 
136
137
  // eslint-disable-next-line react/function-component-definition
137
138
  const TransitionSeriesTransition = function (
@@ -1,2 +1,2 @@
1
- import { Internals } from 'remotion';
2
- export declare const validateDurationInFrames: typeof Internals.validateDurationInFrames;
1
+ import { NoReactInternals } from 'remotion/no-react';
2
+ export declare const validateDurationInFrames: typeof NoReactInternals.validateDurationInFrames;
@@ -1,2 +1,2 @@
1
- import { Internals } from 'remotion';
2
- export declare const validateDurationInFrames: typeof Internals.validateDurationInFrames;
1
+ import { NoReactInternals } from 'remotion/no-react';
2
+ export declare const validateDurationInFrames: typeof NoReactInternals.validateDurationInFrames;
package/dist/validate.js CHANGED
@@ -1,3 +1,3 @@
1
1
  /* eslint-disable prefer-destructuring */
2
- import { Internals } from 'remotion';
3
- export const validateDurationInFrames = Internals.validateDurationInFrames;
2
+ import { NoReactInternals } from 'remotion/no-react';
3
+ export const validateDurationInFrames = NoReactInternals.validateDurationInFrames;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/transitions",
3
- "version": "4.0.71",
3
+ "version": "4.0.72",
4
4
  "description": "Transition presets for Remotion",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -16,7 +16,7 @@
16
16
  "url": "https://github.com/remotion-dev/remotion/issues"
17
17
  },
18
18
  "dependencies": {
19
- "remotion": "4.0.71"
19
+ "remotion": "4.0.72"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@jonny/eslint-config": "3.0.276",
@@ -31,8 +31,8 @@
31
31
  "@vitejs/plugin-react": "^2.0.0",
32
32
  "rollup": "^2.70.1",
33
33
  "@rollup/plugin-typescript": "^8.2.0",
34
- "remotion": "4.0.71",
35
- "@remotion/test-utils": "4.0.71"
34
+ "remotion": "4.0.72",
35
+ "@remotion/test-utils": "4.0.72"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "react": ">=16.8.0",
package/rollup.config.js CHANGED
@@ -13,7 +13,7 @@ export default [
13
13
  sourcemap: false,
14
14
  },
15
15
  ],
16
- external: ['remotion', 'react', 'react/jsx-runtime'],
16
+ external: ['remotion', 'remotion/no-react', 'react', 'react/jsx-runtime'],
17
17
  plugins: [
18
18
  typescript({
19
19
  tsconfig: 'tsconfig-cjs.json',
@@ -32,7 +32,7 @@ export default [
32
32
  sourcemap: false,
33
33
  },
34
34
  ],
35
- external: ['remotion', 'react', 'react/jsx-runtime'],
35
+ external: ['remotion', 'remotion/no-react', 'react', 'react/jsx-runtime'],
36
36
  plugins: [
37
37
  typescript({
38
38
  tsconfig: 'tsconfig-cjs.json',