Socket
Socket
Sign inDemoInstall

framer-motion

Package Overview
Dependencies
Maintainers
22
Versions
1147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

framer-motion - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

7

CHANGELOG.md

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

## [0.4.3] 2019-02-14
### Fixed
- Rendering `initial` properties via Stylefire when component mounts to ensure its in-sync with all transform values set in `initial` that might not later be rendered.
- Exporting `htmlElements`, `svgElements` and `createMotionComponent` as their exclusion was causing errors with the output declaration file.
## [0.4.2] 2019-02-14

@@ -7,0 +14,0 @@

20

dist/framer-motion.d.ts

@@ -9,2 +9,3 @@ import { Action } from 'popmotion';

import { ReactNode } from 'react';
import { ReactSVG } from 'react';
import { RefObject } from 'react';

@@ -145,2 +146,7 @@ import { SVGAttributes } from 'react';

/**
* @internal
*/
export declare const createMotionComponent: <P extends {}>(Component: string | React.ComponentClass<P, any> | React.FunctionComponent<P>) => React.ForwardRefExoticComponent<Pick<P & MotionProps, string | number | Exclude<keyof P, "ref">> & React.RefAttributes<Element>>;
declare type CSSPropertiesWithoutTransition = Omit_2<CSSProperties, "transition">;

@@ -275,2 +281,7 @@

/**
* @internal
*/
export declare const htmlElements: ("object" | "track" | "progress" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "link" | "map" | "mark" | "menu" | "meta" | "meter" | "nav" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "q" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "sup" | "table" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "u" | "ul" | "var" | "video" | "wbr" | "menuitem" | "bdi" | "big" | "keygen" | "main" | "rp" | "summary" | "webview")[];
declare type HTMLMotionComponents = {

@@ -476,5 +487,5 @@ [K in HTMLElements]: ComponentType<Omit<UnwrapFactory<ReactHTML[K]>, "style"> & MotionProps>;

declare type MakeMotion<T> = {
declare type MakeMotion<T> = MotionStyleProperties & {
[K in keyof T]: T[K] | MotionValue<T[K]>;
} & MotionStyleProperties;
};

@@ -937,2 +948,7 @@ declare type MapOptions = {

/**
* @internal
*/
export declare const svgElements: (keyof ReactSVG)[];
declare type SVGMotionComponents = {

@@ -939,0 +955,0 @@ [K in SVGElements]: ComponentType<Omit<SVGAttributes<SVGElement>, "style"> & MotionProps>;

5

package.json
{
"name": "framer-motion",
"version": "0.4.2",
"version": "0.4.3",
"main": "dist/framer-motion.cjs.js",

@@ -17,3 +17,4 @@ "module": "dist/framer-motion.es.js",

"prepublishOnly": "yarn test && yarn build",
"measure": "gzip -c dist/framer-motion.js | wc -c"
"measure": "gzip -c dist/framer-motion.js | wc -c",
"tt": "tsc dist/framer-motion.d.ts"
},

@@ -20,0 +21,0 @@ "peerDependencies": {

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc