New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dtslint

Package Overview
Dependencies
Maintainers
2
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dtslint - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

2

dt.json

@@ -8,3 +8,3 @@ {

"no-self-import": true,
//TODO: "no-outside-dependencies": true,
"no-outside-dependencies": true,

@@ -11,0 +11,0 @@ "no-redundant-jsdoc": false,

@@ -123,4 +123,6 @@ {

"unnecessary-constructor": false,
"no-angle-bracket-type-assertion": false,
"no-default-import": false,
"callable-types": false
}
}
{
"name": "dtslint",
"version": "0.4.2",
"version": "0.4.3",
"description": "Runs tests on TypeScript definition files",

@@ -13,2 +13,3 @@ "files": [

"contributors": [
"Nathan Shively-Sanders <nathansa@microsoft.com> (https://github.com/sandersn)",
"Andy Hanson <andy-ms@microsoft.com> (https://github.com/andy-ms)",

@@ -25,7 +26,10 @@ "Dan Vanderkam <danvdk@gmail.com> (https://github.com/danvk)"

"lint": "tslint --project tsconfig.json --format stylish",
"test": "node test/test.js"
"test": "node test/test.js",
"push-production": "npm run build && git checkout production && git merge master && npm run build && git add bin/* && git commit -m 'Update bin/' && git push -u origin production"
},
"dependencies": {
"definitelytyped-header-parser": "github:Microsoft/definitelytyped-header-parser#production",
"definitelytyped-header-parser": "^1.0.1",
"dts-critic": "^1.0.1",
"fs-extra": "^6.0.1",
"request": "^2.88.0",
"strip-json-comments": "^2.0.1",

@@ -32,0 +36,0 @@ "tslint": "^5.12.0",

@@ -142,10 +142,6 @@ `dtslint` tests a TypeScript declaration file for style and correctness.

```sh
git checkout production
git merge master
npm run build
git add --all
git commit -m "Update bin/"
git push
npm run push-production
```
This script merges changes from master into `production` and updates the `bin/` directory.
The `production` branch is a dependency of [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped) and [types-publisher](https://github.com/Microsoft/types-publisher).

@@ -160,6 +156,11 @@

```
## Code of Conduct
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
## FAQ
I'm getting an error about a missing typescript install.
```
Error: Cannot find module '/node_modules/dtslint/typescript-installs/3.1/node_modules/typescript`
```
Package lock files such as `yarn.lock` and `package-lock.json` may cause this issue because of our github dependency on `"definitelytyped-header-parser": "github:Microsoft/definitelytyped-header-parser#production"`, which contains the list of typescript versions to install. To fix this, try deleting your lock file and re-installing.
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