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

@egjs/flicking

Package Overview
Dependencies
Maintainers
10
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@egjs/flicking - npm Package Compare versions

Comparing version 4.11.5-beta.3 to 4.11.5-beta.4

1

declaration/camera/Camera.d.ts

@@ -15,3 +15,2 @@ import Flicking, { FlickingOptions } from "../Flicking";

private _transform;
private _lookedOffset;
private _position;

@@ -18,0 +17,0 @@ private _alignPos;

2

package.json
{
"name": "@egjs/flicking",
"version": "4.11.5-beta.3",
"version": "4.11.5-beta.4",
"description": "Everyday 30 million people experience. It's reliable, flexible and extendable carousel.",

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

@@ -35,3 +35,2 @@ /*

private _transform: string;
private _lookedOffset = 0;
private _position: number;

@@ -297,4 +296,2 @@ private _alignPos: number;

public lookAt(pos: number): void {
const prevOffset = this._offset;
const isChangedOffset = this._lookedOffset !== prevOffset;
const flicking = getFlickingAttached(this._flicking);

@@ -309,11 +306,6 @@ const prevPos = this._position;

if (isChangedOffset || toggled) {
if (toggled) {
void flicking.renderer.render().then(() => {
this.updateOffset();
this._lookedOffset = this._offset;
});
} else if (isChangedOffset) {
// sync offset for renderOnlyVisible on resize
this.updateOffset();
this._lookedOffset = this._offset;
} else {

@@ -613,3 +605,2 @@ this.applyTransform();

this._position = 0;
this._lookedOffset = 0;
this._alignPos = 0;

@@ -616,0 +607,0 @@ this._offset = 0;

@@ -84,3 +84,3 @@ import { DiffResult } from "@egjs/list-differ";

if (startIdx >= 0) {
added.push(...batchInsert(renderer, diffResult, addedElements, startIdx));
added.push(...batchInsert(renderer, diffResult, addedElements.slice(startIdx), startIdx));
}

@@ -87,0 +87,0 @@ }

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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