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

@astrojs/ts-plugin

Package Overview
Dependencies
Maintainers
3
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@astrojs/ts-plugin - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

9

dist/index.js

@@ -13,2 +13,11 @@ "use strict";

(0, typescript_1.decorateLanguageServiceHost)(virtualFiles, info.languageServiceHost, ts, ['.astro']);
const getScriptKind = info.languageServiceHost.getScriptKind?.bind(info.languageServiceHost.getScriptKind);
if (getScriptKind) {
info.languageServiceHost.getScriptKind = (fileName) => {
if (fileName.endsWith('.astro')) {
return ts.ScriptKind.TSX;
}
return getScriptKind(fileName);
};
}
return info.languageService;

@@ -15,0 +24,0 @@ },

2

package.json
{
"name": "@astrojs/ts-plugin",
"version": "1.1.1",
"version": "1.1.2",
"description": "A TypeScript Plugin providing Astro intellisense",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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