mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 13:30:28 +00:00
Deprecate types for packages that provide their own types (#34900)
This commit is contained in:
committed by
Wesley Wigham
parent
1d1bbccd34
commit
99c7e06f5e
@@ -834,6 +834,18 @@
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/empty-trash",
|
||||
"asOfVersion": "3.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "ensure-error",
|
||||
"typingsPackageName": "ensure-error",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/ensure-error",
|
||||
"asOfVersion": "2.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "env-editor",
|
||||
"typingsPackageName": "env-editor",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/env-editor",
|
||||
"asOfVersion": "0.4.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "env-paths",
|
||||
"typingsPackageName": "env-paths",
|
||||
@@ -858,6 +870,12 @@
|
||||
"sourceRepoURL": "https://github.com/jakearchibald/ES6-Promise",
|
||||
"asOfVersion": "3.3.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "escape-goat",
|
||||
"typingsPackageName": "escape-goat",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/escape-goat",
|
||||
"asOfVersion": "2.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "escape-string-regexp",
|
||||
"typingsPackageName": "escape-string-regexp",
|
||||
@@ -876,6 +894,18 @@
|
||||
"sourceRepoURL": "https://github.com/primus/eventemitter3",
|
||||
"asOfVersion": "2.0.2"
|
||||
},
|
||||
{
|
||||
"libraryName": "execall",
|
||||
"typingsPackageName": "execall",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/execall",
|
||||
"asOfVersion": "2.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "exit-hook",
|
||||
"typingsPackageName": "exit-hook",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/exit-hook",
|
||||
"asOfVersion": "2.2.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "expr-eval",
|
||||
"typingsPackageName": "expr-eval",
|
||||
@@ -894,6 +924,12 @@
|
||||
"sourceRepoURL": "https://github.com/code-chris/extended-listbox",
|
||||
"asOfVersion": "4.0.1"
|
||||
},
|
||||
{
|
||||
"libraryName": "extract-stack",
|
||||
"typingsPackageName": "extract-stack",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/extract-stack",
|
||||
"asOfVersion": "2.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "fast-diff",
|
||||
"typingsPackageName": "fast-diff",
|
||||
@@ -942,6 +978,12 @@
|
||||
"sourceRepoURL": "https://github.com/taylorhakes/fecha",
|
||||
"asOfVersion": "2.3.1"
|
||||
},
|
||||
{
|
||||
"libraryName": "figures",
|
||||
"typingsPackageName": "figures",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/figures",
|
||||
"asOfVersion": "3.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "file-type",
|
||||
"typingsPackageName": "file-type",
|
||||
@@ -1062,6 +1104,12 @@
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/get-port",
|
||||
"asOfVersion": "4.2.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "get-range",
|
||||
"typingsPackageName": "get-range",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/get-range",
|
||||
"asOfVersion": "2.0.1"
|
||||
},
|
||||
{
|
||||
"libraryName": "get-stdin",
|
||||
"typingsPackageName": "get-stdin",
|
||||
@@ -1212,6 +1260,12 @@
|
||||
"sourceRepoURL": "https://github.com/IGAWorksDev/homeworks/",
|
||||
"asOfVersion": "1.0.19"
|
||||
},
|
||||
{
|
||||
"libraryName": "html-tags",
|
||||
"typingsPackageName": "html-tags",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/html-tags",
|
||||
"asOfVersion": "3.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "http-status-codes",
|
||||
"typingsPackageName": "http-status-codes",
|
||||
@@ -1224,6 +1278,12 @@
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/humanize-string",
|
||||
"asOfVersion": "2.0.1"
|
||||
},
|
||||
{
|
||||
"libraryName": "humanize-url",
|
||||
"typingsPackageName": "humanize-url",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/humanize-url",
|
||||
"asOfVersion": "2.1.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "i18next-browser-languagedetector",
|
||||
"typingsPackageName": "i18next-browser-languagedetector",
|
||||
@@ -1272,6 +1332,12 @@
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/in-range",
|
||||
"asOfVersion": "2.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "indent-string",
|
||||
"typingsPackageName": "indent-string",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/indent-string",
|
||||
"asOfVersion": "4.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "interactjs",
|
||||
"typingsPackageName": "interact.js",
|
||||
@@ -1332,60 +1398,198 @@
|
||||
"sourceRepoURL": "http://ionicframework.com",
|
||||
"asOfVersion": "3.19.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "ip-regex",
|
||||
"typingsPackageName": "ip-regex",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/ip-regex",
|
||||
"asOfVersion": "4.1.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "ipify",
|
||||
"typingsPackageName": "ipify",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/ipify",
|
||||
"asOfVersion": "3.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-absolute-url",
|
||||
"typingsPackageName": "is-absolute-url",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-absolute-url",
|
||||
"asOfVersion": "3.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-archive",
|
||||
"typingsPackageName": "is-archive",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-archive",
|
||||
"asOfVersion": "2.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-array-sorted",
|
||||
"typingsPackageName": "is-array-sorted",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-array-sorted",
|
||||
"asOfVersion": "2.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-binary-path",
|
||||
"typingsPackageName": "is-binary-path",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-binary-path",
|
||||
"asOfVersion": "2.1.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-compressed",
|
||||
"typingsPackageName": "is-compressed",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-compressed",
|
||||
"asOfVersion": "2.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-docker",
|
||||
"typingsPackageName": "is-docker",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-docker",
|
||||
"asOfVersion": "2.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-elevated",
|
||||
"typingsPackageName": "is-elevated",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-elevated",
|
||||
"asOfVersion": "3.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-fullwidth-code-point",
|
||||
"typingsPackageName": "is-fullwidth-code-point",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-fullwidth-code-point",
|
||||
"asOfVersion": "3.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-image",
|
||||
"typingsPackageName": "is-image",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-image",
|
||||
"asOfVersion": "3.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-ip",
|
||||
"typingsPackageName": "is-ip",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-ip",
|
||||
"asOfVersion": "3.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-lower-case",
|
||||
"typingsPackageName": "is-lower-case",
|
||||
"sourceRepoURL": "https://github.com/blakeembrey/is-lower-case",
|
||||
"asOfVersion": "1.1.2"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-obj",
|
||||
"typingsPackageName": "is-obj",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-obj",
|
||||
"asOfVersion": "2.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-online",
|
||||
"typingsPackageName": "is-online",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-online",
|
||||
"asOfVersion": "8.1.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-path-cwd",
|
||||
"typingsPackageName": "is-path-cwd",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-path-cwd",
|
||||
"asOfVersion": "2.1.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-path-in-cwd",
|
||||
"typingsPackageName": "is-path-in-cwd",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-path-in-cwd",
|
||||
"asOfVersion": "2.1.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-plain-obj",
|
||||
"typingsPackageName": "is-plain-obj",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-plain-obj",
|
||||
"asOfVersion": "2.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-plain-object",
|
||||
"typingsPackageName": "is-plain-object",
|
||||
"sourceRepoURL": "https://github.com/jonschlinkert/is-plain-object",
|
||||
"asOfVersion": "2.0.4"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-png",
|
||||
"typingsPackageName": "is-png",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-png",
|
||||
"asOfVersion": "2.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-reachable",
|
||||
"typingsPackageName": "is-reachable",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-reachable",
|
||||
"asOfVersion": "3.1.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-regexp",
|
||||
"typingsPackageName": "is-regexp",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-regexp",
|
||||
"asOfVersion": "2.1.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-relative-url",
|
||||
"typingsPackageName": "is-relative-url",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-relative-url",
|
||||
"asOfVersion": "3.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-root",
|
||||
"typingsPackageName": "is-root",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-root",
|
||||
"asOfVersion": "2.1.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-root-path",
|
||||
"typingsPackageName": "is-root-path",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-root-path",
|
||||
"asOfVersion": "2.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-scoped",
|
||||
"typingsPackageName": "is-scoped",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-scoped",
|
||||
"asOfVersion": "2.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-stream",
|
||||
"typingsPackageName": "is-stream",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-stream",
|
||||
"asOfVersion": "2.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-svg",
|
||||
"typingsPackageName": "is-svg",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-svg",
|
||||
"asOfVersion": "4.0.1"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-text-path",
|
||||
"typingsPackageName": "is-text-path",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-text-path",
|
||||
"asOfVersion": "2.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-upper-case",
|
||||
"typingsPackageName": "is-upper-case",
|
||||
"sourceRepoURL": "https://github.com/blakeembrey/is-upper-case",
|
||||
"asOfVersion": "1.1.2"
|
||||
},
|
||||
{
|
||||
"libraryName": "is-url-superb",
|
||||
"typingsPackageName": "is-url-superb",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/is-url-superb",
|
||||
"asOfVersion": "3.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "issue-regex",
|
||||
"typingsPackageName": "issue-regex",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/issue-regex",
|
||||
"asOfVersion": "3.1.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "jasmine-expect",
|
||||
"typingsPackageName": "jasmine-expect",
|
||||
@@ -1440,6 +1644,12 @@
|
||||
"sourceRepoURL": "https://github.com/js-data/js-data-http",
|
||||
"asOfVersion": "3.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "js-types",
|
||||
"typingsPackageName": "js-types",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/js-types",
|
||||
"asOfVersion": "2.1.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "JSNLog",
|
||||
"typingsPackageName": "jsnlog",
|
||||
@@ -1488,6 +1698,12 @@
|
||||
"sourceRepoURL": "https://github.com/ErikSchierboom/knockout-pre-rendered",
|
||||
"asOfVersion": "0.7.1"
|
||||
},
|
||||
{
|
||||
"libraryName": "known",
|
||||
"typingsPackageName": "known",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/known",
|
||||
"asOfVersion": "3.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "koa-jwt",
|
||||
"typingsPackageName": "koa-jwt",
|
||||
@@ -1500,18 +1716,36 @@
|
||||
"sourceRepoURL": "https://github.com/elitechance/lambda-phi",
|
||||
"asOfVersion": "1.0.1"
|
||||
},
|
||||
{
|
||||
"libraryName": "latest-semver",
|
||||
"typingsPackageName": "latest-semver",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/latest-semver",
|
||||
"asOfVersion": "2.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "latest-version",
|
||||
"typingsPackageName": "latest-version",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/latest-version",
|
||||
"asOfVersion": "5.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "lazy-value",
|
||||
"typingsPackageName": "lazy-value",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/lazy-value",
|
||||
"asOfVersion": "2.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "ldclient-js",
|
||||
"typingsPackageName": "ldclient-js",
|
||||
"sourceRepoURL": "https://github.com/launchdarkly/js-client",
|
||||
"asOfVersion": "1.1.11"
|
||||
},
|
||||
{
|
||||
"libraryName": "leap-year",
|
||||
"typingsPackageName": "leap-year",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/leap-year",
|
||||
"asOfVersion": "3.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "left-pad",
|
||||
"typingsPackageName": "left-pad",
|
||||
@@ -1524,6 +1758,18 @@
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/leven",
|
||||
"asOfVersion": "3.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "linkify-issues",
|
||||
"typingsPackageName": "linkify-issues",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/linkify-issues",
|
||||
"asOfVersion": "2.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "linkify-urls",
|
||||
"typingsPackageName": "linkify-urls",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/linkify-urls",
|
||||
"asOfVersion": "3.1.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "Linq.JS",
|
||||
"typingsPackageName": "linq",
|
||||
@@ -1566,12 +1812,24 @@
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/locate-path",
|
||||
"asOfVersion": "4.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "lock-system",
|
||||
"typingsPackageName": "lock-system",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/lock-system",
|
||||
"asOfVersion": "2.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "lodash-decorators",
|
||||
"typingsPackageName": "lodash-decorators",
|
||||
"sourceRepoURL": "https://github.com/steelsojka/lodash-decorators",
|
||||
"asOfVersion": "4.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "log-symbols",
|
||||
"typingsPackageName": "log-symbols",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/log-symbols",
|
||||
"asOfVersion": "3.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "log-update",
|
||||
"typingsPackageName": "log-update",
|
||||
@@ -2490,6 +2748,12 @@
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/resolve-global",
|
||||
"asOfVersion": "1.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "resolve-pkg",
|
||||
"typingsPackageName": "resolve-pkg",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/resolve-pkg",
|
||||
"asOfVersion": "2.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "rest-io",
|
||||
"typingsPackageName": "rest-io",
|
||||
@@ -2736,6 +3000,12 @@
|
||||
"sourceRepoURL": "https://github.com/chalk/strip-ansi",
|
||||
"asOfVersion": "5.2.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "strip-indent",
|
||||
"typingsPackageName": "strip-indent",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/strip-indent",
|
||||
"asOfVersion": "3.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "striptags",
|
||||
"typingsPackageName": "striptags",
|
||||
@@ -2748,6 +3018,12 @@
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/subsume",
|
||||
"asOfVersion": "2.1.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "sudo-block",
|
||||
"typingsPackageName": "sudo-block",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/sudo-block",
|
||||
"asOfVersion": "3.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "Sugar",
|
||||
"typingsPackageName": "sugar",
|
||||
@@ -2802,6 +3078,12 @@
|
||||
"sourceRepoURL": "http://gcanti.github.io/tcomb/guide/index.html",
|
||||
"asOfVersion": "2.6.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "tempy",
|
||||
"typingsPackageName": "tempy",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/tempy",
|
||||
"asOfVersion": "0.3.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "terser",
|
||||
"typingsPackageName": "terser",
|
||||
@@ -2832,6 +3114,12 @@
|
||||
"sourceRepoURL": "https://github.com/blakeembrey/title-case",
|
||||
"asOfVersion": "1.1.2"
|
||||
},
|
||||
{
|
||||
"libraryName": "to-semver",
|
||||
"typingsPackageName": "to-semver",
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/to-semver",
|
||||
"asOfVersion": "2.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "trash",
|
||||
"typingsPackageName": "trash",
|
||||
@@ -2916,6 +3204,12 @@
|
||||
"sourceRepoURL": "https://github.com/blakeembrey/upper-case-first",
|
||||
"asOfVersion": "1.1.2"
|
||||
},
|
||||
{
|
||||
"libraryName": "url-regex",
|
||||
"typingsPackageName": "url-regex",
|
||||
"sourceRepoURL": "https://github.com/kevva/url-regex",
|
||||
"asOfVersion": "5.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "urllib",
|
||||
"typingsPackageName": "urllib",
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
import ensureError = require('ensure-error');
|
||||
|
||||
const error = new TypeError('🦄');
|
||||
|
||||
// $ExpectType TypeError
|
||||
ensureError(error);
|
||||
|
||||
// $ExpectType NonError
|
||||
ensureError(10);
|
||||
Vendored
-15
@@ -1,15 +0,0 @@
|
||||
// Type definitions for ensure-error 1.0
|
||||
// Project: https://github.com/sindresorhus/ensure-error#readme
|
||||
// Definitions by: BendingBender <https://github.com/BendingBender>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.8
|
||||
|
||||
export = ensureError;
|
||||
|
||||
declare function ensureError<T>(input: T): T extends Error ? T : ensureError.NonError;
|
||||
|
||||
declare namespace ensureError {
|
||||
interface NonError extends Error {
|
||||
name: 'NonError';
|
||||
}
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"ensure-error-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
@@ -1,8 +0,0 @@
|
||||
import * as envEditor from 'env-editor';
|
||||
|
||||
// $ExpectType Editor
|
||||
envEditor.get('sublime');
|
||||
// $ExpectType Editor
|
||||
envEditor.default();
|
||||
// $ExpectType Editor[]
|
||||
envEditor.all();
|
||||
Vendored
-17
@@ -1,17 +0,0 @@
|
||||
// Type definitions for env-editor 0.3
|
||||
// Project: https://github.com/sindresorhus/env-editor#readme
|
||||
// Definitions by: BendingBender <https://github.com/BendingBender>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export default function(): Editor;
|
||||
export function get(editor: string): Editor;
|
||||
export function all(): Editor[];
|
||||
|
||||
export interface Editor {
|
||||
id: string;
|
||||
name: string;
|
||||
bin: string;
|
||||
isTerminalEditor: boolean;
|
||||
paths: string[];
|
||||
keywords: string[];
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"env-editor-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
@@ -1,14 +0,0 @@
|
||||
import * as escapeGoat from 'escape-goat';
|
||||
|
||||
// $ExpectType string
|
||||
escapeGoat.escape('🦄 & 🐐');
|
||||
|
||||
// $ExpectType string
|
||||
escapeGoat.unescape('🦄 & 🐐');
|
||||
|
||||
// $ExpectType string
|
||||
escapeGoat.escape('Hello <em>World</em>');
|
||||
|
||||
const url = 'https://sindresorhus.com?x="🦄"';
|
||||
// $ExpectType string
|
||||
escapeGoat.escapeTag`<a href="${url}">Unicorn</a>`;
|
||||
Vendored
-9
@@ -1,9 +0,0 @@
|
||||
// Type definitions for escape-goat 1.3
|
||||
// Project: https://github.com/sindresorhus/escape-goat#readme
|
||||
// Definitions by: BendingBender <https://github.com/BendingBender>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export function escape(input: string): string;
|
||||
export function unescape(input: string): string;
|
||||
export function escapeTag(template: TemplateStringsArray, ...substitutions: any[]): string;
|
||||
export function unescapeTag(template: TemplateStringsArray, ...substitutions: any[]): string;
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"escape-goat-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
@@ -1,3 +0,0 @@
|
||||
import execall = require('execall');
|
||||
|
||||
execall(/(\d+)/g, '$200 and $400'); // $ExpectType Match[]
|
||||
Vendored
-23
@@ -1,23 +0,0 @@
|
||||
// Type definitions for execall 1.0
|
||||
// Project: https://github.com/sindresorhus/execall
|
||||
// Definitions by: BendingBender <https://github.com/BendingBender>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export = execall;
|
||||
|
||||
/**
|
||||
* Find multiple RegExp matches in a string. Instead of having to iterate over
|
||||
* `RegExp#exec`, immutable, and with a nicer result format.
|
||||
*
|
||||
* @param re Regular expression to match against the `input`.
|
||||
* @returns An array of matches.
|
||||
*/
|
||||
declare function execall(re: RegExp, input: string): execall.Match[];
|
||||
|
||||
declare namespace execall {
|
||||
interface Match {
|
||||
match: string;
|
||||
sub: string[];
|
||||
index: number;
|
||||
}
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"execall-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
@@ -1,4 +0,0 @@
|
||||
import exitHook = require('exit-hook');
|
||||
|
||||
exitHook(() => {
|
||||
});
|
||||
Vendored
-8
@@ -1,8 +0,0 @@
|
||||
// Type definitions for exit-hook 1.1
|
||||
// Project: https://github.com/sindresorhus/exit-hook
|
||||
// Definitions by: BendingBender <https://github.com/BendingBender>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export = exitHook;
|
||||
|
||||
declare function exitHook(cb: () => void): void;
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"exit-hook-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
@@ -1,8 +0,0 @@
|
||||
import extractStack = require('extract-stack');
|
||||
|
||||
const error = new Error('Missing unicorn');
|
||||
|
||||
extractStack(error); // $ExpectType string
|
||||
extractStack(error.stack); // $ExpectType string
|
||||
extractStack.lines(error); // $ExpectType string[]
|
||||
extractStack.lines(error.stack); // $ExpectType string[]
|
||||
Vendored
-12
@@ -1,12 +0,0 @@
|
||||
// Type definitions for extract-stack 1.0
|
||||
// Project: https://github.com/sindresorhus/extract-stack#readme
|
||||
// Definitions by: BendingBender <https://github.com/BendingBender>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export = extractStack;
|
||||
|
||||
declare function extractStack(input: Error | string | undefined): string;
|
||||
|
||||
declare namespace extractStack {
|
||||
function lines(input: Error | string | undefined): string[];
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"extract-stack-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
@@ -1,5 +0,0 @@
|
||||
import figures = require('figures');
|
||||
|
||||
let str: string;
|
||||
str = figures('✔︎ check');
|
||||
str = figures.tick;
|
||||
Vendored
-67
@@ -1,67 +0,0 @@
|
||||
// Type definitions for figures 2.0
|
||||
// Project: https://github.com/sindresorhus/figures#readme
|
||||
// Definitions by: BendingBender <https://github.com/BendingBender>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export = figures;
|
||||
|
||||
declare function figures(input: string): string;
|
||||
|
||||
declare namespace figures {
|
||||
const tick: string;
|
||||
const cross: string;
|
||||
const star: string;
|
||||
const square: string;
|
||||
const squareSmall: string;
|
||||
const squareSmallFilled: string;
|
||||
const play: string;
|
||||
const circle: string;
|
||||
const circleFilled: string;
|
||||
const circleDotted: string;
|
||||
const circleDouble: string;
|
||||
const circleCircle: string;
|
||||
const circleCross: string;
|
||||
const circlePipe: string;
|
||||
const circleQuestionMark: string;
|
||||
const bullet: string;
|
||||
const dot: string;
|
||||
const line: string;
|
||||
const ellipsis: string;
|
||||
const pointer: string;
|
||||
const pointerSmall: string;
|
||||
const info: string;
|
||||
const warning: string;
|
||||
const hamburger: string;
|
||||
const smiley: string;
|
||||
const mustache: string;
|
||||
const heart: string;
|
||||
const arrowUp: string;
|
||||
const arrowDown: string;
|
||||
const arrowLeft: string;
|
||||
const arrowRight: string;
|
||||
const radioOn: string;
|
||||
const radioOff: string;
|
||||
const checkboxOn: string;
|
||||
const checkboxOff: string;
|
||||
const checkboxCircleOn: string;
|
||||
const checkboxCircleOff: string;
|
||||
const questionMarkPrefix: string;
|
||||
const oneHalf: string;
|
||||
const oneThird: string;
|
||||
const oneQuarter: string;
|
||||
const oneFifth: string;
|
||||
const oneSixth: string;
|
||||
const oneSeventh: string;
|
||||
const oneEighth: string;
|
||||
const oneNinth: string;
|
||||
const oneTenth: string;
|
||||
const twoThirds: string;
|
||||
const twoFifths: string;
|
||||
const threeQuarters: string;
|
||||
const threeFifths: string;
|
||||
const threeEighths: string;
|
||||
const fourFifths: string;
|
||||
const fiveSixths: string;
|
||||
const fiveEighths: string;
|
||||
const sevenEighth: string;
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"figures-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
@@ -1,11 +0,0 @@
|
||||
import getRange = require('get-range');
|
||||
|
||||
for (const i of getRange(4)) {
|
||||
}
|
||||
|
||||
const r = getRange(0, 4, 2);
|
||||
r.next().value;
|
||||
r.next().value;
|
||||
|
||||
getRange(0, -5);
|
||||
getRange(0, -5, -1);
|
||||
Vendored
-15
@@ -1,15 +0,0 @@
|
||||
// Type definitions for get-range 1.0
|
||||
// Project: https://github.com/sindresorhus/get-range#readme
|
||||
// Definitions by: BendingBender <https://github.com/BendingBender>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export = getRange;
|
||||
|
||||
// tslint:disable:unified-signatures
|
||||
|
||||
declare function getRange(stop: number): Iterator<number> & Iterable<number>;
|
||||
declare function getRange(
|
||||
start: number,
|
||||
stop: number,
|
||||
step?: number
|
||||
): Iterator<number> & Iterable<number>;
|
||||
@@ -1,24 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"target": "es6",
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"get-range-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
@@ -1,9 +0,0 @@
|
||||
import htmlTags = require('html-tags');
|
||||
import voidHtmlTags = require('html-tags/void');
|
||||
import htmlTagsJson = require('html-tags/html-tags.json');
|
||||
import voidHtmlTagsJson = require('html-tags/html-tags-void.json');
|
||||
|
||||
htmlTags; // $ExpectType string[]
|
||||
voidHtmlTags; // $ExpectType string[]
|
||||
htmlTagsJson; // $ExpectType string[]
|
||||
voidHtmlTagsJson; // $ExpectType string[]
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
export = voidHtmlTags;
|
||||
|
||||
declare const voidHtmlTags: string[];
|
||||
Vendored
-3
@@ -1,3 +0,0 @@
|
||||
export = htmlTags;
|
||||
|
||||
declare const htmlTags: string[];
|
||||
Vendored
-8
@@ -1,8 +0,0 @@
|
||||
// Type definitions for html-tags 2.0
|
||||
// Project: https://github.com/sindresorhus/html-tags#readme
|
||||
// Definitions by: BendingBender <https://github.com/BendingBender>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export = htmlTags;
|
||||
|
||||
declare const htmlTags: string[];
|
||||
@@ -1,26 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"void.d.ts",
|
||||
"html-tags.json.d.ts",
|
||||
"html-tags-void.json.d.ts",
|
||||
"html-tags-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Vendored
-3
@@ -1,3 +0,0 @@
|
||||
export = voidHtmlTags;
|
||||
|
||||
declare const voidHtmlTags: string[];
|
||||
@@ -1,4 +0,0 @@
|
||||
import humanizeUrl = require('humanize-url');
|
||||
|
||||
// $ExpectType string
|
||||
humanizeUrl('https://www.sindresorhus.com/');
|
||||
Vendored
-8
@@ -1,8 +0,0 @@
|
||||
// Type definitions for humanize-url 2.0
|
||||
// Project: https://github.com/sindresorhus/humanize-url#readme
|
||||
// Definitions by: BendingBender <https://github.com/BendingBender>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export = humanizeUrl;
|
||||
|
||||
declare function humanizeUrl(url: string): string;
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"humanize-url-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
@@ -1,13 +0,0 @@
|
||||
import indentString = require('indent-string');
|
||||
|
||||
// $ExpectType string
|
||||
indentString('Unicorns\nRainbows');
|
||||
indentString('Unicorns\nRainbows', 4);
|
||||
// => ' Unicorns'
|
||||
// => ' Rainbows'
|
||||
|
||||
indentString('Unicorns\nRainbows', 4, '♥');
|
||||
// => '♥♥♥♥Unicorns'
|
||||
// => '♥♥♥♥Rainbows'
|
||||
indentString('Unicorns\nRainbows', 4, { indent: '♥' });
|
||||
indentString('Unicorns\nRainbows', 4, { includeEmptyLines: true });
|
||||
Vendored
-20
@@ -1,20 +0,0 @@
|
||||
// Type definitions for indent-string 3.2
|
||||
// Project: https://github.com/sindresorhus/indent-string#readme
|
||||
// Definitions by: Mohamed Hegazy <https://github.com/mhegazy>
|
||||
// BendingBender <https://github.com/BendingBender>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export = indentString;
|
||||
|
||||
declare function indentString(
|
||||
str: string,
|
||||
count?: number,
|
||||
indent?: string | indentString.Options
|
||||
): string;
|
||||
|
||||
declare namespace indentString {
|
||||
interface Options {
|
||||
indent?: string;
|
||||
includeEmptyLines?: boolean;
|
||||
}
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"indent-string-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Vendored
-16
@@ -1,16 +0,0 @@
|
||||
// Type definitions for ip-regex 3.0
|
||||
// Project: https://github.com/sindresorhus/ip-regex
|
||||
// Definitions by: Renārs Vilnis <https://github.com/renarsvilnis>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare function ip(options?: ip.IpRegexOptions): RegExp;
|
||||
|
||||
declare namespace ip {
|
||||
interface IpRegexOptions {
|
||||
exact?: boolean;
|
||||
}
|
||||
|
||||
function v4(options?: IpRegexOptions): RegExp;
|
||||
function v6(options?: IpRegexOptions): RegExp;
|
||||
}
|
||||
export = ip;
|
||||
@@ -1,13 +0,0 @@
|
||||
import ipRegex = require('ip-regex');
|
||||
|
||||
ipRegex().test('unicorn 192.168.0.1 cake 1:2:3:4:5:6:7:8 rainbow');
|
||||
ipRegex({exact: true}).test('unicorn 192.168.0.1 cake 1:2:3:4:5:6:7:8 rainbow');
|
||||
'unicorn 192.168.0.1 cake 1:2:3:4:5:6:7:8 rainbow'.match(ipRegex());
|
||||
|
||||
ipRegex.v4().test('unicorn 192.168.0.1');
|
||||
ipRegex.v4({exact: true}).test('unicorn 192.168.0.1');
|
||||
'unicorn 192.168.0.1'.match(ipRegex.v4());
|
||||
|
||||
ipRegex.v6().test('cake 1:2:3:4:5:6:7:8 rainbow');
|
||||
ipRegex.v6({exact: true}).test('cake 1:2:3:4:5:6:7:8 rainbow');
|
||||
'cake 1:2:3:4:5:6:7:8 rainbow'.match(ipRegex.v6());
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"ip-regex-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Vendored
-12
@@ -1,12 +0,0 @@
|
||||
// Type definitions for ip-regex 2.0
|
||||
// Project: https://github.com/sindresorhus/ip-regex
|
||||
// Definitions by: Daniel Perez Alvarez <https://github.com/unindented>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/** Regular expression for matching IP addresses (IPv4 & IPv6). */
|
||||
declare function ipRegex(options?: {
|
||||
/** Only match an exact string. Useful with RegExp#test to check if a string is an IP address. */
|
||||
exact?: boolean;
|
||||
}): RegExp;
|
||||
|
||||
export = ipRegex;
|
||||
@@ -1,7 +0,0 @@
|
||||
import ipRegex = require('ip-regex');
|
||||
|
||||
ipRegex().test('unicorn 192.168.0.1');
|
||||
|
||||
ipRegex({exact: true}).test('unicorn 192.168.0.1');
|
||||
|
||||
'unicorn 192.168.0.1 cake 1:2:3:4:5:6:7:8 rainbow'.match(ipRegex());
|
||||
@@ -1,28 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../../",
|
||||
"typeRoots": [
|
||||
"../../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"paths": {
|
||||
"ip-regex": [
|
||||
"ip-regex/v2"
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"ip-regex-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Vendored
-8
@@ -1,8 +0,0 @@
|
||||
// Type definitions for ipify 2.0
|
||||
// Project: https://github.com/sindresorhus/ipify#readme
|
||||
// Definitions by: BendingBender <https://github.com/BendingBender>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export = ipify;
|
||||
|
||||
declare function ipify(endpoint?: string): Promise<string>;
|
||||
@@ -1,4 +0,0 @@
|
||||
import ipify = require('ipify');
|
||||
|
||||
// $ExpectType Promise<string>
|
||||
ipify();
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"ipify-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Vendored
-7
@@ -1,7 +0,0 @@
|
||||
// Type definitions for is-archive 1.0
|
||||
// Project: https://github.com/sindresorhus/is-archive
|
||||
// Definitions by: Mohamed Hegazy <https://github.com/mhegazy>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export = is_archive;
|
||||
declare function is_archive(filepath: string): boolean;
|
||||
@@ -1,7 +0,0 @@
|
||||
import isArchive = require('is-archive');
|
||||
|
||||
isArchive('src/unicorn.zip');
|
||||
// => true
|
||||
|
||||
isArchive('src/unicorn.txt');
|
||||
// => false
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"is-archive-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Vendored
-11
@@ -1,11 +0,0 @@
|
||||
// Type definitions for is-array-sorted 1.0
|
||||
// Project: https://github.com/sindresorhus/is-array-sorted#readme
|
||||
// Definitions by: BendingBender <https://github.com/BendingBender>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export = isArraySorted;
|
||||
|
||||
declare function isArraySorted<T>(
|
||||
array: ReadonlyArray<T>,
|
||||
comparator?: (a: T, b: T) => number
|
||||
): boolean;
|
||||
@@ -1,6 +0,0 @@
|
||||
import isArraySorted = require('is-array-sorted');
|
||||
|
||||
// $ExpectType boolean
|
||||
isArraySorted([1, 2, 3]);
|
||||
// $ExpectType boolean
|
||||
isArraySorted(['a', 'b', 'c'], (a, b) => a.localeCompare(b));
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"is-array-sorted-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Vendored
-7
@@ -1,7 +0,0 @@
|
||||
// Type definitions for is-binary-path 2.0
|
||||
// Project: https://github.com/sindresorhus/is-binary-path
|
||||
// Definitions by: Daniel Rosenwasser <https://github.com/DanielRosenwasser>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export = is_binary_path;
|
||||
declare function is_binary_path(filepath: string): boolean;
|
||||
@@ -1,5 +0,0 @@
|
||||
import isBinaryPath = require("is-binary-path");
|
||||
|
||||
const a: boolean = isBinaryPath("src/unicorn.png");
|
||||
|
||||
const b: boolean = isBinaryPath("src/unicorn.txt");
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"is-binary-path-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Vendored
-7
@@ -1,7 +0,0 @@
|
||||
// Type definitions for is-compressed 1.0
|
||||
// Project: https://github.com/sindresorhus/is-compressed
|
||||
// Definitions by: Mohamed Hegazy <https://github.com/mhegazy>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export = is_compressed;
|
||||
declare function is_compressed(filepath: string): boolean;
|
||||
@@ -1,7 +0,0 @@
|
||||
import isCompressed = require('is-compressed');
|
||||
|
||||
isCompressed('src/unicorn.zip');
|
||||
// => true
|
||||
|
||||
isCompressed('src/unicorn.txt');
|
||||
// => false
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"is-compressed-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Vendored
-8
@@ -1,8 +0,0 @@
|
||||
// Type definitions for is-docker 1.1
|
||||
// Project: https://github.com/sindresorhus/is-docker#readme
|
||||
// Definitions by: Yash Kulshrestha <https://github.com/YashdalfTheGray>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.7
|
||||
|
||||
declare function isDocker(): boolean;
|
||||
export = isDocker;
|
||||
@@ -1,3 +0,0 @@
|
||||
import isDocker from "is-docker";
|
||||
|
||||
isDocker(); // $ExpectType boolean
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": ["es6"],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": ["../"],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"strictFunctionTypes": true,
|
||||
"esModuleInterop": true
|
||||
},
|
||||
"files": ["index.d.ts", "is-docker-tests.ts"]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Vendored
-8
@@ -1,8 +0,0 @@
|
||||
// Type definitions for is-elevated 2.0
|
||||
// Project: https://github.com/sindresorhus/is-elevated#readme
|
||||
// Definitions by: BendingBender <https://github.com/BendingBender>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export = isElevated;
|
||||
|
||||
declare function isElevated(): Promise<boolean>;
|
||||
@@ -1,3 +0,0 @@
|
||||
import isElevated = require('is-elevated');
|
||||
|
||||
isElevated(); // $ExpectType Promise<boolean>
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"is-elevated-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Vendored
-8
@@ -1,8 +0,0 @@
|
||||
// Type definitions for is-image 2.0
|
||||
// Project: https://github.com/sindresorhus/is-image#readme
|
||||
// Definitions by: Denis Frezzato <https://github.com/DenisFrezzato>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export = isImage;
|
||||
|
||||
declare function isImage(filepath: string): boolean;
|
||||
@@ -1,3 +0,0 @@
|
||||
import isImage = require('is-image');
|
||||
|
||||
const res: boolean = isImage('/path/to/img.png');
|
||||
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": ["es6"],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": ["../"],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": ["index.d.ts", "is-image-tests.ts"]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Vendored
-17
@@ -1,17 +0,0 @@
|
||||
// Type definitions for is-ip 2.0
|
||||
// Project: https://github.com/sindresorhus/is-ip#readme
|
||||
// Definitions by: coderslagoon <https://github.com/coderslagoon>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/** Check if input is IPv4 or IPv6. */
|
||||
declare function isIp(input: string): boolean;
|
||||
|
||||
declare namespace isIp {
|
||||
/** Check if input is IPv4. */
|
||||
function v4(input: string): boolean;
|
||||
|
||||
/** Check if input is IPv6. */
|
||||
function v6(input: string): boolean;
|
||||
}
|
||||
|
||||
export = isIp;
|
||||
@@ -1,28 +0,0 @@
|
||||
import * as isIp from "is-ip";
|
||||
|
||||
isIp("nope");
|
||||
// => false
|
||||
|
||||
isIp("127.0.0.1");
|
||||
// => true
|
||||
|
||||
isIp("0.0.0.0");
|
||||
// => true
|
||||
|
||||
isIp("127.0.0.256");
|
||||
// => false
|
||||
|
||||
isIp.v4("127.0.0.1");
|
||||
// => true
|
||||
|
||||
isIp.v4("1:2:3:4:5:6:7:8");
|
||||
// => false
|
||||
|
||||
isIp.v6("1:2:3:4:5:6:7:8");
|
||||
// => true
|
||||
|
||||
isIp.v6("::");
|
||||
// => true
|
||||
|
||||
isIp.v6("127.0.0.1");
|
||||
// => false
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"is-ip-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Vendored
-9
@@ -1,9 +0,0 @@
|
||||
// Type definitions for is-obj 1.0
|
||||
// Project: https://github.com/sindresorhus/is-obj#readme
|
||||
// Definitions by: Emily Marigold Klassen <https://github.com/forivall>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
|
||||
export = isObj;
|
||||
|
||||
declare function isObj(x: any): x is object;
|
||||
@@ -1,10 +0,0 @@
|
||||
import isObj = require('is-obj');
|
||||
|
||||
isObj({foo: 'bar'});
|
||||
// => true
|
||||
|
||||
isObj([1, 2, 3]);
|
||||
// => true
|
||||
|
||||
isObj('foo');
|
||||
// => false
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"is-obj-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Vendored
-7
@@ -1,7 +0,0 @@
|
||||
// Type definitions for is-path-cwd 1.0
|
||||
// Project: https://github.com/sindresorhus/is-path-cwd
|
||||
// Definitions by: Daniel Rosenwasser <https://github.com/DanielRosenwasser>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare function isPathCwd(path: string): boolean;
|
||||
export = isPathCwd;
|
||||
@@ -1,3 +0,0 @@
|
||||
import isPathCwd = require("is-path-cwd");
|
||||
|
||||
isPathCwd("unicorn");
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"is-path-cwd-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user