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

@milkdown/exception

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@milkdown/exception - npm Package Compare versions

Comparing version 7.3.5 to 7.3.6

2

package.json
{
"name": "@milkdown/exception",
"type": "module",
"version": "7.3.5",
"version": "7.3.6",
"license": "MIT",

@@ -6,0 +6,0 @@ "repository": {

@@ -34,4 +34,4 @@ /* Copyright 2021, Milkdown by Mirone. */

if ((x as { toJSON(): Record<string, unknown> }).toJSON)
return stringify((x as { toJSON(): Record<string, unknown> }).toJSON())
if ((x as { toJSON: () => Record<string, unknown> }).toJSON)
return stringify((x as { toJSON: () => Record<string, unknown> }).toJSON())

@@ -41,3 +41,3 @@ if ((x as { spec: string }).spec)

return (x as { toString(): string }).toString()
return (x as { toString: () => string }).toString()
}

@@ -44,0 +44,0 @@ return `${msg}, ${serialize(arg)}`

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