New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.112 to 0.0.113-next.0

107

package.json
{
"name": "@definitelytyped/dts-critic",
"version": "0.0.112",
"author": "Nathan Shively-Sanders",
"description": "Checks a new .d.ts against the Javascript source and tells you what problems it has",
"publishConfig": {
"access": "public"
},
"dependencies": {
"@definitelytyped/header-parser": "^0.0.112",
"command-exists": "^1.2.8",
"rimraf": "^3.0.2",
"semver": "^6.2.0",
"tmp": "^0.2.1",
"yargs": "^15.3.1"
},
"peerDependencies": {
"typescript": "*"
},
"devDependencies": {
"@types/command-exists": "^1.2.0",
"@types/rimraf": "^3.0.0",
"@types/semver": "^6.0.1",
"@types/strip-json-comments": "0.0.30",
"@types/tmp": "^0.2.0",
"strip-json-comments": "^2.0.1"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc -b .",
"dt": "node dist/dt.js",
"test": "../../node_modules/.bin/jest --config ../../jest.config.js packages/dts-critic"
},
"repository": {
"type": "git",
"url": "git+https://github.com/microsoft/DefinitelyTyped-tools.git"
},
"keywords": [
"definitely",
"typed",
"refresh",
"npm",
"tag"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/microsoft/DefinitelyTyped-tools/issues"
},
"homepage": "https://github.com/microsoft/DefinitelyTyped-tools#readme",
"engines": {
"node": ">=10.17.0"
},
"gitHead": "bf52b08dedb8e7860337a5e1091f42d07d849ffb"
"name": "@definitelytyped/dts-critic",
"version": "0.0.113-next.0",
"author": "Nathan Shively-Sanders",
"description": "Checks a new .d.ts against the Javascript source and tells you what problems it has",
"publishConfig": {
"access": "public"
},
"dependencies": {
"@definitelytyped/header-parser": "^0.0.113-next.0",
"command-exists": "^1.2.8",
"rimraf": "^3.0.2",
"semver": "^6.2.0",
"tmp": "^0.2.1",
"yargs": "^15.3.1"
},
"peerDependencies": {
"typescript": "*"
},
"devDependencies": {
"@types/command-exists": "^1.2.0",
"@types/rimraf": "^3.0.0",
"@types/semver": "^6.0.1",
"@types/strip-json-comments": "0.0.30",
"@types/tmp": "^0.2.0",
"strip-json-comments": "^2.0.1"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc -b .",
"dt": "node dist/dt.js",
"test": "../../node_modules/.bin/jest --config ../../jest.config.js packages/dts-critic"
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/DefinitelyTyped-tools.git",
"directory": "packages/dts-critic"
},
"keywords": [
"definitely",
"typed",
"refresh",
"npm",
"tag"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/microsoft/DefinitelyTyped-tools/issues"
},
"homepage": "https://github.com/microsoft/DefinitelyTyped-tools/tree/master/packages/dts-critic#readme",
"engines": {
"node": ">=10.17.0"
},
"gitHead": "8dee1c64144a231e236f4c37b546f88423fbead3"
}

@@ -28,4 +28,3 @@ # dts-critic

You can run dts-critic in different modes that affect which checks will be performed:
1. `name-only`: dts-critic will check your package name and [DefinitelyTyped header]
(https://github.com/Microsoft/definitelytyped-header-parser) (if present) against npm packages.
1. `name-only`: dts-critic will check your package name and [DefinitelyTyped header](../header-parser) (if present) against npm packages.
For example, if your declaration is for an npm package called 'cool-js-package', it will check if a

@@ -45,3 +44,3 @@ package named 'cool-js-package' actually exists in npm.

1. An npm package with the same name of your declaration's package must exist.
2. If your declaration has a [Definitely Typed header](https://github.com/Microsoft/definitelytyped-header-parser)
2. If your declaration has a [Definitely Typed header](../header-parser)
and the header specifies a target version, the npm package must have

@@ -55,3 +54,3 @@ a matching version.

If your declaration is for a non-npm package (in other words, if your declaration has a
[Definitely Typed header](https://github.com/Microsoft/definitelytyped-header-parser) *and*
[Definitely Typed header](../header-parser) *and*
the header specifies that the declaration file is for a non-npm package):

@@ -58,0 +57,0 @@

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