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

@folklore/tracking

Package Overview
Dependencies
Maintainers
0
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@folklore/tracking - npm Package Compare versions

Comparing version 0.0.27 to 0.0.28

15

dist/cjs.js

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

variables: null,
withoutIdleCallback: false,
...opts

@@ -58,4 +59,8 @@ };

pushNow() {
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
const {
dataLayer = null
dataLayer = null,
withoutIdleCallback = false
} = this.options;

@@ -65,3 +70,9 @@ if (dataLayer === null || this.disabled) {

}
dataLayer.push(...arguments);
if (!withoutIdleCallback && 'requestIdleCallback' in window) {
window.requestIdleCallback(() => {
dataLayer.push(...args);
});
} else {
dataLayer.push(...args);
}
}

@@ -68,0 +79,0 @@ push() {

@@ -15,2 +15,3 @@ import { v4 } from 'uuid';

variables: null,
withoutIdleCallback: false,
...opts

@@ -54,4 +55,8 @@ };

pushNow() {
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
const {
dataLayer = null
dataLayer = null,
withoutIdleCallback = false
} = this.options;

@@ -61,3 +66,9 @@ if (dataLayer === null || this.disabled) {

}
dataLayer.push(...arguments);
if (!withoutIdleCallback && 'requestIdleCallback' in window) {
window.requestIdleCallback(() => {
dataLayer.push(...args);
});
} else {
dataLayer.push(...args);
}
}

@@ -64,0 +75,0 @@ push() {

4

package.json
{
"name": "@folklore/tracking",
"version": "0.0.27",
"version": "0.0.28",
"description": "Tracking utilities",

@@ -54,3 +54,3 @@ "keywords": [

},
"gitHead": "c5d9aae3c1f05816f88201d46acd507f601652a8"
"gitHead": "700958de5d3f020c8924b8c34ed18c3483dfd328"
}
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