Socket
Socket
Sign inDemoInstall

@motionone/utils

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@motionone/utils - npm Package Compare versions

Comparing version 10.17.1 to 10.18.0

4

dist/easing.cjs.js

@@ -7,7 +7,5 @@ 'use strict';

function getEasingForSegment(easing, i) {
return isEasingList.isEasingList(easing)
? easing[wrap.wrap(0, easing.length, i)]
: easing;
return isEasingList.isEasingList(easing) ? easing[wrap.wrap(0, easing.length, i)] : easing;
}
exports.getEasingForSegment = getEasingForSegment;

@@ -5,7 +5,5 @@ import { isEasingList } from './is-easing-list.es.js';

function getEasingForSegment(easing, i) {
return isEasingList(easing)
? easing[wrap(0, easing.length, i)]
: easing;
return isEasingList(easing) ? easing[wrap(0, easing.length, i)] : easing;
}
export { getEasingForSegment };
import { isEasingList } from "./is-easing-list";
import { wrap } from "./wrap";
export function getEasingForSegment(easing, i) {
return isEasingList(easing)
? easing[wrap(0, easing.length, i)]
: easing;
return isEasingList(easing) ? easing[wrap(0, easing.length, i)] : easing;
}
//# sourceMappingURL=easing.js.map
{
"name": "@motionone/utils",
"version": "10.17.1",
"version": "10.18.0",
"description": "A collection of utility functions for animations.",

@@ -21,3 +21,3 @@ "license": "MIT",

},
"gitHead": "e801ab1f0f04dd57a6a5fa692e0cd36d7ffbb8a1"
"gitHead": "f357769434210262a664b8b736b61e1a615e95a7"
}

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

export declare function getEasingForSegment<T>(easing: T | T[], i: number): any;
import { Easing, EasingFunction } from "@motionone/types";
export declare function getEasingForSegment(easing: Easing | Easing[], i: number): Easing;
export declare function getEasingForSegment(easing: EasingFunction | EasingFunction[], i: number): EasingFunction;
//# sourceMappingURL=easing.d.ts.map
import { Easing, EasingFunction, EasingGenerator } from "@motionone/types";
export declare const isEasingList: (easing: EasingGenerator | Easing | Easing[] | undefined | EasingFunction) => easing is Easing[];
export declare const isEasingList: (easing: EasingGenerator | Easing | Easing[] | undefined | EasingFunction | EasingFunction[]) => easing is Easing[];
//# sourceMappingURL=is-easing-list.d.ts.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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