@markuplint/parser-utils
Advanced tools
Comparing version 3.0.0-canary.5 to 3.0.0-dev.24
@@ -68,2 +68,3 @@ "use strict"; | ||
function restoreNode(nodeList, ignoreBlock) { | ||
var _a, _b, _c, _d; | ||
nodeList = nodeList.slice(); | ||
@@ -102,2 +103,8 @@ const { source, stack, maskChar } = ignoreBlock; | ||
}; | ||
if ((_a = node.prevNode) === null || _a === void 0 ? void 0 : _a.nextNode) { | ||
node.prevNode.nextNode = textNode; | ||
} | ||
if ((_b = node.nextNode) === null || _b === void 0 ? void 0 : _b.prevNode) { | ||
node.nextNode.prevNode = textNode; | ||
} | ||
insertList.push(textNode); | ||
@@ -125,2 +132,8 @@ } | ||
}; | ||
if ((_c = node.prevNode) === null || _c === void 0 ? void 0 : _c.nextNode) { | ||
node.prevNode.nextNode = bodyNode; | ||
} | ||
if ((_d = node.nextNode) === null || _d === void 0 ? void 0 : _d.prevNode) { | ||
node.nextNode.prevNode = bodyNode; | ||
} | ||
insertList.push(bodyNode); | ||
@@ -127,0 +140,0 @@ } |
{ | ||
"name": "@markuplint/parser-utils", | ||
"version": "3.0.0-canary.5+382d1365", | ||
"version": "3.0.0-dev.24+f55f5eff", | ||
"description": "Utility module for markuplint parser plugin", | ||
@@ -19,11 +19,14 @@ "repository": "git@github.com:markuplint/markuplint.git", | ||
"devDependencies": { | ||
"@types/uuid": "^8.3.4" | ||
"@types/uuid": "^9.0.0" | ||
}, | ||
"dependencies": { | ||
"@markuplint/ml-ast": "3.0.0-canary.69+382d1365", | ||
"@markuplint/types": "3.0.0-canary.5+382d1365", | ||
"tslib": "^2.4.0", | ||
"uuid": "8" | ||
"@markuplint/ml-ast": "3.0.0-rc.0", | ||
"@markuplint/types": "3.0.0-dev.24+f55f5eff", | ||
"tslib": "^2.4.1", | ||
"uuid": "^9.0.0" | ||
}, | ||
"gitHead": "382d13653071bd02210d5430403d1a87c840398c" | ||
"peerDependencies": { | ||
"@markuplint/ml-core": "3.x" | ||
}, | ||
"gitHead": "f55f5eff289296feba26f20b0c085e0528c80ac4" | ||
} |
@@ -12,3 +12,3 @@ # @markuplint/parser-utils | ||
```sh | ||
```shell | ||
$ npm install @markuplint/parser-utils | ||
@@ -15,0 +15,0 @@ |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
37
1166
94171
5
+ Added@markuplint/config-presets@3.9.0(transitive)
+ Added@markuplint/html-parser@3.13.0(transitive)
+ Added@markuplint/html-spec@3.14.0(transitive)
+ Added@markuplint/i18n@3.12.0(transitive)
+ Added@markuplint/ml-ast@3.0.0-rc.03.2.0(transitive)
+ Added@markuplint/ml-config@3.14.0(transitive)
+ Added@markuplint/ml-core@3.15.0(transitive)
+ Added@markuplint/ml-spec@3.14.0(transitive)
+ Added@markuplint/parser-utils@3.13.0(transitive)
+ Added@markuplint/selector@3.14.0(transitive)
+ Added@markuplint/shared@3.8.0(transitive)
+ Added@markuplint/types@3.12.0(transitive)
+ Added@types/bcp-47@1.0.0(transitive)
+ Added@types/css-tree@2.3.9(transitive)
+ Added@types/debug@4.1.12(transitive)
+ Added@types/ms@0.7.34(transitive)
+ Added@types/mustache@4.2.5(transitive)
+ Added@types/uuid@9.0.8(transitive)
+ Added@types/whatwg-mimetype@3.0.2(transitive)
+ Addedbcp-47@1.0.8(transitive)
+ Addedcss-tree@2.3.1(transitive)
+ Addedcssesc@3.0.0(transitive)
+ Addeddebug@4.4.0(transitive)
+ Addeddeepmerge@4.3.1(transitive)
+ Addeddom-accessibility-api@0.6.3(transitive)
+ Addedentities@4.5.0(transitive)
+ Addedhtml-entities@2.5.2(transitive)
+ Addedis-alphabetical@1.0.4(transitive)
+ Addedis-alphanumerical@1.0.4(transitive)
+ Addedis-decimal@1.0.4(transitive)
+ Addedis-plain-object@5.0.0(transitive)
+ Addedleven@3.1.0(transitive)
+ Addedmdn-data@2.0.30(transitive)
+ Addedms@2.1.3(transitive)
+ Addedmustache@4.2.0(transitive)
+ Addedparse5@7.1.2(transitive)
+ Addedpostcss-selector-parser@6.1.2(transitive)
+ Addedsource-map-js@1.2.1(transitive)
+ Addedtype-fest@4.30.2(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addeduuid@9.0.1(transitive)
+ Addedwhatwg-mimetype@3.0.0(transitive)
- Removeduuid@8.3.2(transitive)
Updatedtslib@^2.4.1
Updateduuid@^9.0.0