vue-component-meta
Advanced tools
Comparing version 0.40.2 to 0.40.3
@@ -32,3 +32,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
const scriptSnapshot = {}; | ||
const globalComponentName = tsconfigPath.replace(/\\/g, '/') + '.global.ts'; | ||
const globalComponentName = tsconfigPath.replace(/\\/g, '/') + '.global.vue'; | ||
const host = Object.assign(Object.assign({}, ts.sys), { getDefaultLibFileName: (options) => ts.getDefaultLibFilePath(options), useCaseSensitiveFileNames: () => ts.sys.useCaseSensitiveFileNames, getCompilationSettings: () => parsedCommandLine.options, getScriptFileNames: () => { | ||
@@ -48,6 +48,3 @@ return [ | ||
else if (fileName === globalComponentName) { | ||
fileText = ` | ||
import { defineComponent } from 'vue'; | ||
export default defineComponent({}); | ||
`; | ||
fileText = `<script setup lang="ts"></script>`; | ||
} | ||
@@ -54,0 +51,0 @@ else { |
{ | ||
"name": "vue-component-meta", | ||
"version": "0.40.2", | ||
"version": "0.40.3", | ||
"main": "out/index.js", | ||
@@ -16,3 +16,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"@volar/vue-language-core": "0.40.2" | ||
"@volar/vue-language-core": "0.40.3" | ||
}, | ||
@@ -22,3 +22,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "baa87a77b8cb56cf31dab158e5f76af42fe65b39" | ||
"gitHead": "51eca3c36ac576626807e6093f56994dc2e6a4ce" | ||
} |
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
28895
622
+ Added@volar/code-gen@0.40.3(transitive)
+ Added@volar/source-map@0.40.3(transitive)
+ Added@volar/vue-language-core@0.40.3(transitive)
- Removed@volar/code-gen@0.40.2(transitive)
- Removed@volar/source-map@0.40.2(transitive)
- Removed@volar/vue-language-core@0.40.2(transitive)