Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@remotion/skia

Package Overview
Dependencies
Maintainers
1
Versions
472
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remotion/skia - npm Package Compare versions

Comparing version 4.0.149 to 4.0.150

19

bundle.ts

@@ -1,3 +0,16 @@

import {build} from 'bun';
import {build, revision} from 'bun';
if (process.env.NODE_ENV !== 'production') {
throw new Error('This script must be run using NODE_ENV=production');
}
if (!revision.startsWith('07ce')) {
// eslint-disable-next-line no-console
console.warn('warn: Remotion currently uses a fork of Bun to bundle.');
// eslint-disable-next-line no-console
console.log(
'You dont currently run the fork, this could lead to duplicate key warnings in React.',
);
}
const mainModule = await build({

@@ -16,5 +29,3 @@ entrypoints: ['src/index.ts'],

const [file] = mainModule.outputs;
const text = (await file.text())
.replace(/jsxDEV/g, 'jsx')
.replace(/react\/jsx-dev-runtime/g, 'react/jsx-runtime');
const text = await file.text();

@@ -21,0 +32,0 @@ await Bun.write('dist/esm/index.mjs', text);

{
"name": "@remotion/skia",
"version": "4.0.149",
"version": "4.0.150",
"description": "Utilities for using react-native-skia in Remotion",

@@ -19,3 +19,3 @@ "main": "dist/cjs/index.js",

"dependencies": {
"remotion": "4.0.149"
"remotion": "4.0.150"
},

@@ -37,4 +37,4 @@ "peerDependencies": {

"react-dom": "18.3.1",
"@remotion/bundler": "4.0.149",
"remotion": "4.0.149"
"remotion": "4.0.150",
"@remotion/bundler": "4.0.150"
},

@@ -73,4 +73,4 @@ "keywords": [

"lint": "eslint src --ext ts,tsx",
"build": "bun bundle.ts"
"build": "bun --env-file=../.env.bundle bundle.ts"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc