Socket
Socket
Sign inDemoInstall

@definitelytyped/typescript-versions

Package Overview
Dependencies
Maintainers
7
Versions
201
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@definitelytyped/typescript-versions - npm Package Compare versions

Comparing version 0.0.131 to 0.0.132-next.0

1

dist/index.d.ts

@@ -25,4 +25,5 @@ /** Parseable but unsupported TypeScript versions. */

function previous(v: TypeScriptVersion): TypeScriptVersion | undefined;
function next(v: TypeScriptVersion): TypeScriptVersion | undefined;
function isRedirectable(v: TypeScriptVersion): boolean;
function isTypeScriptVersion(str: string): str is TypeScriptVersion;
}

@@ -66,2 +66,8 @@ "use strict";

TypeScriptVersion.previous = previous;
function next(v) {
const index = TypeScriptVersion.supported.indexOf(v);
(0, assert_1.default)(index !== -1);
return index === TypeScriptVersion.supported.length - 1 ? undefined : TypeScriptVersion.supported[index + 1];
}
TypeScriptVersion.next = next;
function isRedirectable(v) {

@@ -68,0 +74,0 @@ return TypeScriptVersion.all.indexOf(v) >= TypeScriptVersion.all.indexOf("3.1");

4

package.json
{
"name": "@definitelytyped/typescript-versions",
"version": "0.0.131",
"version": "0.0.132-next.0",
"description": "List of supported TypeScript versions",

@@ -20,3 +20,3 @@ "author": "Andrew Branch <andrew@wheream.io>",

},
"gitHead": "cacfc21aef946b7f00d88c4ccded1b22256aae13"
"gitHead": "b7bd52abf7cd346baa74e50ef7b6263285d9119d"
}

Sorry, the diff of this file is not supported yet

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