Commit Graph
43 Commits
Author SHA1 Message Date
AndyandGitHub 51b64c3c15 Remove unnecessary references in test files. (#14900) 2017-03-10 07:46:20 -08:00
AndyandGitHub ae4fe7b6de Use "lib" in tsconfigs instead of "target". (#13968)
* Use "lib" in tsconfigs instead of "target".

Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.

* Update new-package and readme

* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
Free WillaertandMohamed Hegazy 5f9dd59253 @types/jsonwebtoken: SignOptions: add keyid and audience can be array (#13625)
* SignOptions: add keyid and audience can be array

* Update minor version.
2016-12-29 15:51:00 -08:00
AndyandGitHub a4bd9fa3c1 Add "noImplicitThis" to all tsconfig.json (#13446)
* Add "noImplicitThis" to all tsconfig.json

* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
AndyandGitHub cd4debea25 Remove BOM character from the start of files (#12838) 2016-11-28 10:40:45 -08:00
Guilherme OenningandMohamed Hegazy 9d5fc54dd5 headers was renamted to header. closes #11159 (#11773) 2016-10-06 09:54:55 -07:00
Ryan Cavanaugh b488f3cb5f Merge remote-tracking branch 'upstream/master' into merge_7_25 2016-07-27 10:57:46 -07:00
Ryan Cavanaugh a4f5ae3098 Merge commit 'upstream/master~250' into merge_7_25 2016-07-26 18:03:56 -07:00
Ryan Cavanaugh e4421f5ebe Merge commit 'upstream/master~650' into merge_7_25 2016-07-25 23:49:05 -07:00
Ryan Cavanaugh 35075752ec Merge commit 'upstream/master~750' into merge_7_25 2016-07-25 14:51:03 -07:00
dandriscollandMohamed Hegazy 150227f187 Update jsonwebtoken.d.ts for 7.1.6 (#10155) 2016-07-19 23:27:25 -07:00
Ryan Cavanaugh a5f4d50ccc Fix tsconfig files for new option name / behavior.
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Raghav Katyal 395c4e1639 Turning on consistent casing flag and fixing failures 2016-06-30 15:14:49 -07:00
Nick Zelei 9ea8d9ca28 added in custom error classes
added in the custom error classes that are used for the verify tokens.
2016-06-27 08:39:58 -05:00
CludaandMasahiro Wakame b76f5c0e57 SignOptions.expiresIn should be string or number (#8806)
* SignOptions.expiresIn should be any

https://github.com/rauchg/ms.js can take number or string

* expiresIn should be a string or a number
2016-05-21 08:26:05 -07:00
Ryan Cavanaugh bfd400a8f8 Add noEmit to all config files 2016-05-10 12:24:49 -07:00
Ryan Cavanaugh 50387d4046 Change relative reference paths to types references. Errors incoming... 2016-05-09 18:06:27 -07:00
Ryan Cavanaugh 49b1ac6a38 Rename all entry points to index.d.ts and explicitify all file lists 2016-05-09 17:29:10 -07:00
Ryan Cavanaugh ab2b4191c5 Add typesRoot to all config files 2016-05-09 13:52:25 -07:00
Pascal BirchlerandMasahiro Wakame 347d4d7614 Update jsonwebtoken typings for 6.2.0 (#9200)
* Update SignCallback for jsonwebtoken 6.0 compat

* Update whole definition for jsonwebtoken 6.2.0

* Update signature for jwt.sign() in tests

* Change type of error callback param
2016-05-06 02:36:17 +09:00
Ryan Cavanaugh ded70421be Turn off strict null checks 2016-05-04 15:08:38 -07:00
Ryan Cavanaugh 69d1929d8a Add tsconfig.json files 2016-05-04 14:14:39 -07:00
Ryan Cavanaugh fa204a87d1 Remove obsolesced reference comments 2016-04-27 21:53:46 -07:00
Ryan Cavanaugh 337587de8c Rename external modules to index.d.ts 2016-04-27 21:30:22 -07:00
Ryan Cavanaugh e7c111c4b7 Merge remote-tracking branch 'upstream/master' into types2.0
Add tsconfig files everywhere

# Conflicts:
#	azure-mobile-services-client/AzureMobileServicesClient.d.ts
#	bookshelf/bookshelf.d.ts
#	hapi/hapi.d.ts
#	helmet/helmet.d.ts
#	mongodb/mongodb.d.ts
#	nock/nock.d.ts
#	react-bootstrap/react-bootstrap.d.ts
#	react-helmet/react-helmet.d.ts
#	restify/restify.d.ts
#	sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
Ryan Cavanaugh 541e24b685 Fix angularjs/angular; 'export declare'/'declare export' 2016-04-25 13:02:25 -07:00
Ryan Cavanaugh 4a433abbf4 Unwrap all lone ambient external modules 2016-04-22 14:12:45 -07:00
vvakame 56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Samuel Horwitz ca9ebadd87 Updating some sign and verify interfaces to jsonwebtoken v5.7.0 2016-02-27 14:24:04 -05:00
Daniel Heim d93ea49569 jsonwebtoken - Updated SignCallback to match functionality correctly. 2016-02-25 22:04:39 +11:00
Chris Pearce 8d9e2d7993 Added options parameters to decode method of jsonwebtoken
Added options parameters to decode method of jsonwebtoken
2016-02-12 03:56:28 +00:00
David Pfeffer e9bbd8facc Fixed optional arg issue 2016-01-28 10:46:57 -05:00
David Pfeffer b29fb02ebe Asynchronous encoding and synchronous decoding 2016-01-28 10:42:53 -05:00
Martin Helmich 26a6aabce6 Update comments in test cases 2015-12-01 16:14:25 +01:00
Martin Helmich d18b076ae9 Add test cases for new VerifyOptions 2015-12-01 16:09:50 +01:00
Martin Helmich 5e14a5854d Add missing attributes to VerifyOptions 2015-12-01 16:09:47 +01:00
Paldom c6820e3980 expiresInMinutes is deprecated, use expiresIn instead 2015-11-25 13:35:58 +01:00
Matias Emanuel Surdi 03f5ce9a40 Add noTimestamp option 2015-09-17 13:01:57 +02:00
vvakame b0c9a6331c refactor jsonwebtoken/jsonwebtoken.d.ts 2015-08-17 22:43:38 +09:00
Theodor Esenwein 3bab076788 Should be implemented for non Callback Calls 2015-08-14 15:50:05 +02:00
SomaticIT 3f84d98bba Improve functions definitions 2014-09-15 19:38:14 +02:00
SomaticIT d6fe5776f8 Add test suite for jsonwebtoken package 2014-09-15 19:37:55 +02:00
SomaticIT a7cee68fdf Add jsonwebtoken node module definitions 2014-09-14 23:04:50 +02:00