Comparing version 1.0.0-y.109 to 1.0.0
@@ -1,3 +0,3 @@ | ||
export declare const delayRender: () => number; | ||
export declare const continueRender: (handle: number) => void; | ||
export declare const deferRender: () => number; | ||
export declare const readyToRender: (handle: number) => void; | ||
declare global { | ||
@@ -4,0 +4,0 @@ interface Window { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.continueRender = exports.delayRender = void 0; | ||
exports.readyToRender = exports.deferRender = void 0; | ||
if (typeof window !== 'undefined') { | ||
@@ -8,3 +8,3 @@ window.ready = false; | ||
let handles = []; | ||
const delayRender = () => { | ||
const deferRender = () => { | ||
const handle = Math.random(); | ||
@@ -17,4 +17,4 @@ handles.push(handle); | ||
}; | ||
exports.delayRender = delayRender; | ||
const continueRender = (handle) => { | ||
exports.deferRender = deferRender; | ||
const readyToRender = (handle) => { | ||
handles = handles.filter((h) => h !== handle); | ||
@@ -25,3 +25,3 @@ if (handles.length === 0 && typeof window !== 'undefined') { | ||
}; | ||
exports.continueRender = continueRender; | ||
exports.readyToRender = readyToRender; | ||
//# sourceMappingURL=defer-ready.js.map |
{ | ||
"name": "remotion", | ||
"version": "1.0.0-y.109", | ||
"version": "1.0.0", | ||
"description": "Render videos in React", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
3
102659
133
1341
10
17
1