Socket
Socket
Sign inDemoInstall

dynamic-marquee

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dynamic-marquee - npm Package Compare versions

Comparing version 2.1.5 to 2.2.0

10

dist/dynamic-marquee.d.ts

@@ -9,8 +9,8 @@ export as namespace DynamicMarquee;

export type Item = HTMLElement | string | number;
export class Marquee {
constructor($container: HTMLElement, options?: Options);
onItemRequired(
callback: (data: {
immediatelyFollowsPrevious: boolean;
}) => HTMLElement | void
callback: (data: { immediatelyFollowsPrevious: boolean }) => Item | void
): void;

@@ -24,6 +24,6 @@ onItemRemoved(callback: ($el: HTMLElement) => void): void;

isWaitingForItem(): boolean;
appendItem($el: HTMLElement | string | number): void;
appendItem($el: Item): void;
}
export type LoopBuilder = () => HTMLElement | string | number;
export type LoopBuilder = () => Item;
export type LoopReturn = { update: (newBuilders: LoopBuilder[]) => void };

@@ -30,0 +30,0 @@

{
"name": "dynamic-marquee",
"version": "2.1.5",
"version": "2.2.0",
"description": "A small library for creating marquees.",

@@ -12,3 +12,4 @@ "main": "./dist/dynamic-marquee.js",

"lint": "prettier --check .",
"preversion": "npm run build"
"preversion": "npm run build",
"prepare": "husky install"
},

@@ -18,7 +19,2 @@ "files": [

],
"husky": {
"hooks": {
"pre-commit": "npm run prettier"
}
},
"repository": {

@@ -44,5 +40,5 @@ "type": "git",

"@babel/preset-env": "^7.8.7",
"@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-node-resolve": "^10.0.0",
"husky": "^4.2.3",
"@rollup/plugin-commonjs": "^21.1.0",
"@rollup/plugin-node-resolve": "^13.2.1",
"husky": "^7.0.0",
"longest-common-substring": "0.0.1",

@@ -49,0 +45,0 @@ "prettier": "^2.0.2",

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