vue-component-meta
Advanced tools
Comparing version 2.0.21 to 2.0.22
@@ -17,3 +17,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createChecker = exports.createCheckerByJson = exports.createComponentMetaChecker = exports.createComponentMetaCheckerByJsonConfig = void 0; | ||
exports.createComponentMetaChecker = exports.createComponentMetaCheckerByJsonConfig = void 0; | ||
exports.createCheckerByJson = createCheckerByJson; | ||
exports.createChecker = createChecker; | ||
const ts = require("typescript"); | ||
@@ -33,7 +35,5 @@ const base_1 = require("./lib/base"); | ||
} | ||
exports.createCheckerByJson = createCheckerByJson; | ||
function createChecker(tsconfig, checkerOptions = {}) { | ||
return (0, base_1.createCheckerBase)(ts, tsconfig, checkerOptions); | ||
} | ||
exports.createChecker = createChecker; | ||
//# sourceMappingURL=index.js.map |
@@ -17,3 +17,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.baseCreate = exports.createCheckerBase = exports.createCheckerByJsonConfigBase = void 0; | ||
exports.createCheckerByJsonConfigBase = createCheckerByJsonConfigBase; | ||
exports.createCheckerBase = createCheckerBase; | ||
exports.baseCreate = baseCreate; | ||
const vue = require("@vue/language-core"); | ||
@@ -30,3 +32,2 @@ const path = require("path-browserify"); | ||
} | ||
exports.createCheckerByJsonConfigBase = createCheckerByJsonConfigBase; | ||
function createCheckerBase(ts, tsconfig, checkerOptions = {}) { | ||
@@ -36,3 +37,2 @@ tsconfig = tsconfig.replace(windowsPathReg, '/'); | ||
} | ||
exports.createCheckerBase = createCheckerBase; | ||
function createCheckerWorker(ts, loadParsedCommandLine, checkerOptions, rootPath, globalComponentName, configFileName) { | ||
@@ -352,3 +352,2 @@ /** | ||
} | ||
exports.baseCreate = baseCreate; | ||
function createSchemaResolvers(typeChecker, symbolNode, { rawType, schema: options, noDeclarations }, ts, language) { | ||
@@ -534,7 +533,7 @@ const visited = new Set(); | ||
if (script) { | ||
for (const [source, _, map] of language.maps.forEach(script.code)) { | ||
for (const [start] of map.getSourceOffsets(declaration.getStart())) { | ||
for (const [end] of map.getSourceOffsets(declaration.getEnd())) { | ||
for (const [sourceScript, map] of language.maps.forEach(script.code)) { | ||
for (const [start] of map.toSourceLocation(declaration.getStart())) { | ||
for (const [end] of map.toSourceLocation(declaration.getEnd())) { | ||
return { | ||
file: source, | ||
file: sourceScript.id, | ||
range: [start, end], | ||
@@ -541,0 +540,0 @@ }; |
{ | ||
"name": "vue-component-meta", | ||
"version": "2.0.21", | ||
"version": "2.0.22", | ||
"license": "MIT", | ||
@@ -15,6 +15,6 @@ "files": [ | ||
"dependencies": { | ||
"@volar/typescript": "~2.3.0-alpha.15", | ||
"@vue/language-core": "2.0.21", | ||
"@volar/typescript": "~2.3.1", | ||
"@vue/language-core": "2.0.22", | ||
"path-browserify": "^1.0.1", | ||
"vue-component-type-helpers": "2.0.21" | ||
"vue-component-type-helpers": "2.0.22" | ||
}, | ||
@@ -33,3 +33,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "a5af80e3939a39694abd9dd09a5496bc5fbf6e06" | ||
"gitHead": "884c8a553d4fd240167fcb97c6a738564f9d697a" | ||
} |
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
43754
912
+ Added@vue/language-core@2.0.22(transitive)
+ Addedmuggle-string@0.4.1(transitive)
+ Addedvue-component-type-helpers@2.0.22(transitive)
- Removed@vue/language-core@2.0.21(transitive)
- Removedvue-component-type-helpers@2.0.21(transitive)
Updated@volar/typescript@~2.3.1
Updated@vue/language-core@2.0.22