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

@milkdown/design-system

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@milkdown/design-system - npm Package Compare versions

Comparing version 5.2.0 to 5.2.1

lib/index.cjs.js

3

lib/index.d.ts
import { ThemePack, ThemeTool } from './types';
export { ThemePack, ThemeTool } from './types';
export { Color, Font, Icon, Size } from './types';
export declare const injectVar: (themePack: ThemePack) => void;
export declare const pack2Tool: (themePack: ThemePack) => ThemeTool;
export type { Color, Font, Icon, Size, ThemePack, ThemeTool } from './types';
//# sourceMappingURL=index.d.ts.map
{
"name": "@milkdown/design-system",
"version": "5.2.0",
"main": "lib/index.js",
"module": "lib/index.js",
"types": "lib/index.d.ts",
"version": "5.2.1",
"main": "./lib/index.cjs.js",
"module": "./lib/index.es.js",
"types": "./lib/index.d.ts",
"exports": {
".": {
"import": "./lib/index.es.js",
"require": "./lib/index.cjs.js"
}
},
"sideEffects": false,

@@ -19,7 +25,7 @@ "license": "MIT",

"start": "vite",
"watch": "tsc -w",
"watch": "vite build --watch",
"test": "jest",
"tsc": "tsc --noEmit",
"build": "tsc"
"build": "vite build && tsc --emitDeclarationOnly"
}
}

@@ -8,5 +8,2 @@ /* Copyright 2021, Milkdown by Mirone. */

export { ThemePack, ThemeTool } from './types';
export { Color, Font, Icon, Size } from './types';
export const injectVar = (themePack: ThemePack) => {

@@ -72,1 +69,3 @@ const { color = {}, font, size = {} } = themePack;

};
export type { Color, Font, Icon, Size, ThemePack, ThemeTool } from './types';

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