@definitelytyped/dts-critic
Advanced tools
Comparing version 0.0.95 to 0.0.96
@@ -172,3 +172,3 @@ import fs = require("fs"); | ||
} catch (e) { | ||
return { package: args.package, output: e.toString() }; | ||
return { package: args.package, output: (e as Error).toString() }; | ||
} | ||
@@ -175,0 +175,0 @@ } |
@@ -303,4 +303,2 @@ "use strict"; | ||
exports.findDtsName = findDtsName; | ||
/** Default path to store packages downloaded from npm. */ | ||
const sourceDir = path.resolve(path.join(__dirname, "..", "sources")); | ||
/** Returns path of downloaded npm package. */ | ||
@@ -307,0 +305,0 @@ function downloadNpmPackage(name, version, outDir) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/// <reference types="jest" /> | ||
const index_1 = require("./index"); | ||
@@ -4,0 +5,0 @@ function suite(description, tests) { |
@@ -0,1 +1,2 @@ | ||
/// <reference types="jest" /> | ||
import { | ||
@@ -2,0 +3,0 @@ findDtsName, |
@@ -312,5 +312,2 @@ import yargs = require("yargs"); | ||
/** Default path to store packages downloaded from npm. */ | ||
const sourceDir = path.resolve(path.join(__dirname, "..", "sources")); | ||
/** Returns path of downloaded npm package. */ | ||
@@ -317,0 +314,0 @@ function downloadNpmPackage(name: string, version: string, outDir: string): string { |
{ | ||
"name": "@definitelytyped/dts-critic", | ||
"version": "0.0.95", | ||
"version": "0.0.96", | ||
"author": "Nathan Shively-Sanders", | ||
@@ -36,3 +36,3 @@ "description": "Checks a new .d.ts against the Javascript source and tells you what problems it has", | ||
"test": "npm run build && jest", | ||
"build": "tsc", | ||
"build": "tsc -b .", | ||
"dt": "node dist/dt.js", | ||
@@ -60,3 +60,3 @@ "prepublishOnly": "npm run build && npm run test" | ||
}, | ||
"gitHead": "6f2669d860b56d81b2ae739e99490889bc76576a" | ||
"gitHead": "5c9b73abb4f2bb3712ebb102b9a99f0f09a01307" | ||
} |
{ | ||
"extends": "../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"allowJs": true, | ||
"checkJs": true, | ||
"target": "es2019", | ||
"module": "commonjs", | ||
"resolveJsonModule": true, | ||
"strict": true, | ||
"sourceMap": true, | ||
"outDir": "dist", | ||
"declaration": true, | ||
"esModuleInterop": true, | ||
"noImplicitReturns": true, | ||
"types": ["jest"] | ||
}, | ||
@@ -19,3 +15,6 @@ "exclude": [ | ||
"testsource/*", | ||
], | ||
"references": [ | ||
{ "path": "../header-parser" } | ||
] | ||
} |
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
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
191107
48
3320