Socket
Socket
Sign inDemoInstall

@react-spring/web

Package Overview
Dependencies
Maintainers
1
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-spring/web - npm Package Compare versions

Comparing version 0.0.1-alpha.2 to 0.0.1-alpha.3

2

index.cjs.js

@@ -1,2 +0,2 @@

"use strict";function _interopDefault(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@react-spring/core"),tslib_1=require("tslib"),stringInterpolation=require("@react-spring/shared/stringInterpolation"),colorNames=_interopDefault(require("@react-spring/shared/colors")),animated$1=require("@react-spring/animated");let isUnitlessNumber={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const prefixKey=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),prefixes=["Webkit","Ms","Moz","O"];function dangerousStyleValue(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||isUnitlessNumber.hasOwnProperty(e)&&isUnitlessNumber[e]?(""+t).trim():t+"px"}isUnitlessNumber=Object.keys(isUnitlessNumber).reduce((e,t)=>(prefixes.forEach(r=>e[prefixKey(r,t)]=e[t]),e),isUnitlessNumber);const attributeCache={};function applyAnimatedValues(e,t){if(!e.nodeType||!e.setAttribute)return!1;const r=t,{style:o,children:i,scrollTop:a,scrollLeft:n}=r,s=tslib_1.__rest(r,["style","children","scrollTop","scrollLeft"]);void 0!==a&&(e.scrollTop=a),void 0!==n&&(e.scrollLeft=n),void 0!==i&&(e.textContent=i);for(let t in o)if(o.hasOwnProperty(t)){var l=0===t.indexOf("--"),d=dangerousStyleValue(t,o[t],l);"float"===t&&(t="cssFloat"),l?e.style.setProperty(t,d):e.style[t]=d}const p="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(let t in s){const r=p||e.hasAttribute(t)?t:attributeCache[t]||(attributeCache[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase()));e.setAttribute(r,s[t])}}core.Globals.assign({defaultElement:"div",colorNames:colorNames,applyAnimatedValues:applyAnimatedValues,createStringInterpolator:stringInterpolation.createStringInterpolator});const elements=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","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","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],animated=animated$1.withExtend(animated$1.createAnimatedComponent).extend(elements);Object.keys(core).forEach(function(e){Object.defineProperty(exports,e,{enumerable:!0,get:function(){return core[e]}})}),Object.defineProperty(exports,"Globals",{enumerable:!0,get:function(){return core.Globals}}),exports.a=animated,exports.animated=animated;
"use strict";function _interopDefault(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@react-spring/core"),tslib_1=require("tslib"),stringInterpolation=require("@react-spring/shared/stringInterpolation"),colorNames=_interopDefault(require("@react-spring/shared/colors")),animated$1=require("@react-spring/animated");let isUnitlessNumber={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const prefixKey=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),prefixes=["Webkit","Ms","Moz","O"];function dangerousStyleValue(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||isUnitlessNumber.hasOwnProperty(e)&&isUnitlessNumber[e]?(""+t).trim():t+"px"}isUnitlessNumber=Object.keys(isUnitlessNumber).reduce((e,t)=>(prefixes.forEach(r=>e[prefixKey(r,t)]=e[t]),e),isUnitlessNumber);const attributeCache={};function applyAnimatedValues(e,t){if(!e.nodeType||!e.setAttribute)return!1;const r=t,{style:o,children:i,scrollTop:a,scrollLeft:n}=r,s=tslib_1.__rest(r,["style","children","scrollTop","scrollLeft"]);void 0!==a&&(e.scrollTop=a),void 0!==n&&(e.scrollLeft=n),void 0!==i&&(e.textContent=i);for(let t in o)if(o.hasOwnProperty(t)){var l=0===t.indexOf("--"),d=dangerousStyleValue(t,o[t],l);"float"===t&&(t="cssFloat"),l?e.style.setProperty(t,d):e.style[t]=d}const p="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(let t in s){const r=p||e.hasAttribute(t)?t:attributeCache[t]||(attributeCache[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase()));e.setAttribute(r,s[t])}}core.Globals.assign({defaultElement:"div",colorNames:colorNames,applyAnimatedValues:applyAnimatedValues,createStringInterpolator:stringInterpolation.createStringInterpolator});const elements=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","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","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],animated=animated$1.withExtend(animated$1.createAnimatedComponent).extend(elements);Object.keys(core).forEach(function(e){Object.defineProperty(exports,e,{enumerable:!0,get:function(){return core[e]}})}),exports.a=animated,exports.animated=animated;
//# sourceMappingURL=index.cjs.js.map

@@ -1,2 +0,2 @@

import{Globals as e}from"@react-spring/core";export*from"@react-spring/core";export{Globals}from"@react-spring/core";import{__rest as t}from"tslib";import{createStringInterpolator as r}from"@react-spring/shared/stringInterpolation";import o from"@react-spring/shared/colors";import{withExtend as i,createAnimatedComponent as a}from"@react-spring/animated";let l={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const n=["Webkit","Ms","Moz","O"];function s(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||l.hasOwnProperty(e)&&l[e]?(""+t).trim():t+"px"}l=Object.keys(l).reduce((e,t)=>(n.forEach(r=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(r,t)]=e[t]),e),l);const p={};e.assign({defaultElement:"div",colorNames:o,applyAnimatedValues:function(e,r){if(!e.nodeType||!e.setAttribute)return!1;const o=r,{style:i,children:a,scrollTop:l,scrollLeft:n}=o,d=t(o,["style","children","scrollTop","scrollLeft"]);void 0!==l&&(e.scrollTop=l),void 0!==n&&(e.scrollLeft=n),void 0!==a&&(e.textContent=a);for(let t in i)if(i.hasOwnProperty(t)){var c=0===t.indexOf("--"),m=s(t,i[t],c);"float"===t&&(t="cssFloat"),c?e.style.setProperty(t,m):e.style[t]=m}const f="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(let t in d){const r=f||e.hasAttribute(t)?t:p[t]||(p[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase()));e.setAttribute(r,d[t])}},createStringInterpolator:r});const d=i(a).extend(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","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","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);export{d as a,d as animated};
import{Globals as e}from"@react-spring/core";export*from"@react-spring/core";import{__rest as t}from"tslib";import{createStringInterpolator as r}from"@react-spring/shared/stringInterpolation";import o from"@react-spring/shared/colors";import{withExtend as i,createAnimatedComponent as a}from"@react-spring/animated";let l={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const n=["Webkit","Ms","Moz","O"];function s(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||l.hasOwnProperty(e)&&l[e]?(""+t).trim():t+"px"}l=Object.keys(l).reduce((e,t)=>(n.forEach(r=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(r,t)]=e[t]),e),l);const d={};e.assign({defaultElement:"div",colorNames:o,applyAnimatedValues:function(e,r){if(!e.nodeType||!e.setAttribute)return!1;const o=r,{style:i,children:a,scrollTop:l,scrollLeft:n}=o,p=t(o,["style","children","scrollTop","scrollLeft"]);void 0!==l&&(e.scrollTop=l),void 0!==n&&(e.scrollLeft=n),void 0!==a&&(e.textContent=a);for(let t in i)if(i.hasOwnProperty(t)){var c=0===t.indexOf("--"),m=s(t,i[t],c);"float"===t&&(t="cssFloat"),c?e.style.setProperty(t,m):e.style[t]=m}const f="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(let t in p){const r=f||e.hasAttribute(t)?t:d[t]||(d[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase()));e.setAttribute(r,p[t])}},createStringInterpolator:r});const p=i(a).extend(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","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","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);export{p as a,p as animated};
//# sourceMappingURL=index.js.map
{
"name": "@react-spring/web",
"version": "0.0.1-alpha.2",
"version": "0.0.1-alpha.3",
"description": "Cross-platform animation engine",

@@ -5,0 +5,0 @@ "keywords": [

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