Socket
Socket
Sign inDemoInstall

crossani

Package Overview
Dependencies
0
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

3

dist/bundle.js

@@ -31,4 +31,3 @@ (() => {

function cloneStyles(styles) {
const props = Object.values(styles).filter((s) => s !== "transition");
const entries = props.map((p) => [p, styles[p]]);
const entries = Object.entries(styles).filter(([k]) => !Object.is(parseInt(k), NaN)).map(([, p]) => [p, styles[p]]);
return Object.fromEntries(entries);

@@ -35,0 +34,0 @@ }

@@ -32,4 +32,3 @@ var __defProp = Object.defineProperty;

function cloneStyles(styles) {
const props = Object.values(styles).filter((s) => s !== "transition");
const entries = props.map((p) => [p, styles[p]]);
const entries = Object.entries(styles).filter(([k]) => !Object.is(parseInt(k), NaN)).map(([, p]) => [p, styles[p]]);
return Object.fromEntries(entries);

@@ -36,0 +35,0 @@ }

@@ -6,4 +6,6 @@ import { EASE } from "./generator";

// CSSStyleDeclaration is actually an array of props!
const props = Object.values(styles).filter((s) => s !== "transition");
const entries = props.map((p) => [p, styles[p]]);
// on blink, there is also the props as keys, so we filter these out
const entries = Object.entries(styles)
.filter(([k]) => !Object.is(parseInt(k), NaN)) // comparing NaN is never true moment
.map(([, p]) => [p, styles[p]]);
return Object.fromEntries(entries);

@@ -10,0 +12,0 @@ }

{
"name": "crossani",
"version": "1.1.0",
"version": "1.1.1",
"description": "A silky smooth declarative animation library for the web.",

@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc