typescript-svelte-plugin
Advanced tools
Comparing version 0.2.1 to 0.2.2
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40
47612
1079
+ Addedsvelte2tsx@0.3.0(transitive)
- Removedsvelte2tsx@0.2.1(transitive)
Updatedsvelte2tsx@~0.3.0