Socket
Socket
Sign inDemoInstall

@vue/language-core

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/language-core - npm Package Compare versions

Comparing version 1.8.3 to 1.8.4

out/utils/globalTypes.d.ts

8

out/generators/script.js

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

const transform_1 = require("../utils/transform");
const sharedTypes = require("../utils/directorySharedTypes");
const sharedTypes = require("../utils/globalTypes");
const muggle = require("muggle-string");

@@ -734,6 +734,6 @@ function generate(ts, fileName, _sfc, lang, scriptRanges, scriptSetupRanges, htmlGen, compilerOptions, vueCompilerOptions, codegenStack) {

codes.push('/* Components */\n');
codes.push(`let __VLS_localComponents!: NonNullable<typeof __VLS_internalComponent extends { components: infer C } ? C : {}> & typeof __VLS_componentsOption & typeof __VLS_ctx;\n`);
codes.push(`let __VLS_otherComponents!: typeof __VLS_localComponents & __VLS_GlobalComponents;\n`);
codes.push(`let __VLS_otherComponents!: NonNullable<typeof __VLS_internalComponent extends { components: infer C } ? C : {}> & typeof __VLS_componentsOption;\n`);
codes.push(`let __VLS_own!: __VLS_SelfComponent<typeof __VLS_name, typeof __VLS_internalComponent & typeof __VLS_publicComponent & (new () => { ${(0, shared_2.getSlotsPropertyName)(vueCompilerOptions.target)}: typeof __VLS_slots })>;\n`);
codes.push(`let __VLS_components!: typeof __VLS_otherComponents & Omit<typeof __VLS_own, keyof typeof __VLS_otherComponents>;\n`);
codes.push(`let __VLS_localComponents!: typeof __VLS_otherComponents & Omit<typeof __VLS_own, keyof typeof __VLS_otherComponents>;\n`);
codes.push(`let __VLS_components!: typeof __VLS_localComponents & __VLS_GlobalComponents & typeof __VLS_ctx;\n`); // for html completion, TS references...
/* Style Scoped */

@@ -740,0 +740,0 @@ codes.push('/* Style Scoped */\n');

@@ -10,4 +10,4 @@ export * from './generators/template';

export * as scriptRanges from './parsers/scriptRanges';
export * as sharedTypes from './utils/directorySharedTypes';
export * as sharedTypes from './utils/globalTypes';
export * from '@volar/language-core';
export * from '@volar/source-map';

@@ -27,5 +27,5 @@ "use strict";

exports.scriptRanges = require("./parsers/scriptRanges");
exports.sharedTypes = require("./utils/directorySharedTypes");
exports.sharedTypes = require("./utils/globalTypes");
__exportStar(require("@volar/language-core"), exports);
__exportStar(require("@volar/source-map"), exports);
//# sourceMappingURL=index.js.map

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

const sourceFile_1 = require("./sourceFile");
const sharedTypes = require("./utils/directorySharedTypes");
const sharedTypes = require("./utils/globalTypes");
const ts_1 = require("./utils/ts");

@@ -10,0 +10,0 @@ function createLanguage(compilerOptions = {}, _vueCompilerOptions = {}, ts = require('typescript'), codegenStack = false) {

{
"name": "@vue/language-core",
"version": "1.8.3",
"version": "1.8.4",
"main": "out/index.js",

@@ -16,4 +16,4 @@ "license": "MIT",

"dependencies": {
"@volar/language-core": "1.7.10",
"@volar/source-map": "1.7.10",
"@volar/language-core": "~1.8.0",
"@volar/source-map": "~1.8.0",
"@vue/compiler-dom": "^3.3.0",

@@ -38,3 +38,3 @@ "@vue/reactivity": "^3.3.0",

},
"gitHead": "a02e928ae3f3a255366cdb334ac6fb49c3237ae1"
"gitHead": "a62aa882911de149ae65f4c28eddfd93e1dee99d"
}

Sorry, the diff of this file is too big to display

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