@fimbul/ve
Advanced tools
Comparing version 0.21.0 to 0.22.0
{ | ||
"name": "@fimbul/ve", | ||
"version": "0.21.0", | ||
"version": "0.22.0", | ||
"description": "Vue processor for wotan", | ||
@@ -29,8 +29,8 @@ "main": "src/index", | ||
"peerDependencies": { | ||
"typescript": ">= 3.3.0 || >= 3.6.0-dev || >= 3.7.0-dev" | ||
"typescript": ">= 4.0.0 || >= 4.2.0-dev" | ||
}, | ||
"dependencies": { | ||
"@fimbul/ymir": "^0.21.0", | ||
"parse5-sax-parser": "^5.0.0", | ||
"tslib": "^1.8.1", | ||
"@fimbul/ymir": "^0.22.0", | ||
"parse5-sax-parser": "^6.0.0", | ||
"tslib": "^2.0.0", | ||
"void-elements": "^3.1.0" | ||
@@ -37,0 +37,0 @@ }, |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Processor = void 0; | ||
const ymir_1 = require("@fimbul/ymir"); | ||
@@ -92,7 +93,12 @@ const path = require("path"); | ||
mapFinding(f) { | ||
return Object.assign({}, f, { start: this.adjustPosition(f.start), end: this.adjustPosition(f.end), fix: f.fix === undefined | ||
return { | ||
...f, | ||
start: this.adjustPosition(f.start), | ||
end: this.adjustPosition(f.end), | ||
fix: f.fix === undefined | ||
? undefined | ||
: { | ||
replacements: f.fix.replacements.map(this.mapReplacement, this), | ||
} }); | ||
}, | ||
}; | ||
} | ||
@@ -99,0 +105,0 @@ adjustPosition(pos) { |
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
23571
133
+ Added@fimbul/ymir@0.22.0(transitive)
+ Addedparse5@6.0.1(transitive)
+ Addedparse5-sax-parser@6.0.1(transitive)
+ Addedtslib@2.8.1(transitive)
+ Addedtypescript@5.7.2(transitive)
- Removed@fimbul/ymir@0.21.0(transitive)
- Removedparse5@5.1.1(transitive)
- Removedparse5-sax-parser@5.1.1(transitive)
- Removedtypescript@5.6.3(transitive)
Updated@fimbul/ymir@^0.22.0
Updatedparse5-sax-parser@^6.0.0
Updatedtslib@^2.0.0