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

theme-shokax-anime

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

theme-shokax-anime - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

2

anime.shokax.min.js

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

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).anime=e()}(this,(function(){"use strict";class t{constructor(){this.queue=[]}add(t){return this.queue.push(new r(t)),this}play(){this.queue.forEach((t=>t.play()))}}const e={targets:null,duration:1/0,easing:"linear",delay:0,begin:null,update:null,complete:null};var s=()=>{const t={linear:()=>t=>t},e={Sine:()=>t=>1-Math.cos(t*Math.PI/2),Expo:()=>t=>t?Math.pow(2,10*t-10):0,Circ:()=>t=>1-Math.sqrt(1-t*t),Back:()=>t=>t*t*(3*t-2),Bounce:()=>t=>{let e,s=4;for(;t<((e=Math.pow(2,--s))-1)/11;);return 1/Math.pow(4,3-s)-7.5625*Math.pow((3*e-2)/22-t,2)}};return["Quad","Cubic","Quart","Quint"].forEach(((t,s)=>{e[t]=()=>t=>Math.pow(t,s+2)})),Object.keys(e).forEach((s=>{const a=e[s];t["easeIn"+s]=a,t["easeOut"+s]=()=>t=>1-a()(1-t),t["easeInOut"+s]=()=>t=>t<.5?a()(2*t)/2:1-a()(-2*t+2)/2,t["easeOutIn"+s]=()=>t=>t<.5?(1-a()(1-2*t))/2:(a()(2*t-1)+1)/2})),t};const a=["translateX","translateY","translateZ"],n=(t,e)=>t instanceof HTMLElement?"transform"in t.style&&a.includes(e)?"transform":e in t.style?"style":"attribute":"attribute";class r{constructor(t=e){t={...e,...t};const{targets:s,duration:a,easing:n,delay:r,begin:o,update:i,complete:l,...u}=t;this.targets=s,this.duration=a,this.easing=n,this.delay=r,this.begin=o,this.update=i,this.complete=l,this.dest=u||{},this.tl=null,this.isPlay=!1}timeline(){return this.tl||(this.tl=new t),this.tl}play(){this.isPlay||(this.isPlay=!0,(t=>{const e=Date.now()+t.delay,a=e+t.duration,r=!!t.targets,o=[],i=(t,e,s,a,r,o=!1)=>{let i;if("string"==typeof a){if(i=a.endsWith("%")?"%":a.endsWith("px")?"px":null,!i)throw new TypeError("string value must ends with '%' or 'px'");a=parseFloat(a)}let l=o?a:(a-e)*s+e;i&&(l+=i);const u=n(t,r);"transform"===u?t.style.transform=`${r}(${l}${i?"":"px"})`:"style"===u?t.style[r]=l:t[r]=l},l=(a,n,r=!1)=>{t.targets.forEach(((l,u)=>{Object.keys(t.dest).forEach((f=>{let c=parseFloat(o[u][f]),h=t.dest[f];if("object"==typeof h)if(Array.isArray(h)){let o=0;for(;o<h.length&&n-e>=h[o].startTimeStamp;)o++;const{value:u,duration:p,easing:y=t.easing,startTimeStamp:d}=h[o-1];c=o<=1?c:h[o-2].value,n<=e+p+d?(a=s()[y]()((n-e-d)/p),i(l,c,a,u,f)):r&&i(l,c,a,u,f,r)}else{const{value:o,duration:u,easing:p=t.easing}=h;n<=e+u?(a=s()[p]()((n-e)/u),i(l,c,a,o,f)):r&&i(l,c,a,o,f,r)}else"function"==typeof h&&(h=h(l,u)),i(l,c,a,h,f,r)}))}))},u=()=>{const n=Date.now();if(n>a)l(1,n,!0),"function"==typeof t.complete&&t.complete(t.targets),t.isPlay=!1;else{if(n>=e){const a=s()[t.easing]()((n-e)/t.duration);r&&l(a,n),"function"==typeof t.update&&t.update(t.targets)}requestAnimationFrame(u)}};(()=>{if(r){Array.isArray(t.targets)||(t.targets=[t.targets]);for(const e of t.targets){const s={};for(const a in t.dest){const r=t.dest[a],o=n(e,a);if(Array.isArray(r))if(2===r.length&&"object"!=typeof r[0])"transform"===o?e.style.transform=`${a}(${"string"==typeof r[0]?r[0]:r[0]+"px"})`:"style"===o?e.style[a]=r[0]:e[a]=r[0],s[a]=r[0],t.dest[a]=r[1];else{let t=0;for(let e of r)e.startTimeStamp=t,t+=e.duration;s[a]=e[a]}else s[a]="transform"===o?e.style.transform.match(new RegExp(`${a}\\((\\w+)\\)`))[1]:"style"===o?e.style[a]:e[a]}o.push(s)}}})(),"function"==typeof t.begin&&t.begin(t.targets),u()})(this))}}const o=t=>new r(t);return o.random=(t,e)=>Math.floor(Math.random()*(e-t+1))+t,o}));
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).anime=e()}(this,(function(){"use strict";class t{constructor(){this.queue=[]}add(t){return this.queue.push(new o(t)),this}play(){this.queue.forEach((t=>t.play()))}}const e={targets:null,duration:1/0,easing:"linear",delay:0,begin:null,update:null,complete:null};const s=(()=>{const t={linear:()=>t=>t},e={Sine:()=>t=>1-Math.cos(t*Math.PI/2),Expo:()=>t=>t?Math.pow(2,10*t-10):0,Circ:()=>t=>1-Math.sqrt(1-t*t),Back:()=>t=>t*t*(3*t-2),Bounce:()=>t=>{let e,s=4;for(;t<((e=Math.pow(2,--s))-1)/11;);return 1/Math.pow(4,3-s)-7.5625*Math.pow((3*e-2)/22-t,2)}};return["Quad","Cubic","Quart","Quint"].forEach(((t,s)=>{e[t]=()=>t=>Math.pow(t,s+2)})),Object.keys(e).forEach((s=>{const a=e[s];t["easeIn"+s]=a,t["easeOut"+s]=()=>t=>1-a()(1-t),t["easeInOut"+s]=()=>t=>t<.5?a()(2*t)/2:1-a()(-2*t+2)/2,t["easeOutIn"+s]=()=>t=>t<.5?(1-a()(1-2*t))/2:(a()(2*t-1)+1)/2})),t})(),a=["translateX","translateY","translateZ"],n=(t,e)=>t instanceof HTMLElement?"transform"in t.style&&a.includes(e)?"transform":e in t.style?"style":"attribute":"attribute";class o{constructor(t=e){t={...e,...t};const{targets:s,duration:a,easing:n,delay:o,begin:r,update:i,complete:l,...u}=t;this.targets=s,this.duration=a,this.easing=n,this.delay=o,this.begin=r,this.update=i,this.complete=l,this.dest=u||{},this.tl=null,this.isPlay=!1}timeline(){return this.tl||(this.tl=new t),this.tl}play(){this.isPlay||(this.isPlay=!0,(t=>{const e=Date.now()+t.delay,a=e+t.duration,o=!!t.targets,r=[],i=(t,e,s,a,o,r=!1)=>{let i;if("string"==typeof a){if(i=a.endsWith("%")?"%":a.endsWith("px")?"px":null,!i)throw new TypeError("string value must ends with '%' or 'px'");a=parseFloat(a)}let l=r?a:(a-e)*s+e;i&&(l+=i);const u=n(t,o);"transform"===u?t.style.transform=`${o}(${l}${i?"":"px"})`:"style"===u?t.style[o]=l:t[o]=l},l=(a,n,o=!1)=>{t.targets.forEach(((l,u)=>{Object.keys(t.dest).forEach((f=>{let c=parseFloat(r[u][f]),h=t.dest[f];if("object"==typeof h)if(Array.isArray(h)){let a=0;for(;a<h.length&&n-e>=h[a].startTimeStamp;)a++;const{value:r,duration:u,easing:p=t.easing,startTimeStamp:y}=h[a-1];c=a<=1?c:h[a-2].value;const d=s[p]()((n-e-y)/u);n<=e+u+y?i(l,c,d,r,f):o&&i(l,c,d,r,f,o)}else{const{value:a,duration:r,easing:u=t.easing}=h,p=s[u]()((n-e)/r);n<=e+r?i(l,c,p,a,f):o&&i(l,c,p,a,f,o)}else"function"==typeof h&&(h=h(l,u)),i(l,c,a,h,f,o)}))}))},u=()=>{const n=Date.now();if(n>a)l(1,n,!0),"function"==typeof t.complete&&t.complete(t.targets),t.isPlay=!1;else{if(n>=e){const a=s[t.easing]()((n-e)/t.duration);o&&l(a,n),"function"==typeof t.update&&t.update(t.targets)}requestAnimationFrame(u)}};(()=>{if(o){Array.isArray(t.targets)||(t.targets=[t.targets]);for(const e of t.targets){const s={};for(const a in t.dest){const o=t.dest[a],r=n(e,a);if(Array.isArray(o))if(2===o.length&&"object"!=typeof o[0])"transform"===r?e.style.transform=`${a}(${"string"==typeof o[0]?o[0]:o[0]+"px"})`:"style"===r?e.style[a]=o[0]:e[a]=o[0],s[a]=o[0],t.dest[a]=o[1];else{let t=0;for(let e of o)e.startTimeStamp=t,t+=e.duration;s[a]=e[a]}else s[a]="transform"===r?e.style.transform.match(new RegExp(`${a}\\((\\w+)\\)`))[1]:"style"===r?e.style[a]:e[a]}r.push(s)}}})(),"function"==typeof t.begin&&t.begin(t.targets),u()})(this))}}const r=t=>new o(t);return r.random=(t,e)=>Math.floor(Math.random()*(e-t+1))+t,r}));
import Timeline from "./Timeline";
import type { EasingTypes, BasicProp, FromToProp, NestProp, KeyFrameProp, AnimeOptions } from "./types";
export default class Anime {
targets: HTMLElement | object | HTMLElement[] | object[];
targets: HTMLElement | Record<PropertyKey, any> | HTMLElement[] | Record<PropertyKey, any>[];
duration: number;
easing: EasingTypes;
delay: number;
begin?: (targets: HTMLElement[] | object[]) => void;
update?: (targets: HTMLElement[] | object[]) => void;
complete?: (targets: HTMLElement[] | object[]) => void;
begin?: (targets: HTMLElement[] | Record<PropertyKey, any>[]) => void;
update?: (targets: HTMLElement[] | Record<PropertyKey, any>[]) => void;
complete?: (targets: HTMLElement[] | Record<PropertyKey, any>[]) => void;
dest: Record<string, ((...args: any[]) => string | number) | BasicProp | FromToProp | NestProp | KeyFrameProp>;

@@ -12,0 +12,0 @@ tl: Timeline;

@@ -55,2 +55,3 @@ 'use strict';

const pennerFn = penner();
// 目前仅支持translate

@@ -90,3 +91,2 @@ const validTransform = ["translateX", "translateY", "translateZ"];

// 强制改变当前初始状态
// 需考虑是否为style/transform/attribute
if (keyType === "transform") {

@@ -175,4 +175,4 @@ target.style.transform = `${propKey}(${typeof propValue[0] === "string"

origin = i <= 1 ? origin : dest[i - 2].value;
const elapsed = pennerFn[easing]()((current - start - startTimeStamp) / duration);
if (current <= start + duration + startTimeStamp) {
elapsed = penner()[easing]()((current - start - startTimeStamp) / duration);
change(target, origin, elapsed, value, key);

@@ -188,4 +188,4 @@ }

const { value, duration, easing = anime.easing } = dest;
const elapsed = pennerFn[easing]()((current - start) / duration);
if (current <= start + duration) {
elapsed = penner()[easing]()((current - start) / duration);
change(target, origin, elapsed, value, key);

@@ -222,3 +222,3 @@ }

if (current >= start) {
const elapsed = penner()[anime.easing]()((current - start) / anime.duration);
const elapsed = pennerFn[anime.easing]()((current - start) / anime.duration);
if (isValid)

@@ -225,0 +225,0 @@ changeAll(elapsed, current);

@@ -53,2 +53,3 @@ class Timeline {

const pennerFn = penner();
// 目前仅支持translate

@@ -88,3 +89,2 @@ const validTransform = ["translateX", "translateY", "translateZ"];

// 强制改变当前初始状态
// 需考虑是否为style/transform/attribute
if (keyType === "transform") {

@@ -173,4 +173,4 @@ target.style.transform = `${propKey}(${typeof propValue[0] === "string"

origin = i <= 1 ? origin : dest[i - 2].value;
const elapsed = pennerFn[easing]()((current - start - startTimeStamp) / duration);
if (current <= start + duration + startTimeStamp) {
elapsed = penner()[easing]()((current - start - startTimeStamp) / duration);
change(target, origin, elapsed, value, key);

@@ -186,4 +186,4 @@ }

const { value, duration, easing = anime.easing } = dest;
const elapsed = pennerFn[easing]()((current - start) / duration);
if (current <= start + duration) {
elapsed = penner()[easing]()((current - start) / duration);
change(target, origin, elapsed, value, key);

@@ -220,3 +220,3 @@ }

if (current >= start) {
const elapsed = penner()[anime.easing]()((current - start) / anime.duration);
const elapsed = pennerFn[anime.easing]()((current - start) / anime.duration);
if (isValid)

@@ -223,0 +223,0 @@ changeAll(elapsed, current);

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

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).anime=e()}(this,(function(){"use strict";class t{constructor(){this.queue=[]}add(t){return this.queue.push(new r(t)),this}play(){this.queue.forEach((t=>t.play()))}}const e={targets:null,duration:1/0,easing:"linear",delay:0,begin:null,update:null,complete:null};var s=()=>{const t={linear:()=>t=>t},e={Sine:()=>t=>1-Math.cos(t*Math.PI/2),Expo:()=>t=>t?Math.pow(2,10*t-10):0,Circ:()=>t=>1-Math.sqrt(1-t*t),Back:()=>t=>t*t*(3*t-2),Bounce:()=>t=>{let e,s=4;for(;t<((e=Math.pow(2,--s))-1)/11;);return 1/Math.pow(4,3-s)-7.5625*Math.pow((3*e-2)/22-t,2)}};return["Quad","Cubic","Quart","Quint"].forEach(((t,s)=>{e[t]=()=>t=>Math.pow(t,s+2)})),Object.keys(e).forEach((s=>{const a=e[s];t["easeIn"+s]=a,t["easeOut"+s]=()=>t=>1-a()(1-t),t["easeInOut"+s]=()=>t=>t<.5?a()(2*t)/2:1-a()(-2*t+2)/2,t["easeOutIn"+s]=()=>t=>t<.5?(1-a()(1-2*t))/2:(a()(2*t-1)+1)/2})),t};const a=["translateX","translateY","translateZ"],n=(t,e)=>t instanceof HTMLElement?"transform"in t.style&&a.includes(e)?"transform":e in t.style?"style":"attribute":"attribute";class r{constructor(t=e){t={...e,...t};const{targets:s,duration:a,easing:n,delay:r,begin:o,update:i,complete:l,...u}=t;this.targets=s,this.duration=a,this.easing=n,this.delay=r,this.begin=o,this.update=i,this.complete=l,this.dest=u||{},this.tl=null,this.isPlay=!1}timeline(){return this.tl||(this.tl=new t),this.tl}play(){this.isPlay||(this.isPlay=!0,(t=>{const e=Date.now()+t.delay,a=e+t.duration,r=!!t.targets,o=[],i=(t,e,s,a,r,o=!1)=>{let i;if("string"==typeof a){if(i=a.endsWith("%")?"%":a.endsWith("px")?"px":null,!i)throw new TypeError("string value must ends with '%' or 'px'");a=parseFloat(a)}let l=o?a:(a-e)*s+e;i&&(l+=i);const u=n(t,r);"transform"===u?t.style.transform=`${r}(${l}${i?"":"px"})`:"style"===u?t.style[r]=l:t[r]=l},l=(a,n,r=!1)=>{t.targets.forEach(((l,u)=>{Object.keys(t.dest).forEach((f=>{let c=parseFloat(o[u][f]),h=t.dest[f];if("object"==typeof h)if(Array.isArray(h)){let o=0;for(;o<h.length&&n-e>=h[o].startTimeStamp;)o++;const{value:u,duration:p,easing:y=t.easing,startTimeStamp:d}=h[o-1];c=o<=1?c:h[o-2].value,n<=e+p+d?(a=s()[y]()((n-e-d)/p),i(l,c,a,u,f)):r&&i(l,c,a,u,f,r)}else{const{value:o,duration:u,easing:p=t.easing}=h;n<=e+u?(a=s()[p]()((n-e)/u),i(l,c,a,o,f)):r&&i(l,c,a,o,f,r)}else"function"==typeof h&&(h=h(l,u)),i(l,c,a,h,f,r)}))}))},u=()=>{const n=Date.now();if(n>a)l(1,n,!0),"function"==typeof t.complete&&t.complete(t.targets),t.isPlay=!1;else{if(n>=e){const a=s()[t.easing]()((n-e)/t.duration);r&&l(a,n),"function"==typeof t.update&&t.update(t.targets)}requestAnimationFrame(u)}};(()=>{if(r){Array.isArray(t.targets)||(t.targets=[t.targets]);for(const e of t.targets){const s={};for(const a in t.dest){const r=t.dest[a],o=n(e,a);if(Array.isArray(r))if(2===r.length&&"object"!=typeof r[0])"transform"===o?e.style.transform=`${a}(${"string"==typeof r[0]?r[0]:r[0]+"px"})`:"style"===o?e.style[a]=r[0]:e[a]=r[0],s[a]=r[0],t.dest[a]=r[1];else{let t=0;for(let e of r)e.startTimeStamp=t,t+=e.duration;s[a]=e[a]}else s[a]="transform"===o?e.style.transform.match(new RegExp(`${a}\\((\\w+)\\)`))[1]:"style"===o?e.style[a]:e[a]}o.push(s)}}})(),"function"==typeof t.begin&&t.begin(t.targets),u()})(this))}}const o=t=>new r(t);return o.random=(t,e)=>Math.floor(Math.random()*(e-t+1))+t,o}));
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).anime=e()}(this,(function(){"use strict";class t{constructor(){this.queue=[]}add(t){return this.queue.push(new o(t)),this}play(){this.queue.forEach((t=>t.play()))}}const e={targets:null,duration:1/0,easing:"linear",delay:0,begin:null,update:null,complete:null};const s=(()=>{const t={linear:()=>t=>t},e={Sine:()=>t=>1-Math.cos(t*Math.PI/2),Expo:()=>t=>t?Math.pow(2,10*t-10):0,Circ:()=>t=>1-Math.sqrt(1-t*t),Back:()=>t=>t*t*(3*t-2),Bounce:()=>t=>{let e,s=4;for(;t<((e=Math.pow(2,--s))-1)/11;);return 1/Math.pow(4,3-s)-7.5625*Math.pow((3*e-2)/22-t,2)}};return["Quad","Cubic","Quart","Quint"].forEach(((t,s)=>{e[t]=()=>t=>Math.pow(t,s+2)})),Object.keys(e).forEach((s=>{const a=e[s];t["easeIn"+s]=a,t["easeOut"+s]=()=>t=>1-a()(1-t),t["easeInOut"+s]=()=>t=>t<.5?a()(2*t)/2:1-a()(-2*t+2)/2,t["easeOutIn"+s]=()=>t=>t<.5?(1-a()(1-2*t))/2:(a()(2*t-1)+1)/2})),t})(),a=["translateX","translateY","translateZ"],n=(t,e)=>t instanceof HTMLElement?"transform"in t.style&&a.includes(e)?"transform":e in t.style?"style":"attribute":"attribute";class o{constructor(t=e){t={...e,...t};const{targets:s,duration:a,easing:n,delay:o,begin:r,update:i,complete:l,...u}=t;this.targets=s,this.duration=a,this.easing=n,this.delay=o,this.begin=r,this.update=i,this.complete=l,this.dest=u||{},this.tl=null,this.isPlay=!1}timeline(){return this.tl||(this.tl=new t),this.tl}play(){this.isPlay||(this.isPlay=!0,(t=>{const e=Date.now()+t.delay,a=e+t.duration,o=!!t.targets,r=[],i=(t,e,s,a,o,r=!1)=>{let i;if("string"==typeof a){if(i=a.endsWith("%")?"%":a.endsWith("px")?"px":null,!i)throw new TypeError("string value must ends with '%' or 'px'");a=parseFloat(a)}let l=r?a:(a-e)*s+e;i&&(l+=i);const u=n(t,o);"transform"===u?t.style.transform=`${o}(${l}${i?"":"px"})`:"style"===u?t.style[o]=l:t[o]=l},l=(a,n,o=!1)=>{t.targets.forEach(((l,u)=>{Object.keys(t.dest).forEach((f=>{let c=parseFloat(r[u][f]),h=t.dest[f];if("object"==typeof h)if(Array.isArray(h)){let a=0;for(;a<h.length&&n-e>=h[a].startTimeStamp;)a++;const{value:r,duration:u,easing:p=t.easing,startTimeStamp:y}=h[a-1];c=a<=1?c:h[a-2].value;const d=s[p]()((n-e-y)/u);n<=e+u+y?i(l,c,d,r,f):o&&i(l,c,d,r,f,o)}else{const{value:a,duration:r,easing:u=t.easing}=h,p=s[u]()((n-e)/r);n<=e+r?i(l,c,p,a,f):o&&i(l,c,p,a,f,o)}else"function"==typeof h&&(h=h(l,u)),i(l,c,a,h,f,o)}))}))},u=()=>{const n=Date.now();if(n>a)l(1,n,!0),"function"==typeof t.complete&&t.complete(t.targets),t.isPlay=!1;else{if(n>=e){const a=s[t.easing]()((n-e)/t.duration);o&&l(a,n),"function"==typeof t.update&&t.update(t.targets)}requestAnimationFrame(u)}};(()=>{if(o){Array.isArray(t.targets)||(t.targets=[t.targets]);for(const e of t.targets){const s={};for(const a in t.dest){const o=t.dest[a],r=n(e,a);if(Array.isArray(o))if(2===o.length&&"object"!=typeof o[0])"transform"===r?e.style.transform=`${a}(${"string"==typeof o[0]?o[0]:o[0]+"px"})`:"style"===r?e.style[a]=o[0]:e[a]=o[0],s[a]=o[0],t.dest[a]=o[1];else{let t=0;for(let e of o)e.startTimeStamp=t,t+=e.duration;s[a]=e[a]}else s[a]="transform"===r?e.style.transform.match(new RegExp(`${a}\\((\\w+)\\)`))[1]:"style"===r?e.style[a]:e[a]}r.push(s)}}})(),"function"==typeof t.begin&&t.begin(t.targets),u()})(this))}}const r=t=>new o(t);return r.random=(t,e)=>Math.floor(Math.random()*(e-t+1))+t,r}));
export interface AnimeOptions {
targets?: HTMLElement | object | HTMLElement[] | object[];
targets?: HTMLElement | Record<PropertyKey, any> | HTMLElement[] | Record<PropertyKey, any>[];
duration?: number;
easing?: EasingTypes;
delay?: number;
begin?: (targets: HTMLElement[] | object[]) => void;
update?: (targets: HTMLElement[] | object[]) => void;
complete?: (targets: HTMLElement[] | object[]) => void;
begin?: (targets: HTMLElement[] | Record<PropertyKey, any>[]) => void;
update?: (targets: HTMLElement[] | Record<PropertyKey, any>[]) => void;
complete?: (targets: HTMLElement[] | Record<PropertyKey, any>[]) => void;
[index: string]: ((...args: any[]) => string | number) | BasicProp | FromToProp | NestProp | KeyFrameProp | any;

@@ -10,0 +10,0 @@ }

{
"name": "theme-shokax-anime",
"version": "0.0.7",
"version": "0.0.8",
"description": "anime.js for hexo-theme-shokax",

@@ -15,19 +15,17 @@ "main": "dist/index.cjs.js",

"devDependencies": {
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.5",
"@rollup/plugin-typescript": "^12.1.2",
"@types/chai": "^4.3.16",
"@types/jsdom": "^21.1.7",
"@types/mocha": "^10.0.7",
"@types/node": "^20.10.6",
"@types/mocha": "^10.0.10",
"@types/sinon": "^17.0.3",
"c8": "^10.1.2",
"chai": "^4.4.1",
"jsdom": "^24.1.0",
"mocha": "^10.6.0",
"rollup": "^4.9.2",
"sinon": "^18.0.0",
"c8": "^10.1.3",
"chai": "^4.5.0",
"jsdom": "^25.0.1",
"mocha": "^10.8.2",
"rollup": "^4.34.0",
"sinon": "^19.0.2",
"ts-node": "^10.9.2",
"tslib": "^2.6.3",
"typescript": "^5.3.3"
"tslib": "^2.8.1",
"typescript": "^5.7.3"
},

@@ -34,0 +32,0 @@ "repository": {

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