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

@markuplint/types

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@markuplint/types - npm Package Compare versions

Comparing version 4.5.3 to 4.5.4

6

CHANGELOG.md

@@ -6,3 +6,3 @@ # Change Log

## [4.5.3](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.2...@markuplint/types@4.5.3) (2024-06-25)
## [4.5.4](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.3...@markuplint/types@4.5.4) (2024-09-02)

@@ -15,2 +15,6 @@ **Note:** Version bump only for package @markuplint/types

## [4.5.3](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.2...@markuplint/types@4.5.3) (2024-06-25)
**Note:** Version bump only for package @markuplint/types
## [4.5.2](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.1...@markuplint/types@4.5.2) (2024-06-09)

@@ -17,0 +21,0 @@

3

lib/get-candidate.js
import leven from 'leven';
const FLAT_DEPTH = 2;
export function getCandidate(value, ...candidates) {

@@ -6,3 +7,3 @@ if (!value) {

}
const list = candidates.flat(2).filter((s) => !!s);
const list = candidates.flat(FLAT_DEPTH).filter((s) => !!s);
let candidate;

@@ -9,0 +10,0 @@ let maxRatio = 0;

{
"name": "@markuplint/types",
"version": "4.5.3",
"version": "4.5.4",
"description": "Type declaration and value checker",

@@ -32,3 +32,3 @@ "repository": "git@github.com:markuplint/markuplint.git",

"dependencies": {
"@markuplint/shared": "4.4.3",
"@markuplint/shared": "4.4.4",
"@types/css-tree": "2.3.8",

@@ -39,8 +39,8 @@ "@types/debug": "4.1.12",

"css-tree": "2.3.1",
"debug": "4.3.5",
"debug": "4.3.6",
"leven": "4.0.0",
"type-fest": "4.20.1",
"type-fest": "4.26.0",
"whatwg-mimetype": "4.0.0"
},
"gitHead": "05fdca254661ec335ff0cae4c6a11db164b032b9"
"gitHead": "77cd5a25d5cf28c83253b7bfe02cd25b54e236b0"
}
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