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

@markuplint/file-resolver

Package Overview
Dependencies
Maintainers
1
Versions
179
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@markuplint/file-resolver - npm Package Compare versions

Comparing version 4.0.0-dev.10 to 4.0.0-dev.12

1

lib/cosmiconfig.js

@@ -21,2 +21,3 @@ import path from 'node:path';

},
searchStrategy: 'project',
});

@@ -23,0 +24,0 @@ export async function search(filePath, cacheClear) {

4

lib/resolve-parser.d.ts
import type { MLFile } from './ml-file/index.js';
import type { MLMarkupLanguageParser, ParserOptions } from '@markuplint/ml-ast';
import type { MLMarkupLanguageParser, MLParser, ParserOptions } from '@markuplint/ml-ast';
import type { ParserConfig } from '@markuplint/ml-config';
export declare function resolveParser(file: Readonly<MLFile>, parserConfig?: ParserConfig, parserOptions?: ParserOptions): Promise<{
parserModName: string;
parser: MLMarkupLanguageParser;
parser: MLParser | MLMarkupLanguageParser;
parserOptions: ParserOptions;
matched: boolean;
}>;

@@ -37,4 +37,8 @@ import path from 'node:path';

}
const parser = await import(parserModName);
return parser;
const parserMod = await import(parserModName);
// TODO: To be dropped in v5
if (!('parser' in parserMod)) {
return parserMod;
}
return parserMod.parser;
}
{
"name": "@markuplint/file-resolver",
"version": "4.0.0-dev.10+b28398ab",
"version": "4.0.0-dev.12+2275fbeb0",
"description": "The file resolver of markuplint",

@@ -27,14 +27,14 @@ "repository": "git@github.com:markuplint/markuplint.git",

"devDependencies": {
"@types/node": "20.10.4"
"@types/node": "20.11.5"
},
"dependencies": {
"@markuplint/html-parser": "4.0.0-dev.10+b28398ab",
"@markuplint/ml-ast": "4.0.0-dev.10+b28398ab",
"@markuplint/ml-config": "4.0.0-dev.10+b28398ab",
"@markuplint/ml-core": "4.0.0-dev.10+b28398ab",
"@markuplint/ml-spec": "4.0.0-dev.10+b28398ab",
"@markuplint/parser-utils": "4.0.0-dev.10+b28398ab",
"@markuplint/selector": "4.0.0-dev.10+b28398ab",
"@markuplint/shared": "4.0.0-dev.10+b28398ab",
"cosmiconfig": "^8.3.6",
"@markuplint/html-parser": "4.0.0-dev.12+2275fbeb0",
"@markuplint/ml-ast": "4.0.0-dev.12+2275fbeb0",
"@markuplint/ml-config": "4.0.0-dev.12+2275fbeb0",
"@markuplint/ml-core": "4.0.0-dev.12+2275fbeb0",
"@markuplint/ml-spec": "4.0.0-dev.12+2275fbeb0",
"@markuplint/parser-utils": "4.0.0-dev.12+2275fbeb0",
"@markuplint/selector": "4.0.0-dev.12+2275fbeb0",
"@markuplint/shared": "4.0.0-dev.12+2275fbeb0",
"cosmiconfig": "^9.0.0",
"debug": "^4.3.4",

@@ -46,3 +46,3 @@ "glob": "^10.3.6",

},
"gitHead": "b28398ab9c8f0ad790f2915ad5da8f3a80e9b8d6"
"gitHead": "2275fbeb053605b636f080f4fafd7cd4fc57a9a3"
}

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