@definitelytyped/header-parser
Advanced tools
Comparing version 0.0.141-next.1 to 0.0.141-next.2
@@ -6,3 +6,2 @@ "use strict"; | ||
const typescript_versions_1 = require("@definitelytyped/typescript-versions"); | ||
const assert = require("assert"); | ||
function makeTypesVersionsForPackageJson(typesVersions) { | ||
@@ -16,5 +15,3 @@ if (typesVersions.length === 0) { | ||
for (const version of oldestFirst) { | ||
const next = typescript_versions_1.TypeScriptVersion.next(version); | ||
assert(!!next, `ts${version} is too new: it covers all versions of typescript`); | ||
out[`<${next}.0-0`] = { "*": [`ts${version}/*`] }; | ||
out[`<=${version}`] = { "*": [`ts${version}/*`] }; | ||
} | ||
@@ -21,0 +18,0 @@ return out; |
{ | ||
"name": "@definitelytyped/header-parser", | ||
"version": "0.0.141-next.1", | ||
"version": "0.0.141-next.2", | ||
"description": "", | ||
@@ -30,3 +30,3 @@ "author": "Nathan Shively-Sanders <nathansa@microsoft.com>", | ||
}, | ||
"gitHead": "4aef52ee539028f35bfcb7c531cfd7348ee4879e" | ||
"gitHead": "f8069f30cb0679b41096872a5e59ba46778b23e3" | ||
} |
Sorry, the diff of this file is not supported yet
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
18669
218