Socket
Socket
Sign inDemoInstall

@react-spring/konva

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/konva - npm Package Compare versions

Comparing version 9.0.0-beta.22 to 9.0.0-beta.23

44

index.cjs.js

@@ -13,39 +13,15 @@ 'use strict';

const elements = [
'Arc',
'Arrow',
'Circle',
'Ellipse',
'FastLayer',
'Group',
'Image',
'Label',
'Layer',
'Line',
'Path',
'Rect',
'RegularPolygon',
'Ring',
'Shape',
'Sprite',
'Star',
'Tag',
'Text',
'TextPath',
'Transformer',
'Wedge',
];
var elements = ['Arc', 'Arrow', 'Circle', 'Ellipse', 'FastLayer', 'Group', 'Image', 'Label', 'Layer', 'Line', 'Path', 'Rect', 'RegularPolygon', 'Ring', 'Shape', 'Sprite', 'Star', 'Tag', 'Text', 'TextPath', 'Transformer', 'Wedge'];
// Extend animated with all the available Konva elements
const animated = animated$1.withExtend(animated$1.createAnimatedComponent).extend(elements);
var animated = animated$1.withExtend(animated$1.createAnimatedComponent).extend(elements);
shared.Globals.assign({
defaultElement: 'Group',
createStringInterpolator: stringInterpolation.createStringInterpolator,
colorNames,
applyAnimatedValues(instance, props) {
if (!instance.nodeType)
return false;
instance._applyProps(instance, props);
},
defaultElement: 'Group',
createStringInterpolator: stringInterpolation.createStringInterpolator,
colorNames: colorNames,
applyAnimatedValues: function applyAnimatedValues(instance, props) {
if (!instance.nodeType) return false;
instance._applyProps(instance, props);
}
});

@@ -52,0 +28,0 @@

@@ -7,39 +7,17 @@ import { Globals } from '@react-spring/shared';

const elements = [
'Arc',
'Arrow',
'Circle',
'Ellipse',
'FastLayer',
'Group',
'Image',
'Label',
'Layer',
'Line',
'Path',
'Rect',
'RegularPolygon',
'Ring',
'Shape',
'Sprite',
'Star',
'Tag',
'Text',
'TextPath',
'Transformer',
'Wedge',
];
const elements = ['Arc', 'Arrow', 'Circle', 'Ellipse', 'FastLayer', 'Group', 'Image', 'Label', 'Layer', 'Line', 'Path', 'Rect', 'RegularPolygon', 'Ring', 'Shape', 'Sprite', 'Star', 'Tag', 'Text', 'TextPath', 'Transformer', 'Wedge'];
// Extend animated with all the available Konva elements
const animated = withExtend(createAnimatedComponent).extend(elements);
Globals.assign({
defaultElement: 'Group',
createStringInterpolator,
colorNames,
applyAnimatedValues(instance, props) {
if (!instance.nodeType)
return false;
instance._applyProps(instance, props);
},
defaultElement: 'Group',
createStringInterpolator,
colorNames,
applyAnimatedValues(instance, props) {
if (!instance.nodeType) return false;
instance._applyProps(instance, props);
}
});

@@ -46,0 +24,0 @@

{
"name": "@react-spring/konva",
"version": "9.0.0-beta.22",
"version": "9.0.0-beta.23",
"description": "Cross-platform animation engine",

@@ -31,6 +31,5 @@ "keywords": [

"@babel/runtime": "^7.3.1",
"@react-spring/animated": "^9.0.0-beta.21",
"@react-spring/core": "^9.0.0-beta.22",
"@react-spring/shared": "^9.0.0-beta.21",
"tslib": "^1.9.3"
"@react-spring/animated": "^9.0.0-beta.23",
"@react-spring/core": "^9.0.0-beta.23",
"@react-spring/shared": "^9.0.0-beta.23"
},

@@ -37,0 +36,0 @@ "devDependencies": {

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