Socket
Socket
Sign inDemoInstall

framer-motion

Package Overview
Dependencies
9
Maintainers
24
Versions
1062
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.2 to 0.6.0

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Changelog

## [0.6.0] 2019-02-20
### Added
- `static` prop. Set `static` on a motion component to prevent animation and interaction.
### Removed
- `render`
## [0.5.2] 2019-02-20

@@ -7,0 +17,0 @@

11

dist/framer-motion.d.ts

@@ -623,7 +623,8 @@ /// <reference types="react" />

/**
* Set to `false` to block rendering the latest motion values on the
* component - can be used to temporarily disable animations for
* performance reasons.
* Set to `true` to block rendering motion values (`animate`, gestures etc)
* on the component.
*
* This can be used to temporarily disable animations for performance reasons.
*/
render?: boolean;
static?: boolean;
}

@@ -803,3 +804,2 @@

private onUpdate?;
private shouldRender;
private values;

@@ -814,3 +814,2 @@ private unsubscribers;

setOnUpdate(onUpdate?: OnUpdate): void;
setShouldRender(render: boolean): void;
mount(element: Element): void;

@@ -817,0 +816,0 @@ unmount(): void;

{
"name": "framer-motion",
"version": "0.5.2",
"version": "0.6.0",
"main": "dist/framer-motion.cjs.js",

@@ -5,0 +5,0 @@ "module": "dist/framer-motion.es.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc