Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-component-meta

Package Overview
Dependencies
Maintainers
0
Versions
192
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-component-meta - npm Package Compare versions

Comparing version 2.0.23-alpha.1 to 2.0.24

2

lib/base.d.ts

@@ -28,3 +28,3 @@ import * as vue from '@vue/language-core';

};
export declare function baseCreate(ts: typeof import('typescript'), configFileName: string | undefined, projectHost: TypeScriptProjectHost, vueCompilerOptions: vue.VueCompilerOptions, checkerOptions: MetaCheckerOptions, globalComponentName: string): {
export declare function baseCreate(ts: typeof import('typescript'), projectHost: TypeScriptProjectHost, vueCompilerOptions: vue.VueCompilerOptions, checkerOptions: MetaCheckerOptions, globalComponentName: string): {
getExportNames: (componentPath: string) => string[];

@@ -31,0 +31,0 @@ getComponentMeta: (componentPath: string, exportName?: string) => ComponentMeta;

@@ -29,9 +29,9 @@ "use strict";

rootDir = rootDir.replace(windowsPathReg, '/');
return createCheckerWorker(ts, () => vue.createParsedCommandLineByJson(ts, ts.sys, rootDir, json), checkerOptions, rootDir, path.join(rootDir, 'jsconfig.json.global.vue'), undefined);
return createCheckerWorker(ts, () => vue.createParsedCommandLineByJson(ts, ts.sys, rootDir, json), checkerOptions, rootDir, path.join(rootDir, 'jsconfig.json.global.vue'));
}
function createCheckerBase(ts, tsconfig, checkerOptions = {}) {
tsconfig = tsconfig.replace(windowsPathReg, '/');
return createCheckerWorker(ts, () => vue.createParsedCommandLine(ts, ts.sys, tsconfig), checkerOptions, path.dirname(tsconfig), tsconfig + '.global.vue', tsconfig);
return createCheckerWorker(ts, () => vue.createParsedCommandLine(ts, ts.sys, tsconfig), checkerOptions, path.dirname(tsconfig), tsconfig + '.global.vue');
}
function createCheckerWorker(ts, loadParsedCommandLine, checkerOptions, rootPath, globalComponentName, configFileName) {
function createCheckerWorker(ts, loadParsedCommandLine, checkerOptions, rootPath, globalComponentName) {
/**

@@ -61,3 +61,3 @@ * Original Host

return {
...baseCreate(ts, configFileName, projectHost, parsedCommandLine.vueOptions, checkerOptions, globalComponentName),
...baseCreate(ts, projectHost, parsedCommandLine.vueOptions, checkerOptions, globalComponentName),
updateFile(fileName, text) {

@@ -84,3 +84,3 @@ fileName = fileName.replace(windowsPathReg, '/');

}
function baseCreate(ts, configFileName, projectHost, vueCompilerOptions, checkerOptions, globalComponentName) {
function baseCreate(ts, projectHost, vueCompilerOptions, checkerOptions, globalComponentName) {
const globalComponentSnapshot = ts.ScriptSnapshot.fromString('<script setup lang="ts"></script>');

@@ -136,13 +136,3 @@ const metaSnapshots = {};

});
language.typescript = {
sys: ts.sys,
configFileName,
asFileName: s => s,
asScriptId: s => s,
...(0, typescript_1.createLanguageServiceHost)(ts, ts.sys, language, s => s, projectHost),
};
language.vue = {
compilerOptions: vueCompilerOptions,
};
const { languageServiceHost } = language.typescript;
const { languageServiceHost } = (0, typescript_1.createLanguageServiceHost)(ts, ts.sys, language, s => s, projectHost);
const tsLs = ts.createLanguageService(languageServiceHost);

@@ -149,0 +139,0 @@ if (checkerOptions.forceUseTs) {

{
"name": "vue-component-meta",
"version": "2.0.23-alpha.1",
"version": "2.0.24",
"license": "MIT",

@@ -15,6 +15,6 @@ "files": [

"dependencies": {
"@volar/typescript": "~2.4.0-alpha.0",
"@vue/language-core": "2.0.23-alpha.1",
"@volar/typescript": "~2.4.0-alpha.2",
"@vue/language-core": "2.0.24",
"path-browserify": "^1.0.1",
"vue-component-type-helpers": "2.0.23-alpha.1"
"vue-component-type-helpers": "2.0.24"
},

@@ -33,3 +33,3 @@ "peerDependencies": {

},
"gitHead": "70cb34e9d58afd603d50cb5b870116b189f4662b"
"gitHead": "bca79db09e413ef29c17b910271c123a7a68806f"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc