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

@react-facet/spring

Package Overview
Dependencies
Maintainers
2
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-facet/spring - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

dist/stepper.js

@@ -7,3 +7,3 @@ "use strict";

// array reference around.
let reusedTuple = [0, 0];
const reusedTuple = [0, 0];
function stepper(secondPerFrame, x, v, destX, k, b, precision) {

@@ -10,0 +10,0 @@ // Spring stiffness, in kg / s^2

@@ -34,3 +34,3 @@ "use strict";

return () => cancelAnimationFrame(frameID);
}, [damping, stiffness, precision], targetFacet);
}, [damping, stiffness, precision, setState], targetFacet);
return (0, core_1.useFacetMap)(([currentXPosition]) => currentXPosition, [], [state]);

@@ -37,0 +37,0 @@ }

@@ -32,3 +32,3 @@ {

"license": "MIT",
"version": "0.1.1",
"version": "0.1.2",
"main": "dist/index.js",

@@ -45,7 +45,7 @@ "publishConfig": {

"peerDependencies": {
"@react-facet/core": "0.1.1",
"@react-facet/core": "0.1.2",
"react": "^16.9.0"
},
"devDependencies": {
"@react-facet/core": "0.1.1",
"@react-facet/core": "0.1.2",
"@testing-library/jest-dom": "^5.10.1",

@@ -52,0 +52,0 @@ "@testing-library/react": "^9.4.1",

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