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.2 to 1.1.3

4

dist/index.js

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

(0, typescript_1.decorateLanguageServiceHost)(virtualFiles, info.languageServiceHost, ts, ['.astro']);
// HACK: AutoImportProviderProject's script kind does not match the one of the language service host here
// this causes TypeScript to throw and crash. So, we'll fake being a TS file here for now until they fix it
const getScriptKind = info.languageServiceHost.getScriptKind?.bind(info.languageServiceHost.getScriptKind);

@@ -18,3 +20,3 @@ if (getScriptKind) {

if (fileName.endsWith('.astro')) {
return ts.ScriptKind.TSX;
return ts.ScriptKind.TS;
}

@@ -21,0 +23,0 @@ return getScriptKind(fileName);

{
"name": "@astrojs/ts-plugin",
"version": "1.1.2",
"version": "1.1.3",
"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