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

roarr

Package Overview
Dependencies
Maintainers
1
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

roarr - npm Package Compare versions

Comparing version 7.18.3 to 7.18.4

6

dist/browser.js
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -6,2 +9,3 @@ exports.getLogLevelName = exports.logLevels = exports.Roarr = exports.ROARR = void 0;

const createRoarrInitialGlobalStateBrowser_1 = require("./factories/createRoarrInitialGlobalStateBrowser");
const safe_stable_stringify_1 = __importDefault(require("safe-stable-stringify"));
const ROARR = (0, createRoarrInitialGlobalStateBrowser_1.createRoarrInitialGlobalStateBrowser)(globalThis.ROARR || {});

@@ -11,3 +15,3 @@ exports.ROARR = ROARR;

const serializeMessage = (message) => {
return JSON.stringify(message);
return (0, safe_stable_stringify_1.default)(message);
};

@@ -14,0 +18,0 @@ const Roarr = (0, createLogger_1.createLogger)((message) => {

2

package.json

@@ -71,3 +71,3 @@ {

"types": "./dist/Roarr.d.ts",
"version": "7.18.3"
"version": "7.18.4"
}
import { createLogger } from './factories/createLogger';
import { createRoarrInitialGlobalStateBrowser } from './factories/createRoarrInitialGlobalStateBrowser';
import { type MessageSerializer, type RoarrGlobalState } from './types';
import safeStringify from 'safe-stable-stringify';

@@ -12,3 +13,3 @@ const ROARR = createRoarrInitialGlobalStateBrowser(

const serializeMessage: MessageSerializer = (message) => {
return JSON.stringify(message);
return safeStringify(message);
};

@@ -15,0 +16,0 @@

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