@qiwi/substrate-abstract
Advanced tools
Comparing version 1.16.4 to 1.17.0
@@ -0,1 +1,17 @@ | ||
# @qiwi/substrate-abstract [1.17.0](https://github.com/qiwi/substrate/compare/@qiwi/substrate-abstract@1.16.4...@qiwi/substrate-abstract@1.17.0) (2019-11-28) | ||
### Features | ||
* add aliases for abstracts ([d453d31](https://github.com/qiwi/substrate/commit/d453d31ef32306ded9e4243cfe9f2fe4ecd7ff92)), closes [#15](https://github.com/qiwi/substrate/issues/15) | ||
* expose types and ifaces without T/I prefixes ([6238bda](https://github.com/qiwi/substrate/commit/6238bda7bbc13ecee620b8f1ebead1f6605a9b8c)), closes [#15](https://github.com/qiwi/substrate/issues/15) | ||
### Dependencies | ||
* **@qiwi/substrate-types:** upgraded to 1.18.0 | ||
## @qiwi/substrate-abstract [1.16.4](https://github.com/qiwi/substrate/compare/@qiwi/substrate-abstract@1.16.3...@qiwi/substrate-abstract@1.16.4) (2019-11-06) | ||
@@ -2,0 +18,0 @@ |
{ | ||
"name": "@qiwi/substrate-abstract", | ||
"description": "Abstract classes", | ||
"version": "1.16.4", | ||
"version": "1.17.0", | ||
"main": "target/es5/index.js", | ||
@@ -33,3 +33,4 @@ "source": "target/ts/index.ts", | ||
"jest": "jest --config=jest.config.json", | ||
"dtslint": "dtslint src/test/ts --localTs ../../node_modules/typescript/lib --expectOnly" | ||
"dtslint": "dtslint src/test/ts --localTs ../../node_modules/typescript/lib --expectOnly", | ||
"aliasgen": "node -r esm ../../scripts/js/alias-gen.js" | ||
}, | ||
@@ -44,9 +45,9 @@ "files": [ | ||
"@qiwi/uniconfig": "^3.2.1", | ||
"@types/bluebird": "^3.5.28", | ||
"@types/config": "^0.0.35", | ||
"@types/jest": "^24.0.22", | ||
"@types/lodash": "^4.14.144", | ||
"@types/node": "^12.12.6", | ||
"@types/bluebird": "^3.5.29", | ||
"@types/config": "^0.0.36", | ||
"@types/jest": "^24.0.23", | ||
"@types/lodash": "^4.14.149", | ||
"@types/node": "^12.12.14", | ||
"@types/parsimmon": "^1.10.0", | ||
"@types/underscore": "^1.9.3", | ||
"@types/underscore": "^1.9.4", | ||
"bluebird": "^3.7.1", | ||
@@ -56,3 +57,3 @@ "conf": "^6.2.0", | ||
"dts-generator": "^3.0.0", | ||
"dtslint": "^1.0.3", | ||
"dtslint": "^2.0.2", | ||
"flowgen": "^1.10.0", | ||
@@ -62,3 +63,3 @@ "lodash": "^4.17.15", | ||
"ts-loader": "^6.2.1", | ||
"ts-node": "^8.4.1", | ||
"ts-node": "^8.5.4", | ||
"ts-to-flow": "^0.0.3", | ||
@@ -68,4 +69,6 @@ "typescript": "3.7.2", | ||
}, | ||
"dependencies": {}, | ||
"dependencies": { | ||
"@qiwi/substrate-types": "^1.17.0" | ||
}, | ||
"peerDependencies": {} | ||
} |
@@ -9,3 +9,3 @@ export declare type IError = { | ||
}; | ||
export declare class AbstractError extends Error implements IError { | ||
export declare class AError extends Error implements IError { | ||
message: string; | ||
@@ -12,0 +12,0 @@ code?: string | number; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
var AbstractError = /** @class */ (function (_super) { | ||
tslib_1.__extends(AbstractError, _super); | ||
function AbstractError(message) { | ||
var AError = /** @class */ (function (_super) { | ||
tslib_1.__extends(AError, _super); | ||
function AError(message) { | ||
var _this = this; | ||
@@ -15,5 +15,5 @@ var opts = typeof message === 'string' | ||
} | ||
return AbstractError; | ||
return AError; | ||
}(Error)); | ||
exports.AbstractError = AbstractError; | ||
exports.AError = AError; | ||
//# sourceMappingURL=AError.js.map |
@@ -1,1 +0,2 @@ | ||
export * from './AError'; | ||
export * from './types'; | ||
export * from './aliases'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./AError"), exports); | ||
tslib_1.__exportStar(require("./types"), exports); | ||
tslib_1.__exportStar(require("./aliases"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -9,3 +9,3 @@ export declare type IError = { | ||
}; | ||
export declare class AbstractError extends Error implements IError { | ||
export declare class AError extends Error implements IError { | ||
message: string; | ||
@@ -12,0 +12,0 @@ code?: string | number; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
class AbstractError extends Error { | ||
class AError extends Error { | ||
constructor(message) { | ||
@@ -12,3 +12,3 @@ const opts = typeof message === 'string' | ||
} | ||
exports.AbstractError = AbstractError; | ||
exports.AError = AError; | ||
//# sourceMappingURL=AError.js.map |
@@ -1,1 +0,2 @@ | ||
export * from './AError'; | ||
export * from './types'; | ||
export * from './aliases'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./AError"), exports); | ||
tslib_1.__exportStar(require("./types"), exports); | ||
tslib_1.__exportStar(require("./aliases"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -11,3 +11,3 @@ export type IError = { | ||
export class AbstractError extends Error implements IError { | ||
export class AError extends Error implements IError { | ||
message: string | ||
@@ -14,0 +14,0 @@ code?: string | number |
@@ -1,1 +0,2 @@ | ||
export * from './AError' | ||
export * from './types' | ||
export * from './aliases' |
@@ -10,3 +10,3 @@ declare module '@qiwi/substrate-abstract/target/es5/AError' { | ||
}; | ||
export class AbstractError extends Error implements IError { | ||
export class AError extends Error implements IError { | ||
message: string; | ||
@@ -17,4 +17,11 @@ code?: string | number; | ||
} | ||
declare module '@qiwi/substrate-abstract/target/es5/aliases' { | ||
export { AError as AbstractError, IError as Error, IErrorOpts as ErrorOpts } from '@qiwi/substrate-abstract/target/es5/AError'; | ||
} | ||
declare module '@qiwi/substrate-abstract/target/es5/types' { | ||
export { AError, IError, IErrorOpts } from '@qiwi/substrate-abstract/target/es5/AError'; | ||
} | ||
declare module '@qiwi/substrate-abstract/target/es5/index' { | ||
export * from '@qiwi/substrate-abstract/target/es5/AError'; | ||
export * from '@qiwi/substrate-abstract/target/es5/types'; | ||
export * from '@qiwi/substrate-abstract/target/es5/aliases'; | ||
} | ||
@@ -21,0 +28,0 @@ declare module '@qiwi/substrate-abstract' { |
@@ -18,3 +18,3 @@ /** | ||
}; | ||
declare export class AbstractError mixins Error, IError { | ||
declare export class AError mixins Error, IError { | ||
message: string; | ||
@@ -26,4 +26,22 @@ code?: string | number; | ||
declare module "@qiwi/substrate-abstract/target/es5/aliases" { | ||
declare export { | ||
AError as AbstractError, | ||
IError as Error, | ||
IErrorOpts as ErrorOpts | ||
} from "@qiwi/substrate-abstract/target/es5/AError"; | ||
} | ||
declare module "@qiwi/substrate-abstract/target/es5/types" { | ||
declare export { | ||
AError, | ||
IError, | ||
IErrorOpts | ||
} from "@qiwi/substrate-abstract/target/es5/AError"; | ||
} | ||
declare module "@qiwi/substrate-abstract/target/es5/index" { | ||
declare export * from "@qiwi/substrate-abstract/target/es5/AError" | ||
declare export * from "@qiwi/substrate-abstract/target/es5/types" | ||
declare export * from "@qiwi/substrate-abstract/target/es5/aliases" | ||
} | ||
@@ -30,0 +48,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
12565
33
183
1
+ Added@qiwi/substrate-types@1.55.1(transitive)