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

@cicada/message

Package Overview
Dependencies
Maintainers
6
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cicada/message - npm Package Compare versions

Comparing version 0.2.8 to 0.2.9

2

lib/index.js

@@ -24,3 +24,3 @@ 'use strict';

function safeStringify(data, stringifyHolder) {
return JSON.stringify((0, _utils.safeCircularStruct)(data, stringifyHolder), function (key, value) {
return JSON.stringify(data, function (key, value) {
if (typeof value === 'function') {

@@ -27,0 +27,0 @@ return stringifyHolder ? _constants.CICADA_FUNC_STRINGIFY : undefined;

{
"name": "@cicada/message",
"version": "0.2.8",
"version": "0.2.9",
"description": "cicada message",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -1,2 +0,2 @@

import { safeCircularStruct, generateUUID } from './utils'
import { generateUUID } from './utils'
import { CICADA_CIRCULAR_STRINGIFY, CICADA_FUNC_STRINGIFY, CICADA_UUID, CICADA_PROMISE_EVENT } from './constants'

@@ -11,3 +11,3 @@

function safeStringify(data, stringifyHolder) {
return JSON.stringify(safeCircularStruct(data, stringifyHolder), (key, value) => {
return JSON.stringify(data, (key, value) => {
if (typeof value === 'function') {

@@ -14,0 +14,0 @@ return stringifyHolder ? CICADA_FUNC_STRINGIFY : undefined

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