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

@react-spring/zdog

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-spring/zdog - npm Package Compare versions

Comparing version 9.0.0-rc.3 to 9.0.0

31

index.cjs.js

@@ -5,20 +5,29 @@ 'use strict';

function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var reactZdog = require('react-zdog');
var core = require('@react-spring/core/index.cjs.js');
var animated$1 = require('@react-spring/animated/index.cjs.js');
var stringInterpolation = require('@react-spring/shared/stringInterpolation');
var colorNames = _interopDefault(require('@react-spring/shared/colors'));
var core = require('@react-spring/core');
var shared = require('@react-spring/shared');
var animated$1 = require('@react-spring/animated');
var primitives = ['Anchor', 'Shape', 'Group', 'Rect', 'RoundedRect', 'Ellipse', 'Polygon', 'Hemisphere', 'Cylinder', 'Cone', 'Box'];
const primitives = [
"Anchor",
"Shape",
"Group",
"Rect",
"RoundedRect",
"Ellipse",
"Polygon",
"Hemisphere",
"Cylinder",
"Cone",
"Box"
];
core.Globals.assign({
createStringInterpolator: stringInterpolation.createStringInterpolator,
colorNames: colorNames
createStringInterpolator: shared.createStringInterpolator,
colors: shared.colors
});
var host = animated$1.createHost(primitives, {
const host = animated$1.createHost(primitives, {
applyAnimatedValues: reactZdog.applyProps
});
var animated = host.animated;
const animated = host.animated;

@@ -25,0 +34,0 @@ Object.keys(core).forEach(function (k) {

import { applyProps } from 'react-zdog';
import { Globals } from '@react-spring/core';
export * from '@react-spring/core';
import { createStringInterpolator, colors } from '@react-spring/shared';
import { createHost } from '@react-spring/animated';
import { createStringInterpolator } from '@react-spring/shared/stringInterpolation';
import colorNames from '@react-spring/shared/colors';
const primitives = ['Anchor', 'Shape', 'Group', 'Rect', 'RoundedRect', 'Ellipse', 'Polygon', 'Hemisphere', 'Cylinder', 'Cone', 'Box'];
const primitives = [
"Anchor",
"Shape",
"Group",
"Rect",
"RoundedRect",
"Ellipse",
"Polygon",
"Hemisphere",
"Cylinder",
"Cone",
"Box"
];
Globals.assign({
createStringInterpolator,
colorNames
colors
});

@@ -14,0 +25,0 @@ const host = createHost(primitives, {

{
"name": "@react-spring/zdog",
"version": "9.0.0-rc.3",
"version": "9.0.0",
"description": "Cross-platform animation engine for React",

@@ -16,12 +16,6 @@ "keywords": [

],
"homepage": "https://github.com/react-spring/react-spring/tree/master/targets/zdog#readme",
"bugs": {
"url": "https://github.com/react-spring/react-spring/issues"
},
"homepage": "https://github.com/pmndrs/react-spring/tree/v9/targets/zdog#readme",
"repository": "pmndrs/react-spring",
"license": "MIT",
"author": "Paul Henschel",
"contributors": [
"Alec Larson (https://github.com/aleclarson)"
],
"sideEffects": false,
"main": "index.cjs.js",

@@ -31,9 +25,9 @@ "module": "index.js",

"dependencies": {
"@babel/runtime": "^7.3.1",
"@react-spring/animated": "9.0.0-rc.3",
"@react-spring/core": "9.0.0-rc.3",
"@react-spring/shared": "9.0.0-rc.3"
"@react-spring/animated": "^9.0.0",
"@react-spring/core": "^9.0.0",
"@react-spring/shared": "^9.0.0",
"@react-spring/types": "^9.0.0"
},
"devDependencies": {
"typescript": "3.8.3"
"typescript": "^4.0.0"
},

@@ -48,3 +42,4 @@ "peerDependencies": {

"access": "public"
}
},
"maintainers": []
}
import { applyProps } from 'react-zdog'
import { Globals } from '@react-spring/core'
import { createStringInterpolator, colors } from '@react-spring/shared'
import { createHost } from '@react-spring/animated'
import { createStringInterpolator } from '@react-spring/shared/stringInterpolation'
import colorNames from '@react-spring/shared/colors'
import { primitives } from './primitives'

@@ -11,3 +10,3 @@ import { WithAnimated } from './animated'

createStringInterpolator,
colorNames,
colors,
})

@@ -14,0 +13,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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