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

@serwist/google-analytics

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serwist/google-analytics - npm Package Compare versions

Comparing version 8.4.0 to 8.4.1

8

dist/index.js

@@ -36,3 +36,3 @@ import { BackgroundSyncPlugin } from '@serwist/background-sync';

return async ({ queue })=>{
let entry;
let entry = undefined;
while(entry = await queue.shiftRequest()){

@@ -74,3 +74,3 @@ const { request, timestamp } = entry;

if (process.env.NODE_ENV !== "production") {
logger.log(`Request for '${getFriendlyURL(url.href)}' ` + `has been replayed`);
logger.log(`Request for '${getFriendlyURL(url.href)}' has been replayed`);
}

@@ -80,3 +80,3 @@ } catch (err) {

if (process.env.NODE_ENV !== "production") {
logger.log(`Request for '${getFriendlyURL(url.href)}' ` + `failed to replay, putting it back in the queue.`);
logger.log(`Request for '${getFriendlyURL(url.href)}' failed to replay, putting it back in the queue.`);
}

@@ -87,3 +87,3 @@ throw err;

if (process.env.NODE_ENV !== "production") {
logger.log(`All Google Analytics request successfully replayed; ` + `the queue is now empty!`);
logger.log("All Google Analytics request successfully replayed; " + "the queue is now empty!");
}

@@ -90,0 +90,0 @@ };

@@ -36,3 +36,3 @@ import { BackgroundSyncPlugin } from '@serwist/background-sync';

return async ({ queue })=>{
let entry;
let entry = undefined;
while(entry = await queue.shiftRequest()){

@@ -74,3 +74,3 @@ const { request, timestamp } = entry;

if (process.env.NODE_ENV !== "production") {
logger.log(`Request for '${getFriendlyURL(url.href)}' ` + `has been replayed`);
logger.log(`Request for '${getFriendlyURL(url.href)}' has been replayed`);
}

@@ -80,3 +80,3 @@ } catch (err) {

if (process.env.NODE_ENV !== "production") {
logger.log(`Request for '${getFriendlyURL(url.href)}' ` + `failed to replay, putting it back in the queue.`);
logger.log(`Request for '${getFriendlyURL(url.href)}' failed to replay, putting it back in the queue.`);
}

@@ -87,3 +87,3 @@ throw err;

if (process.env.NODE_ENV !== "production") {
logger.log(`All Google Analytics request successfully replayed; ` + `the queue is now empty!`);
logger.log("All Google Analytics request successfully replayed; " + "the queue is now empty!");
}

@@ -90,0 +90,0 @@ };

{
"name": "@serwist/google-analytics",
"version": "8.4.0",
"version": "8.4.1",
"type": "module",

@@ -51,10 +51,10 @@ "description": "Queues failed requests and uses the Background Sync API to replay them when the network is available",

"dependencies": {
"@serwist/background-sync": "8.4.0",
"@serwist/core": "8.4.0",
"@serwist/routing": "8.4.0",
"@serwist/strategies": "8.4.0"
"@serwist/background-sync": "8.4.1",
"@serwist/core": "8.4.1",
"@serwist/routing": "8.4.1",
"@serwist/strategies": "8.4.1"
},
"devDependencies": {
"rollup": "4.9.1",
"@serwist/constants": "8.4.0"
"@serwist/constants": "8.4.1"
},

@@ -64,5 +64,5 @@ "scripts": {

"dev": "rollup --config rollup.config.js --watch",
"lint": "eslint src --ext ts,tsx,js,jsx,cjs,mjs",
"lint": "biome lint ./src",
"typecheck": "tsc"
}
}

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