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

vue-component-meta

Package Overview
Dependencies
Maintainers
1
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.1.5 to 2.1.6

13

lib/base.js

@@ -22,3 +22,3 @@ "use strict";

const vue = require("@vue/language-core");
const path = require("path-browserify");
const path_browserify_1 = require("path-browserify");
const vue_component_type_helpers_1 = require("vue-component-type-helpers");

@@ -30,7 +30,7 @@ const vue2_1 = require("vue-component-type-helpers/vue2");

rootDir = rootDir.replace(windowsPathReg, '/');
return baseCreate(ts, () => vue.createParsedCommandLineByJson(ts, ts.sys, rootDir, json), checkerOptions, rootDir, path.join(rootDir, 'jsconfig.json.global.vue'));
return baseCreate(ts, () => vue.createParsedCommandLineByJson(ts, ts.sys, rootDir, json, undefined, true), checkerOptions, rootDir, path_browserify_1.posix.join(rootDir, 'jsconfig.json.global.vue'));
}
function createCheckerBase(ts, tsconfig, checkerOptions = {}) {
tsconfig = tsconfig.replace(windowsPathReg, '/');
return baseCreate(ts, () => vue.createParsedCommandLine(ts, ts.sys, tsconfig), checkerOptions, path.dirname(tsconfig), tsconfig + '.global.vue');
return baseCreate(ts, () => vue.createParsedCommandLine(ts, ts.sys, tsconfig, true), checkerOptions, path_browserify_1.posix.dirname(tsconfig), tsconfig + '.global.vue');
}

@@ -61,6 +61,3 @@ function baseCreate(ts, getCommandLine, checkerOptions, rootPath, globalComponentName) {

};
const vueLanguagePlugin = vue.createVueLanguagePlugin(ts, projectHost.getCompilationSettings(), {
...commandLine.vueOptions,
__setupedGlobalTypes: () => true,
}, id => id);
const vueLanguagePlugin = vue.createVueLanguagePlugin(ts, projectHost.getCompilationSettings(), commandLine.vueOptions, id => id);
const language = vue.createLanguage([

@@ -109,3 +106,3 @@ vueLanguagePlugin,

const globalTypesName = `${commandLine.vueOptions.lib}_${commandLine.vueOptions.target}_${commandLine.vueOptions.strictTemplates}.d.ts`;
const globalTypesContents = vue.generateGlobalTypes('global', commandLine.vueOptions.lib, commandLine.vueOptions.target, commandLine.vueOptions.strictTemplates);
const globalTypesContents = `// @ts-nocheck\nexport {};\n` + vue.generateGlobalTypes(commandLine.vueOptions.lib, commandLine.vueOptions.target, commandLine.vueOptions.strictTemplates);
const globalTypesSnapshot = {

@@ -112,0 +109,0 @@ getText: (start, end) => globalTypesContents.substring(start, end),

{
"name": "vue-component-meta",
"version": "2.1.5",
"version": "2.1.6",
"license": "MIT",

@@ -16,5 +16,5 @@ "files": [

"@volar/typescript": "~2.4.1",
"@vue/language-core": "2.1.5",
"@vue/language-core": "2.1.6",
"path-browserify": "^1.0.1",
"vue-component-type-helpers": "2.1.5"
"vue-component-type-helpers": "2.1.6"
},

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

},
"gitHead": "a95b51ac0b0db8825f77fbba37e29932b5be61e4"
"gitHead": "fd61953ce9eb924eeaf4df0bf8d2237267321194"
}
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