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.2-alpha.1 to 4.5.2

6

CHANGELOG.md

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

## [4.5.2-alpha.1](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.2-alpha.0...@markuplint/types@4.5.2-alpha.1) (2024-06-02)
## [4.5.2](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.1...@markuplint/types@4.5.2) (2024-06-09)

@@ -18,6 +18,2 @@

## [4.5.2-alpha.0](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.1...@markuplint/types@4.5.2-alpha.0) (2024-06-02)
**Note:** Version bump only for package @markuplint/types
## [4.5.1](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.0...@markuplint/types@4.5.1) (2024-05-28)

@@ -24,0 +20,0 @@

2

lib/check-multi-types.d.ts
import type { CustomSyntaxCheck, UnmatchedResult } from './types.js';
export declare function checkMultiTypes(value: string, checks: readonly CustomSyntaxCheck[]): import("./types.js").MatchedResult | UnmatchedResult;
export declare function checkMultiTypes(value: string, checks: readonly CustomSyntaxCheck[]): UnmatchedResult | import("./types.js").MatchedResult;

@@ -5,3 +5,3 @@ import type { FormattedPrimitiveTypeCheck, MatchedResult, UnmatchedResult, UnmatchedResultOptions, UnmatchedResultReason } from './types.js';

readonly reason?: UnmatchedResultReason;
}): (value: string) => MatchedResult | UnmatchedResult;
}): (value: string) => UnmatchedResult | MatchedResult;
export declare function matched(): MatchedResult;

@@ -8,0 +8,0 @@ export declare function unmatched(value: string, reason?: UnmatchedResultReason, options?: UnmatchedResultOptions & {

@@ -27,3 +27,3 @@ import type { TokenValue } from './types.js';

cache?: boolean;
}): import("../types.js").MatchedResult | UnmatchedResult;
}): UnmatchedResult | import("../types.js").MatchedResult;
chunk(split: number): TokenCollection[];

@@ -30,0 +30,0 @@ compareTokens(callback: (prev: Readonly<Token>, current: Readonly<Token>) => Readonly<Token> | null | void): Readonly<Token> | null | undefined;

@@ -33,3 +33,3 @@ import type { TokenValue } from './types.js';

};
static getType(value: string, separators?: readonly string[]): 1 | 13 | 18;
static getType(value: string, separators?: readonly string[]): 1 | 18 | 13;
static shiftLocation(token: Readonly<Token>, offset: number): {

@@ -36,0 +36,0 @@ offset: number;

{
"name": "@markuplint/types",
"version": "4.5.2-alpha.1",
"version": "4.5.2",
"description": "Type declaration and value checker",

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

"schema": "run-s schema:types schema:schema build schema:prettier schema:eslint schema:prettier",
"schema:types": "node --loader ts-node/esm \"./gen/types.ts\"",
"schema:types": "tsx \"./gen/types.ts\"",
"schema:schema": "json2ts \"./types.schema.json\" > \"./src/types.schema.ts\"",

@@ -33,3 +33,3 @@ "schema:eslint": "eslint --fix \"./src/types.schema.ts\"",

"dependencies": {
"@markuplint/shared": "4.4.2-alpha.1",
"@markuplint/shared": "4.4.2",
"@types/css-tree": "2.3.7",

@@ -42,6 +42,6 @@ "@types/debug": "4.1.12",

"leven": "4.0.0",
"type-fest": "4.18.3",
"type-fest": "4.20.0",
"whatwg-mimetype": "4.0.0"
},
"gitHead": "938c2164b55ad729da47a1851dc396c0033de3f7"
"gitHead": "0200dc1f7b1ffa7455b889696153e25dbae8241f"
}
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