TypeScript 4

pull/8362/head
Ben McCann 3 years ago
parent 2dea46b5d5
commit 61312c89db

14
package-lock.json generated

@ -48,7 +48,7 @@
"source-map-support": "^0.5.21", "source-map-support": "^0.5.21",
"tiny-glob": "^0.2.9", "tiny-glob": "^0.2.9",
"tslib": "^2.5.0", "tslib": "^2.5.0",
"typescript": "^3.7.5", "typescript": "^4.9.3",
"util": "^0.12.5" "util": "^0.12.5"
}, },
"engines": { "engines": {
@ -5043,9 +5043,9 @@
"dev": true "dev": true
}, },
"node_modules/typescript": { "node_modules/typescript": {
"version": "3.9.10", "version": "4.9.5",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz",
"integrity": "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==", "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==",
"dev": true, "dev": true,
"bin": { "bin": {
"tsc": "bin/tsc", "tsc": "bin/tsc",
@ -9216,9 +9216,9 @@
"dev": true "dev": true
}, },
"typescript": { "typescript": {
"version": "3.9.10", "version": "4.9.5",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz",
"integrity": "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==", "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==",
"dev": true "dev": true
}, },
"unbox-primitive": { "unbox-primitive": {

@ -158,7 +158,7 @@
"source-map-support": "^0.5.21", "source-map-support": "^0.5.21",
"tiny-glob": "^0.2.9", "tiny-glob": "^0.2.9",
"tslib": "^2.5.0", "tslib": "^2.5.0",
"typescript": "^3.7.5", "typescript": "^4.9.3",
"util": "^0.12.5" "util": "^0.12.5"
} }
} }

@ -1,5 +1,3 @@
// TODO: remove after https://github.com/jridgewell/trace-mapping/pull/24 has been merged
// @ts-expect-error Svelte 3's ancient TS version can't look up the types for this package properly yet
import { TraceMap, originalPositionFor } from '@jridgewell/trace-mapping'; import { TraceMap, originalPositionFor } from '@jridgewell/trace-mapping';
import { walk } from 'estree-walker'; import { walk } from 'estree-walker';
import { getLocator } from 'locate-character'; import { getLocator } from 'locate-character';

Loading…
Cancel
Save