Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@figliolia/page-switch

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@figliolia/page-switch - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

2

dist/cjs/PageSwitch/Options.js

@@ -9,3 +9,2 @@ "use strict";

this.current = 0;
this.transitionName = "";
this.events = {

@@ -16,2 +15,3 @@ update: [],

this.pageData = [];
this.transitionName = "";
const options = this.withDefaults(config);

@@ -18,0 +18,0 @@ this.container = this.getSelector(selector);

@@ -16,3 +16,2 @@ import { Easing } from "../Easing/index.js";

mousewheel;
transitionName = "";
container;

@@ -25,2 +24,3 @@ transition;

pageData = [];
transitionName = "";
transitions;

@@ -27,0 +27,0 @@ constructor(selector, config) {

import type { EaseString, EasingFN } from "../Easing";
import type { TransitionName } from "../Transitions";
import { type Transition, type TransitionFN } from "../Transitions";

@@ -17,3 +18,2 @@ import type { IDOrElement, IOptions, ListenerCache, PageDatum } from "./types";

mousewheel: boolean;
transitionName: string;
container: HTMLElement;

@@ -24,2 +24,3 @@ transition: TransitionFN;

pageData: PageDatum[];
transitionName: TransitionName | "";
private readonly transitions;

@@ -26,0 +27,0 @@ constructor(selector: IDOrElement, config: Partial<IOptions>);

@@ -125,2 +125,3 @@ import type { TransitionFN } from "./Effects";

}
export type Transition = Extract<keyof ITransitions, string> | TransitionFN;
export type TransitionName = Extract<keyof ITransitions, string>;
export type Transition = TransitionName | TransitionFN;
{
"name": "@figliolia/page-switch",
"version": "1.0.6",
"version": "1.0.7",
"description": "A page animation library based on the clever work of @qiqiboy",

@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js",

import type { EaseString, EasingFN } from "Easing";
import { Easing } from "Easing";
import type { TransitionName } from "Transitions";
import {

@@ -24,3 +25,2 @@ Transitions,

mousewheel: boolean;
transitionName = "";
container: HTMLElement;

@@ -33,2 +33,3 @@ transition: TransitionFN;

pageData: PageDatum[] = [];
transitionName: TransitionName | "" = "";
private readonly transitions: ITransitions;

@@ -35,0 +36,0 @@ constructor(selector: IDOrElement, config: Partial<IOptions>) {

@@ -127,2 +127,4 @@ import type { TransitionFN } from "./Effects";

export type Transition = Extract<keyof ITransitions, string> | TransitionFN;
export type TransitionName = Extract<keyof ITransitions, string>;
export type Transition = TransitionName | TransitionFN;
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