tiny-types
Advanced tools
Comparing version 1.12.2 to 1.12.3
{ | ||
"name": "tiny-types", | ||
"version": "1.12.2", | ||
"version": "1.12.3", | ||
"description": "A tiny library that brings Tiny Types to JavaScript and TypeScript", | ||
@@ -10,3 +10,3 @@ "main": "lib/index.js", | ||
"lint": "tslint --project tsconfig.json --config tslint.json --format stylish", | ||
"test": "nyc --report-dir ./reports/coverage mocha --opts ./mocha.opts 'spec/**/*.spec.*'", | ||
"test": "nyc --report-dir ./reports/coverage mocha 'spec/**/*.spec.*'", | ||
"package": "tsc --project tsconfig.json", | ||
@@ -44,4 +44,4 @@ "verify": "npm run clean && npm run lint && npm test && npm run package", | ||
"@types/chai": "^4.1.7", | ||
"@types/mocha": "^5.2.6", | ||
"@types/node": "^10.14.1", | ||
"@types/mocha": "^7.0.1", | ||
"@types/node": "^12.12.28", | ||
"@types/sinon": "^7.0.10", | ||
@@ -51,5 +51,5 @@ "@types/sinon-chai": "^3.2.2", | ||
"cheerio": "^1.0.0-rc.2", | ||
"commitizen": "^3.0.7", | ||
"commitizen": "^4.0.3", | ||
"coveralls": "^3.0.3", | ||
"cz-conventional-changelog": "^2.1.0", | ||
"cz-conventional-changelog": "^3.1.0", | ||
"esdoc": "^1.1.0", | ||
@@ -60,8 +60,8 @@ "esdoc-importpath-plugin": "^1.0.2", | ||
"gh-pages": "^2.0.1", | ||
"mocha": "^6.0.2", | ||
"mocha": "^7.0.1", | ||
"mocha-testdata": "^1.2.0", | ||
"nyc": "^13.3.0", | ||
"rimraf": "^2.6.3", | ||
"semantic-release": "^15.13.7", | ||
"sinon": "^7.3.0", | ||
"nyc": "^15.0.0", | ||
"rimraf": "^3.0.2", | ||
"semantic-release": "^17.0.2", | ||
"sinon": "^9.0.0", | ||
"sinon-chai": "^3.3.0", | ||
@@ -72,3 +72,3 @@ "travis-deploy-once": "^5.0.11", | ||
"tslint-microsoft-contrib": "^6.1.0", | ||
"typescript": "^3.3.4000" | ||
"typescript": "^3.8.3" | ||
}, | ||
@@ -75,0 +75,0 @@ "config": { |
@@ -40,3 +40,3 @@ import { Constructor } from '../types'; | ||
function deprecateMethod<T>(message: string, target: T, propertyKey: string, descriptor: any, log: (...args: any[]) => void) { | ||
function deprecateMethod<T extends object>(message: string, target: T, propertyKey: string, descriptor: any, log: (...args: any[]) => void) { | ||
const originalMethod = descriptor.value; | ||
@@ -43,0 +43,0 @@ |
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
169575
193