@markuplint/parser-utils
Advanced tools
Comparing version
@@ -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
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
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
5.71%1166
2.37%94171
-7.15%5
25%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
Updated
Updated