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
98
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 4.10.5 to 4.11.0

1

lib/index.d.ts

@@ -12,2 +12,3 @@ export declare const docTypeError: (type: unknown) => Error;

export declare const callCommandBeforeEditorView: () => Error;
export declare const themeMustInstalled: () => Error;
//# sourceMappingURL=index.d.ts.map

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

/* Copyright 2021, Milkdown by Mirone. */
export const docTypeError = (type) => new Error(`Doc type error, unsupported type: ${JSON.stringify(type)}`);

@@ -32,2 +33,4 @@ export const contextNotFound = () => new Error('Context not found, do you forget to inject it?');

export const callCommandBeforeEditorView = () => new Error(`You're trying to call a command before editor view initialized, make sure to get commandManager from ctx after editor view has been initialized`);
export const themeMustInstalled = () => new Error(`It seems that no theme found in editor, please make sure you have use theme in front of all plugins.
If you prefer to use an empty theme, you can use \`themeFactory({})\`.`);
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "@milkdown/exception",
"version": "4.10.5",
"version": "4.11.0",
"main": "lib/index.js",

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

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