Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@definitelytyped/dts-critic

Package Overview
Dependencies
Maintainers
7
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@definitelytyped/dts-critic - npm Package Compare versions

Comparing version 0.0.95 to 0.0.96

dist/tsconfig.tsbuildinfo

2

develop.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc