diff --git a/notNeededPackages.json b/notNeededPackages.json index 220f79c24e..82fad099af 100644 --- a/notNeededPackages.json +++ b/notNeededPackages.json @@ -270,6 +270,18 @@ "sourceRepoURL": "http://easystarjs.com/", "asOfVersion": "0.3.1" }, + { + "libraryName": "easy-x-headers", + "typingsPackageName": "easy-x-headers", + "sourceRepoURL": "https://github.com/DeadAlready/easy-x-headers", + "asOfVersion": "1.0.0" + }, + { + "libraryName": "easy-xapi-supertest", + "typingsPackageName": "easy-xapi-supertest", + "sourceRepoURL": "https://github.com/DeadAlready/easy-xapi-supertest", + "asOfVersion": "1.0.0" + }, { "libraryName": "ecmarkup", "typingsPackageName": "ecmarkup", diff --git a/types/easy-x-headers/easy-x-headers-tests.ts b/types/easy-x-headers/easy-x-headers-tests.ts deleted file mode 100644 index 6887570225..0000000000 --- a/types/easy-x-headers/easy-x-headers-tests.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Created by karl on 14/07/15. - */ - - - - -import express = require('express'); -import xHeaders = require('easy-x-headers'); - -var app = express(); -app.use(xHeaders.getMiddleware()); - -app.get('/', function (req, res) { - res.json(req.info); -}); diff --git a/types/easy-x-headers/index.d.ts b/types/easy-x-headers/index.d.ts deleted file mode 100644 index 1dffb8adc8..0000000000 --- a/types/easy-x-headers/index.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -// Type definitions for easy-x-headers -// Project: https://github.com/DeadAlready/easy-x-headers -// Definitions by: Karl Düüna -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 - -/// - -declare namespace Express { - export interface Request { - info: any; - } -} - -declare module "easy-x-headers" { - import express = require('express'); - - export function getMiddleware(defaults?: Object): express.RequestHandler; -} diff --git a/types/easy-x-headers/tsconfig.json b/types/easy-x-headers/tsconfig.json deleted file mode 100644 index e2b2378af6..0000000000 --- a/types/easy-x-headers/tsconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": false, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "easy-x-headers-tests.ts" - ] -} \ No newline at end of file diff --git a/types/easy-x-headers/tslint.json b/types/easy-x-headers/tslint.json deleted file mode 100644 index a41bf5d19a..0000000000 --- a/types/easy-x-headers/tslint.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "extends": "dtslint/dt.json", - "rules": { - "adjacent-overload-signatures": false, - "array-type": false, - "arrow-return-shorthand": false, - "ban-types": false, - "callable-types": false, - "comment-format": false, - "dt-header": false, - "eofline": false, - "export-just-namespace": false, - "import-spacing": false, - "interface-name": false, - "interface-over-type-literal": false, - "jsdoc-format": false, - "max-line-length": false, - "member-access": false, - "new-parens": false, - "no-any-union": false, - "no-boolean-literal-compare": false, - "no-conditional-assignment": false, - "no-consecutive-blank-lines": false, - "no-construct": false, - "no-declare-current-package": false, - "no-duplicate-imports": false, - "no-duplicate-variable": false, - "no-empty-interface": false, - "no-for-in-array": false, - "no-inferrable-types": false, - "no-internal-module": false, - "no-irregular-whitespace": false, - "no-mergeable-namespace": false, - "no-misused-new": false, - "no-namespace": false, - "no-object-literal-type-assertion": false, - "no-padding": false, - "no-redundant-jsdoc": false, - "no-redundant-jsdoc-2": false, - "no-redundant-undefined": false, - "no-reference-import": false, - "no-relative-import-in-test": false, - "no-self-import": false, - "no-single-declare-module": false, - "no-string-throw": false, - "no-unnecessary-callback-wrapper": false, - "no-unnecessary-class": false, - "no-unnecessary-generics": false, - "no-unnecessary-qualifier": false, - "no-unnecessary-type-assertion": false, - "no-useless-files": false, - "no-var-keyword": false, - "no-var-requires": false, - "no-void-expression": false, - "no-trailing-whitespace": false, - "object-literal-key-quotes": false, - "object-literal-shorthand": false, - "one-line": false, - "one-variable-per-declaration": false, - "only-arrow-functions": false, - "prefer-conditional-expression": false, - "prefer-const": false, - "prefer-declare-function": false, - "prefer-for-of": false, - "prefer-method-signature": false, - "prefer-template": false, - "radix": false, - "semicolon": false, - "space-before-function-paren": false, - "space-within-parens": false, - "strict-export-declare-modifiers": false, - "trim-file": false, - "triple-equals": false, - "typedef-whitespace": false, - "unified-signatures": false, - "void-return": false, - "whitespace": false - } -} diff --git a/types/easy-xapi-supertest/easy-xapi-supertest-tests.ts b/types/easy-xapi-supertest/easy-xapi-supertest-tests.ts deleted file mode 100644 index 76dad2c8f8..0000000000 --- a/types/easy-xapi-supertest/easy-xapi-supertest-tests.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * Created by karl on 14/07/15. - */ - - - -import express = require('express'); -import eSupertest = require('easy-xapi-supertest'); - -var app = express(); - -var getAgent = eSupertest.getAgentFactory(app); - -var agent = getAgent({ - user: 'Jack', - role: 'user' -}); - -var getAgent2 = eSupertest.getAgentFactory(app, function (user:string, role?:string) { - return { - user: user, - role: role || 'user' - } -}); - -var agent = getAgent2('Jack'); diff --git a/types/easy-xapi-supertest/index.d.ts b/types/easy-xapi-supertest/index.d.ts deleted file mode 100644 index 6f8b6764fd..0000000000 --- a/types/easy-xapi-supertest/index.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -// Type definitions for easy-x-headers -// Project: https://github.com/DeadAlready/easy-x-headers -// Definitions by: Karl Düüna -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 - - - - -import express = require('express'); - -export interface BodyAgent { - send(data: Object): any; - attach(arg1: any, arg2?: any): any; -} - -export interface Agent { - get(url: string): any; - delete(url: string): any; - post(url: string): BodyAgent; - patch(url: string): BodyAgent; - put(url: string): BodyAgent; -} - -interface getAgent { - (...args: any[]): Agent -} - -export declare function getAgentFactory(app: express.Application, transform?: Function): getAgent; diff --git a/types/easy-xapi-supertest/tsconfig.json b/types/easy-xapi-supertest/tsconfig.json deleted file mode 100644 index 91c132409e..0000000000 --- a/types/easy-xapi-supertest/tsconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": false, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "easy-xapi-supertest-tests.ts" - ] -} \ No newline at end of file diff --git a/types/easy-xapi-supertest/tslint.json b/types/easy-xapi-supertest/tslint.json deleted file mode 100644 index a41bf5d19a..0000000000 --- a/types/easy-xapi-supertest/tslint.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "extends": "dtslint/dt.json", - "rules": { - "adjacent-overload-signatures": false, - "array-type": false, - "arrow-return-shorthand": false, - "ban-types": false, - "callable-types": false, - "comment-format": false, - "dt-header": false, - "eofline": false, - "export-just-namespace": false, - "import-spacing": false, - "interface-name": false, - "interface-over-type-literal": false, - "jsdoc-format": false, - "max-line-length": false, - "member-access": false, - "new-parens": false, - "no-any-union": false, - "no-boolean-literal-compare": false, - "no-conditional-assignment": false, - "no-consecutive-blank-lines": false, - "no-construct": false, - "no-declare-current-package": false, - "no-duplicate-imports": false, - "no-duplicate-variable": false, - "no-empty-interface": false, - "no-for-in-array": false, - "no-inferrable-types": false, - "no-internal-module": false, - "no-irregular-whitespace": false, - "no-mergeable-namespace": false, - "no-misused-new": false, - "no-namespace": false, - "no-object-literal-type-assertion": false, - "no-padding": false, - "no-redundant-jsdoc": false, - "no-redundant-jsdoc-2": false, - "no-redundant-undefined": false, - "no-reference-import": false, - "no-relative-import-in-test": false, - "no-self-import": false, - "no-single-declare-module": false, - "no-string-throw": false, - "no-unnecessary-callback-wrapper": false, - "no-unnecessary-class": false, - "no-unnecessary-generics": false, - "no-unnecessary-qualifier": false, - "no-unnecessary-type-assertion": false, - "no-useless-files": false, - "no-var-keyword": false, - "no-var-requires": false, - "no-void-expression": false, - "no-trailing-whitespace": false, - "object-literal-key-quotes": false, - "object-literal-shorthand": false, - "one-line": false, - "one-variable-per-declaration": false, - "only-arrow-functions": false, - "prefer-conditional-expression": false, - "prefer-const": false, - "prefer-declare-function": false, - "prefer-for-of": false, - "prefer-method-signature": false, - "prefer-template": false, - "radix": false, - "semicolon": false, - "space-before-function-paren": false, - "space-within-parens": false, - "strict-export-declare-modifiers": false, - "trim-file": false, - "triple-equals": false, - "typedef-whitespace": false, - "unified-signatures": false, - "void-return": false, - "whitespace": false - } -}