@qiwi/substrate-abstract
Advanced tools
Comparing version 1.0.0 to 1.16.1
@@ -1,2 +0,2 @@ | ||
# @qiwi/substrate-abstract 1.0.0 (2019-10-25) | ||
## @qiwi/substrate-abstract [1.16.1](https://github.com/qiwi/substrate/compare/@qiwi/substrate-abstract@1.16.0...@qiwi/substrate-abstract@1.16.1) (2019-10-26) | ||
@@ -6,7 +6,3 @@ | ||
* **types:** handle Symbol.toStringTag ([93e4068](https://github.com/qiwi/substrate/commit/93e4068fa042cc79a6bd79ecc7d876812067c40d)), closes [#59](https://github.com/qiwi/substrate/issues/59) | ||
### Features | ||
* add package for abstracts ([85d01b9](https://github.com/qiwi/substrate/commit/85d01b9e6c0531941848bc8282db510c320599bc)) | ||
* **facade:** remove redundant typings refs ([f7121ce](https://github.com/qiwi/substrate/commit/f7121ce8e639d17fb3225bfb3c2c7babdbd26a0e)) | ||
* change typings ref for TS > 3.1 ([2f56e35](https://github.com/qiwi/substrate/commit/2f56e35c629d140c6c399c7dcf1f433de26daf3f)) |
{ | ||
"name": "@qiwi/substrate-abstract", | ||
"description": "Abstract classes", | ||
"version": "1.0.0", | ||
"version": "1.16.1", | ||
"main": "target/es5/index.js", | ||
"types": "typings/index.d.ts", | ||
"source": "target/ts/index.ts", | ||
"types": "target/es5/index.d.ts", | ||
"typescript": { | ||
"definition": "target/es5/index.d.ts" | ||
}, | ||
"typesVersions": { | ||
">=3.1": { | ||
"*": [ | ||
"typings/index.d.ts", | ||
"target/es5/index.d.ts", | ||
"src/test/ts/*" | ||
@@ -23,4 +27,4 @@ ] | ||
"libdef": "yarn dtsgen && yarn libdeffix && yarn flowgen", | ||
"libdeffix": "node -r esm ../../scripts/libdef-fix.js --flow=./typings/index.flow.js --dts=./typings/index.d.ts", | ||
"dtsgen": "dts-generator --project ./ --out typings/index.d.ts --prefix @qiwi/substrate-abstract/target/es5 --name @qiwi/substrate-abstract --main @qiwi/substrate-abstract/target/es5/index --moduleResolution node", | ||
"libdeffix": "node -r esm ../../scripts/js/libdef-fix.js --flow=./typings/index.flow.js --dts=./typings/index.d.ts", | ||
"dtsgen": "dts-generator --project ./ --out typings/index.d.ts --prefix @qiwi/substrate-abstract/target/es5 --name @qiwi/substrate-abstract --main @qiwi/substrate-abstract/target/es5/index", | ||
"flowgen": "flowgen typings/index.d.ts --output-file typings/index.flow.js", | ||
@@ -41,6 +45,6 @@ "test": "yarn test:libdefs && yarn jest", | ||
"@types/bluebird": "^3.5.28", | ||
"@types/config": "^0.0.34", | ||
"@types/config": "^0.0.35", | ||
"@types/jest": "^24.0.19", | ||
"@types/lodash": "^4.14.144", | ||
"@types/node": "^12.11.2", | ||
"@types/node": "^12.11.7", | ||
"@types/parsimmon": "^1.10.0", | ||
@@ -52,7 +56,7 @@ "@types/underscore": "^1.9.3", | ||
"dts-generator": "^3.0.0", | ||
"dtslint": "^0.9.8", | ||
"dtslint": "^0.9.9", | ||
"flowgen": "^1.10.0", | ||
"lodash": "^4.17.15", | ||
"replace-in-file": "^4.2.0", | ||
"ts-loader": "^6.2.0", | ||
"ts-loader": "^6.2.1", | ||
"ts-node": "^8.4.1", | ||
@@ -59,0 +63,0 @@ "ts-to-flow": "^0.0.3", |
@@ -1,2 +0,4 @@ | ||
export class AbstractError extends Error { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
class AbstractError extends Error { | ||
constructor(message) { | ||
@@ -10,2 +12,3 @@ const opts = typeof message === 'string' | ||
} | ||
exports.AbstractError = AbstractError; | ||
//# sourceMappingURL=AError.js.map |
@@ -1,2 +0,5 @@ | ||
export * from './AError'; | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./AError"), exports); | ||
//# sourceMappingURL=index.js.map |
declare module '@qiwi/substrate-abstract/target/es5/AError' { | ||
type IError = { | ||
export type IError = { | ||
message: string; | ||
@@ -7,6 +7,6 @@ code?: string | number; | ||
}; | ||
type IErrorOpts = { | ||
export type IErrorOpts = { | ||
message: string; | ||
}; | ||
class AbstractError extends Error implements IError { | ||
export class AbstractError extends Error implements IError { | ||
message: string; | ||
@@ -13,0 +13,0 @@ code?: string | number; |
@@ -8,3 +8,3 @@ /** | ||
declare module "@qiwi/substrate-abstract/target/es5/AError" { | ||
declare type IError = { | ||
declare export type IError = { | ||
message: string, | ||
@@ -15,7 +15,7 @@ code?: string | number, | ||
}; | ||
declare type IErrorOpts = { | ||
declare export type IErrorOpts = { | ||
message: string, | ||
... | ||
}; | ||
declare class AbstractError mixins Error, IError { | ||
declare export class AbstractError mixins Error, IError { | ||
message: string; | ||
@@ -22,0 +22,0 @@ code?: string | number; |
Sorry, the diff of this file is not supported yet
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
8103
134