Socket
Socket
Sign inDemoInstall

tsd

Package Overview
Dependencies
Maintainers
2
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsd - npm Package Compare versions

Comparing version 0.5.5 to 0.5.6

build/api.d.ts

2

conf/settings.json

@@ -52,5 +52,5 @@ {

"updateCheckInterval": {
"days": 1
"days": 4
}
}
}
{
"name": "tsd",
"version": "0.5.5",
"version": "0.5.6",
"description": "TypeScript Definition manager for DefinitelyTyped",

@@ -13,3 +13,3 @@ "keywords": [

"type": "git",
"url": "http://github.com/DefinitelyTyped/tsd.git"
"url": "https://github.com/DefinitelyTyped/tsd.git"
},

@@ -54,6 +54,6 @@ "author": {

"semver": "~2.2.1",
"tv4": "~1.0.12",
"tv4-reporter": "0.0.3",
"tv4": "~1.0.14",
"tv4-reporter": "~0.0.4",
"uri-templates": "0.1.2",
"optimist": "~0.6.0",
"minimist": "0.0.7",
"assertion-error": "1.0.0",

@@ -63,3 +63,2 @@ "jsesc": "~0.4.3",

"json-pointer": "~0.1.0",
"date-utils": "~1.2.14",
"ministyle": "~0.1.3",

@@ -89,7 +88,6 @@ "miniwrite": "~0.1.3",

"grunt-tslint": "~0.4.0",
"tslint-path-formatter": "0.1",
"grunt-tv4": "~0.3.1",
"tslint-path-formatter": "~0.1.0",
"grunt-tv4": "~0.4.0",
"grunt-shell": "~0.6.1",
"grunt-contrib-connect": "~0.5.0",
"grunt-concurrent": "~0.4.2",
"grunt-todos": "git://github.com/Bartvds/grunt-todos/#master",

@@ -106,5 +104,6 @@ "grunt-mocha-test": "~0.8.0",

"lodash-template": "~1.0.0",
"grunt-webshot": "~0.1.0",
"grunt-regex-replace": "~0.2.5"
"grunt-webshot": "~0.2.0",
"grunt-regex-replace": "~0.2.5",
"package.json-schema": "~0.1.0"
}
}

@@ -20,7 +20,7 @@ # TSD

The Github API has a 60-requests-per-hour [rate-limit](http://developer.github.com/v3/#rate-limiting) for non-authenticated use. You'll likely never hit this as TSD uses heavy local and http caching and the definition files are downloaded over unlimited Github RAW urls. We are looking into a fallback to bypass the occasional burst mode.
The Github API has a 60-requests-per-hour [rate-limit](http://developer.github.com/v3/#rate-limiting) for non-authenticated use. You'll likely never hit this as TSD uses caching layers and the definition files are downloaded over unlimited Github RAW urls.
#### Usage stats & update-check
The CLI tool tracks some *anonymous* usage statistics about what definitions are installed though TSD in Google Analytics (using [universal-analytics](https://npmjs.org/package/universal-analytics)). There is also a [update-notifier](https://npmjs.org/package/update-notifier) service to check for TSD updates. Both are enabled by default: use the `--services no` option to suppress. A future update will bring some improved controls over this.
The CLI tool [tracks](https://github.com/DefinitelyTyped/tsd/blob/master/src/tsd/cli/tracker.ts) some *anonymous* usage statistics about what definitions are installed though TSD in Google Analytics (using [universal-analytics](https://npmjs.org/package/universal-analytics)). There is also a [update-notifier](https://npmjs.org/package/update-notifier) service to check for TSD updates. Both are enabled by default: use the `--services no` option to suppress (for now).

@@ -35,4 +35,2 @@ ## Install

$ npm install git://github.com/DefinitelyTyped/tsd#{{tag}} -g
If you need to install the legacy `v0.3.x`:

@@ -48,6 +46,2 @@

For development from a local install/checkout:
$ node ./build/cli.js
It looks like this:

@@ -68,3 +62,3 @@

Minimal query for 'd3':
Minimal query for `d3`:

@@ -77,5 +71,5 @@ $ tsd query d3

Tips: If you are using Linux or Mac OS X, use `$ tsd query "*"` command.
Tip: if you are using Linux or Mac OS X, use `$ tsd query "*"`.
Get some info about 'jquery':
Get some info about `jquery`:

@@ -85,3 +79,3 @@ $ tsd query jquery --info --history --resolve

Install 'bootstrap' definitions:
Install `bootstrap` definitions:

@@ -91,16 +85,20 @@ $ tsd query bootstrap --action install

Solve the reference to 'jquery', overwrite existing files and save to the tsd.config:
Install `mocha`, `chai` and `sinon` definitions all at once:
$ tsd query mocha chai sinon -a install
Solve the reference to `jquery`, overwrite existing files and save to the tsd.config:
$ tsd query angular --resolve --overwrite --save --action install
$ tsd query angular -r -o -s -a install
Search for jquery plugins:
Search for `jquery` plugins:
$ tsd query */jquery.*
Install and save to 'test.d.ts' `<reference/>` bundle:
Install and save to `test.d.ts` as `<reference/>` bundle:
$ tsd query mocha chai -a install -r -o -s -b test
Open 'pixi' in your browser on github:
Open `pixi` in your browser on github:

@@ -192,4 +190,3 @@ $ tsd query pixi -a browse

Use the `--commit` / `-c` option to supply sha1-hash of a commit (find a commit hash using `--history`),
for convenience a shortened sha1 hash is supported.
Use the `--commit` / `-c` option to supply sha1-hash of a commit (find a commit hash using `--history`), for convenience a shortened sha1 hash is supported.

@@ -206,4 +203,2 @@ ````

## Usage as module
Outdated info until after we push out the preview release, but intended to work (as it is a key to some planned dependencies).

@@ -223,2 +218,3 @@ TSD can be used as any JavaScript npm dependency in your project: the API used to implement the CLI is exposed:

````
For a practical example see [grunt-tsd](https://github.com/DefinitelyTyped/grunt-tsd).

@@ -239,3 +235,3 @@ TSD uses Promise/A+ by [kriskowal/q](https://github.com/kriskowal/q) and [kriskowal/q-io](https://github.com/kriskowal/q-io) packages. :point_left::+1:

### Can TSD install the definitions for the correct module version or fork?
### Can TSD auto-install definitions for a specific package version?

@@ -252,5 +248,5 @@ Yes, and no (and later yes again)

### Do you have a grunt task to automate some TSD tasks?
### Do you have a grunt task?
Of course! The official plugin is aptly named [grunt-tsd](https://github.com/DefinitelyTyped/grunt-tsd).
Of course! The official plugin is [grunt-tsd](https://github.com/DefinitelyTyped/grunt-tsd).

@@ -281,3 +277,2 @@ ### Where do you keep background and work docs?

## Notable modules

@@ -289,3 +284,3 @@

* [grunt-ts](https://github.com/basarat/grunt-ts) - TypeScript compiler for grunt.
* [tslint](https://github.com/palantir/tslint) + [grunt-tslint](https://github.com/palantir/grunttslint) - TypeScript linter (contribute some rules!)
* [tslint](https://github.com/palantir/tslint) + [grunt-tslint](https://github.com/palantir/grunt-tslint) - TypeScript linter (contribute some rules!)
* [gruntfile-gtx](https://github.com/Bartvds/gruntfile-gtx) - Gruntfile powerbooster (by author).

@@ -338,3 +333,3 @@ * [tv4](https://github.com/geraintluff/tv4) - JSON-Schema validation like a boss.

**Note:** TSD no longer maintains it's own data sources: contributions on definitions files go directly to [DefinitelyTyped](https://github.com/borisyankov/DefinitelyTyped).
**Note:** Contributions on definitions files go directly to [DefinitelyTyped](https://github.com/borisyankov/DefinitelyTyped).

@@ -361,2 +356,2 @@ ## Privacy statement

[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/DefinitelyTyped/tsd/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/DefinitelyTyped/tsd/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

@@ -38,2 +38,6 @@ {

},
"stats": {
"description": "enable stats tracking",
"type": "boolean"
},
"installed": {

@@ -49,2 +53,3 @@ "description": "index of installed definitions",

"commit": {
"description": "sha1 hex",
"type": "string",

@@ -51,0 +56,0 @@ "pattern": "^[0-9a-f]{6,40}$"

Sorry, the diff of this file is too big to display

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