New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fast-animations

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-animations - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

3

package.json
{
"name": "fast-animations",
"version": "1.0.0",
"version": "1.0.1",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"module": "src/index.ts",
"peerDependencies": {

@@ -8,0 +7,0 @@ "react": "*"

@@ -0,4 +1,8 @@

const hasDom = !!(typeof window !== 'undefined' &&
window.document &&
window.document.createElement);
export const capabilities = {
workletSupported: !!window && ('animationWorklet' in CSS),
waapiSupported: !!window && ('animate' in document.createElement('div'))
workletSupported: hasDom && ('animationWorklet' in CSS),
waapiSupported: hasDom && ('animate' in document.createElement('div'))
};
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