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

@volar/vue-language-core

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@volar/vue-language-core - npm Package Compare versions

Comparing version 1.2.2-alpha.2 to 1.3.0

12

out/languageModule.js

@@ -8,2 +8,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

function createLanguageModules(ts, compilerOptions, vueCompilerOptions) {
const patchSnapshots = new WeakMap();
patchResolveModuleNames(ts, vueCompilerOptions);

@@ -58,6 +59,9 @@ const vueLanguagePlugin = (0, plugins_1.getDefaultVueLanguagePlugins)(ts, compilerOptions, vueCompilerOptions);

basename === 'jsx.d.ts')) {
// allow arbitrary attributes
let tsScriptText = snapshot.getText(0, snapshot.getLength());
tsScriptText = tsScriptText.replace('type ReservedProps = {', 'type ReservedProps = { [name: string]: any');
snapshot = ts.ScriptSnapshot.fromString(tsScriptText);
if (!patchSnapshots.has(snapshot)) {
// allow arbitrary attributes
let tsScriptText = snapshot.getText(0, snapshot.getLength());
tsScriptText = tsScriptText.replace('type ReservedProps = {', 'type ReservedProps = { [name: string]: any');
patchSnapshots.set(snapshot, ts.ScriptSnapshot.fromString(tsScriptText));
}
snapshot = patchSnapshots.get(snapshot);
}

@@ -64,0 +68,0 @@ }

{
"name": "@volar/vue-language-core",
"version": "1.2.2-alpha.2",
"version": "1.3.0",
"main": "out/index.js",

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

"dependencies": {
"@volar/language-core": "1.4.0-alpha.1",
"@volar/source-map": "1.4.0-alpha.1",
"@volar/language-core": "1.4.0-alpha.2",
"@volar/source-map": "1.4.0-alpha.2",
"@vue/compiler-dom": "^3.2.47",

@@ -30,3 +30,3 @@ "@vue/compiler-sfc": "^3.2.47",

},
"gitHead": "2b2f0c453e04f9ada4a39154a3ef8edde664029c"
"gitHead": "3b8071daeaef32a01bb3c3220a5e7897607914fc"
}
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