@markuplint/ml-config
Advanced tools
Comparing version 2.0.1-dev.20220307.0 to 2.1.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
(0, tslib_1.__exportStar)(require("./merge-config"), exports); | ||
(0, tslib_1.__exportStar)(require("./utils"), exports); | ||
(0, tslib_1.__exportStar)(require("./types"), exports); | ||
tslib_1.__exportStar(require("./merge-config"), exports); | ||
tslib_1.__exportStar(require("./utils"), exports); | ||
tslib_1.__exportStar(require("./types"), exports); |
@@ -5,3 +5,3 @@ "use strict"; | ||
const tslib_1 = require("tslib"); | ||
const deepmerge_1 = (0, tslib_1.__importDefault)(require("deepmerge")); | ||
const deepmerge_1 = tslib_1.__importDefault(require("deepmerge")); | ||
const is_plain_object_1 = require("is-plain-object"); | ||
@@ -26,2 +26,3 @@ function mergeConfig(a, b) { | ||
childNodeRules: concatArray(a.childNodeRules, b.childNodeRules), | ||
overrides: mergeObject(a.overrides, b.overrides), | ||
// delete all | ||
@@ -28,0 +29,0 @@ extends: undefined, |
@@ -12,2 +12,3 @@ export interface Config { | ||
childNodeRules?: ChildNodeRule[]; | ||
overrides?: Record<string, Omit<Config, '$schema' | 'extends' | 'overrides'>>; | ||
} | ||
@@ -14,0 +15,0 @@ export declare type PluginConfig = { |
@@ -5,3 +5,3 @@ "use strict"; | ||
const tslib_1 = require("tslib"); | ||
const mustache_1 = (0, tslib_1.__importDefault)(require("mustache")); | ||
const mustache_1 = tslib_1.__importDefault(require("mustache")); | ||
function toRegxp(pattern) { | ||
@@ -8,0 +8,0 @@ const matched = pattern.match(/^\/(.+)\/([ig]*)$/i); |
{ | ||
"name": "@markuplint/ml-config", | ||
"version": "2.0.1-dev.20220307.0", | ||
"version": "2.1.0", | ||
"description": "JSON Schema and TypeScript types of markuplint configure JSON", | ||
@@ -26,3 +26,3 @@ "repository": "git@github.com:markuplint/markuplint.git", | ||
}, | ||
"gitHead": "c0a9d36c32ae278bd2fdb9ec9434fd4af46918c3" | ||
"gitHead": "373c916d5ebbba463f5e088696666a383ee96492" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
66162
492
1