New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

zhi-common

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zhi-common - npm Package Compare versions

Comparing version 1.21.0 to 1.22.0

11

dist/lib/yamlUtil.d.ts

@@ -15,2 +15,10 @@ /**

/**
* 将 YAML 文档的内容解析为对象
*
* @param content - YAML 文档的内容
* @returns 解析后的对象
* @throws 如果找不到 YAML 分隔符,则抛出错误
*/
static yaml2ObjAsync(content: string): Promise<any>;
/**
* 对象转yaml字符串

@@ -25,5 +33,6 @@ *

* @param content - 包含正文和前置数据的字符串
* @param addSign - 是否包含符号
*/
static extractFrontmatter(content: string): any;
static extractFrontmatter(content: string, addSign?: boolean): any;
}
export default YamlUtil;

2

dist/package.json
{
"name": "zhi-common",
"version": "1.20.0",
"version": "1.21.0",
"type": "module",

@@ -5,0 +5,0 @@ "description": "a collection of util tools",

{
"name": "zhi-common",
"version": "1.21.0",
"version": "1.22.0",
"type": "module",

@@ -21,5 +21,5 @@ "description": "a collection of util tools",

"devDependencies": {
"@terwer/vite-config-custom": "0.7.6",
"@terwer/tsconfig": "0.0.7",
"@terwer/eslint-config-custom": "1.3.6",
"@terwer/tsconfig": "0.0.7"
"@terwer/vite-config-custom": "0.7.6"
},

@@ -26,0 +26,0 @@ "dependencies": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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