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

@foundit/micro-animations

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@foundit/micro-animations - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

CHANGELOG.md

7

index.ts

@@ -7,5 +7,7 @@ import { Properties, Property } from 'csstype'

type TransformEnd = Properties | {}
type EmptyObject = Record<string, never>
interface TargetElement extends HTMLElement {
type TransformEnd = Properties | EmptyObject
export interface TargetElement extends HTMLElement {
currentAnimation?: Animation

@@ -90,2 +92,3 @@ }

return new Promise((resolve) => {
if (!element) return
element.currentAnimation?.pause()

@@ -92,0 +95,0 @@

{
"name": "@foundit/micro-animations",
"version": "0.0.1",
"version": "0.0.2",
"description": "",

@@ -8,6 +8,2 @@ "main": "dist/index.js",

"module": "dist/index.mjs",
"scripts": {
"build": "tsup index.ts --format cjs,esm --dts",
"lint": "tsc"
},
"repository": {

@@ -33,3 +29,7 @@ "type": "git",

"access": "public"
},
"scripts": {
"build": "tsup index.ts --format cjs,esm --dts",
"lint": "tsc"
}
}
}
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