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

typescript-svelte-plugin

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-svelte-plugin - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

7

dist/src/svelte-snapshots.js
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.SvelteSnapshotManager = exports.SvelteSnapshot = void 0;
const svelte2tsx_1 = __importDefault(require("svelte2tsx"));
const svelte2tsx_1 = require("svelte2tsx");
const source_mapper_1 = require("./source-mapper");

@@ -238,3 +235,3 @@ const utils_1 = require("./utils");

const isTsFile = true; // TODO check file contents? TS might be okay with importing ts into js.
const result = svelte2tsx_1.default(svelteCode, {
const result = svelte2tsx_1.svelte2tsx(svelteCode, {
filename: path.split('/').pop(),

@@ -241,0 +238,0 @@ isTsFile

{
"name": "typescript-svelte-plugin",
"version": "0.2.1",
"version": "0.2.2",
"description": "A TypeScript Plugin providing Svelte intellisense",

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

"dependencies": {
"svelte2tsx": "~0.2.0",
"svelte2tsx": "~0.3.0",
"sourcemap-codec": "^1.4.8"
}
}

@@ -36,1 +36,5 @@ # A TypeScript plugin for Svelte intellisense

Changes to Svelte files are only recognized after they are saved to disk.
## Credits
- [pushkine](https://github.com/pushkine) for his initial POC and the inspiration/discussion that stemmed from it
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