is 3.3.0 → 3.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,124 +1,124 @@
1
- 3.3.0 / 2018-12-14
2
- ==================
3
- * [New] add `is.bigint` (#36)
4
- * [Docs] change jsdoc comments "Mixed" to wildcards (#34)
5
- * [Tests] up to `node` `v11.4`, `v10.14`, `v9.11`, `v8.14`, `v7.10`, `v6.15`, `v4.9`; use `nvm install-latest-npm`
6
- * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `tape`
7
-
8
- 3.2.1 / 2017-02-27
9
- ==================
10
- * [Fix] `is.fn`: recognize generator and async functions too (#28)
11
- * [Tests] up to `node` `v7.5`, `v4.7`; improve test matrix
12
- * [Dev Deps] update `@ljharb/eslint-config`, `eslint`, `tape`
13
- * [Docs] improve readme formatting (#27)
14
-
15
- 3.2.0 / 2016-10-24
16
- ==================
17
- * [Fix] fix infinite loop when comparing two empty arrays + fix skipping first element (#24, #25)
18
- * [New] add `is.primitive`
19
- * [New] Add `is.date.valid` function and tests (#19)
20
- * [Tests] use `pretest` for `npm run lint`; add `npm run tests-only`
21
- * [Tests] up to `node` `v4.6`, `v5.12`, `v6.9`; improve test matrix
22
- * [Tests] fix description (#18)
23
- * [Dev Deps] update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config`
24
-
25
- 3.1.0 / 2015-09-20
26
- ==================
27
- * [Enhancement]: `is.array`: Prefer `Array.isArray` when present
28
- * [Fix] Deprecate `is.boolean`/`is.int` (ES3 syntax errors)
29
- * [Docs] Switch from vb.teelaun.ch to versionbadg.es for the npm version badge SVG
30
- * [Refactor] Don't use yoda conditions
31
- * [Refactor] `is.equal` can return earlier in some cases (#16)
32
- * [Tests] Quote "throws" (ES3 syntax error)
33
- * [Tests] up to `io.js` `v3.3`, up to `node` `v4.1`
34
- * [Dev Deps] add `npm run eslint`
35
- * [Dev Deps] update `tape`, `covert`, `jscs`
36
-
37
- 3.0.1 / 2015-02-22
38
- ==================
39
- * Version bump to resolve npm bug with v3.0.0
40
-
41
- 3.0.0 / 2015-02-21
42
- ==================
43
- * is.empty should return true for falsy values ([#13](https://github.com/enricomarino/is/issues/13), [#14](https://github.com/enricomarino/is/issues/14))
44
- * All grade A-supported `node`/`iojs` versions now ship with an `npm` that understands `^`.
45
- * Test on `iojs` `v1.2` and `v1.3`, `node` `v0.12`; speed up builds; allow failures on all but two latest minor versions.
46
- * Update `jscs`
47
-
48
- 2.2.1 / 2015-02-06
49
- ==================
50
- * Update `tape`, `jscs`
51
- * `toString` breaks in some browsers; using `toStr` instead.
52
-
53
- 2.2.0 / 2014-11-29
54
- ==================
55
- * Update `tape`, `jscs`
56
- * Add `is.symbol`
57
-
58
- 2.1.0 / 2014-10-21
59
- ==================
60
- * Add `CHANGELOG.md`
61
- * Add `is.hex` and `is.base64` [#12](https://github.com/enricomarino/is/issues/12)
62
- * Update `tape`, `jscs`
63
- * Lock `covert` to v1.0.0 [substack/covert#9](https://github.com/substack/covert/issues/9)
64
-
65
- 2.0.2 / 2014-10-05
66
- ==================
67
- * `undefined` can be redefined in ES3 browsers.
68
- * Update `jscs.json` and make style consistent
69
- * Update `foreach`, `jscs`, `tape`
70
- * Naming URLs in README
71
-
72
- 2.0.1 / 2014-09-02
73
- ==================
74
- * Add the license to package.json
75
- * Add license and downloads badges
76
- * Update `jscs`
77
-
78
- 2.0.0 / 2014-08-25
79
- ==================
80
- * Add `make release`
81
- * Update copyright notice.
82
- * Fix is.empty(new String())
83
-
84
- 1.1.0 / 2014-08-22
85
- ==================
86
- * Removing redundant license
87
- * Add a non-deprecated method for is.null
88
- * Use a more reliable valueOf coercion for is.false/is.true
89
- * Clean up `README.md`
90
- * Running `npm run lint` as part of tests.
91
- * Fixing lint errors.
92
- * Adding `npm run lint`
93
- * Updating `covert`
94
-
95
- 1.0.0 / 2014-08-07
96
- ==================
97
- * Update `tape`, `covert`
98
- * Increase code coverage
99
- * Update `LICENSE.md`, `README.md`
100
-
101
- 0.3.0 / 2014-03-02
102
- ==================
103
- * Update `tape`, `covert`
104
- * Adding `npm run coverage`
105
- * is.arguments -> is.args, because reserved words.
106
- * "undefined" is a reserved word in ES3 browsers.
107
- * Optimizing is.equal to return early if value and other are strictly equal.
108
- * Fixing is.equal for objects.
109
- * Test improvements
110
-
111
- 0.2.7 / 2013-12-26
112
- ==================
113
- * Update `tape`, `foreach`
114
- * is.decimal(Infinity) shouldn't be true [#11](https://github.com/enricomarino/is/issues/11)
115
-
116
- 0.2.6 / 2013-05-06
117
- ==================
118
- * Fix lots of tests [#9](https://github.com/enricomarino/is/issues/9)
119
- * Update tape [#8](https://github.com/enricomarino/is/issues/8)
120
-
121
- 0.2.5 / 2013-04-24
122
- ==================
123
- * Use `tap` instead of `tape` [#7](https://github.com/enricomarino/is/issues/7)
124
-
1
+ 3.3.0 / 2018-12-14
2
+ ==================
3
+ * [New] add `is.bigint` (#36)
4
+ * [Docs] change jsdoc comments "Mixed" to wildcards (#34)
5
+ * [Tests] up to `node` `v11.4`, `v10.14`, `v9.11`, `v8.14`, `v7.10`, `v6.15`, `v4.9`; use `nvm install-latest-npm`
6
+ * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `tape`
7
+
8
+ 3.2.1 / 2017-02-27
9
+ ==================
10
+ * [Fix] `is.fn`: recognize generator and async functions too (#28)
11
+ * [Tests] up to `node` `v7.5`, `v4.7`; improve test matrix
12
+ * [Dev Deps] update `@ljharb/eslint-config`, `eslint`, `tape`
13
+ * [Docs] improve readme formatting (#27)
14
+
15
+ 3.2.0 / 2016-10-24
16
+ ==================
17
+ * [Fix] fix infinite loop when comparing two empty arrays + fix skipping first element (#24, #25)
18
+ * [New] add `is.primitive`
19
+ * [New] Add `is.date.valid` function and tests (#19)
20
+ * [Tests] use `pretest` for `npm run lint`; add `npm run tests-only`
21
+ * [Tests] up to `node` `v4.6`, `v5.12`, `v6.9`; improve test matrix
22
+ * [Tests] fix description (#18)
23
+ * [Dev Deps] update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config`
24
+
25
+ 3.1.0 / 2015-09-20
26
+ ==================
27
+ * [Enhancement]: `is.array`: Prefer `Array.isArray` when present
28
+ * [Fix] Deprecate `is.boolean`/`is.int` (ES3 syntax errors)
29
+ * [Docs] Switch from vb.teelaun.ch to versionbadg.es for the npm version badge SVG
30
+ * [Refactor] Don't use yoda conditions
31
+ * [Refactor] `is.equal` can return earlier in some cases (#16)
32
+ * [Tests] Quote "throws" (ES3 syntax error)
33
+ * [Tests] up to `io.js` `v3.3`, up to `node` `v4.1`
34
+ * [Dev Deps] add `npm run eslint`
35
+ * [Dev Deps] update `tape`, `covert`, `jscs`
36
+
37
+ 3.0.1 / 2015-02-22
38
+ ==================
39
+ * Version bump to resolve npm bug with v3.0.0
40
+
41
+ 3.0.0 / 2015-02-21
42
+ ==================
43
+ * is.empty should return true for falsy values ([#13](https://github.com/enricomarino/is/issues/13), [#14](https://github.com/enricomarino/is/issues/14))
44
+ * All grade A-supported `node`/`iojs` versions now ship with an `npm` that understands `^`.
45
+ * Test on `iojs` `v1.2` and `v1.3`, `node` `v0.12`; speed up builds; allow failures on all but two latest minor versions.
46
+ * Update `jscs`
47
+
48
+ 2.2.1 / 2015-02-06
49
+ ==================
50
+ * Update `tape`, `jscs`
51
+ * `toString` breaks in some browsers; using `toStr` instead.
52
+
53
+ 2.2.0 / 2014-11-29
54
+ ==================
55
+ * Update `tape`, `jscs`
56
+ * Add `is.symbol`
57
+
58
+ 2.1.0 / 2014-10-21
59
+ ==================
60
+ * Add `CHANGELOG.md`
61
+ * Add `is.hex` and `is.base64` [#12](https://github.com/enricomarino/is/issues/12)
62
+ * Update `tape`, `jscs`
63
+ * Lock `covert` to v1.0.0 [substack/covert#9](https://github.com/substack/covert/issues/9)
64
+
65
+ 2.0.2 / 2014-10-05
66
+ ==================
67
+ * `undefined` can be redefined in ES3 browsers.
68
+ * Update `jscs.json` and make style consistent
69
+ * Update `foreach`, `jscs`, `tape`
70
+ * Naming URLs in README
71
+
72
+ 2.0.1 / 2014-09-02
73
+ ==================
74
+ * Add the license to package.json
75
+ * Add license and downloads badges
76
+ * Update `jscs`
77
+
78
+ 2.0.0 / 2014-08-25
79
+ ==================
80
+ * Add `make release`
81
+ * Update copyright notice.
82
+ * Fix is.empty(new String())
83
+
84
+ 1.1.0 / 2014-08-22
85
+ ==================
86
+ * Removing redundant license
87
+ * Add a non-deprecated method for is.null
88
+ * Use a more reliable valueOf coercion for is.false/is.true
89
+ * Clean up `README.md`
90
+ * Running `npm run lint` as part of tests.
91
+ * Fixing lint errors.
92
+ * Adding `npm run lint`
93
+ * Updating `covert`
94
+
95
+ 1.0.0 / 2014-08-07
96
+ ==================
97
+ * Update `tape`, `covert`
98
+ * Increase code coverage
99
+ * Update `LICENSE.md`, `README.md`
100
+
101
+ 0.3.0 / 2014-03-02
102
+ ==================
103
+ * Update `tape`, `covert`
104
+ * Adding `npm run coverage`
105
+ * is.arguments -> is.args, because reserved words.
106
+ * "undefined" is a reserved word in ES3 browsers.
107
+ * Optimizing is.equal to return early if value and other are strictly equal.
108
+ * Fixing is.equal for objects.
109
+ * Test improvements
110
+
111
+ 0.2.7 / 2013-12-26
112
+ ==================
113
+ * Update `tape`, `foreach`
114
+ * is.decimal(Infinity) shouldn't be true [#11](https://github.com/enricomarino/is/issues/11)
115
+
116
+ 0.2.6 / 2013-05-06
117
+ ==================
118
+ * Fix lots of tests [#9](https://github.com/enricomarino/is/issues/9)
119
+ * Update tape [#8](https://github.com/enricomarino/is/issues/8)
120
+
121
+ 0.2.5 / 2013-04-24
122
+ ==================
123
+ * Use `tap` instead of `tape` [#7](https://github.com/enricomarino/is/issues/7)
124
+
package/LICENSE.md CHANGED
@@ -1,23 +1,23 @@
1
- (The MIT License)
2
-
3
- Copyright (c) 2013 Enrico Marino
4
- Copyright (c) 2014 Enrico Marino and Jordan Harband
5
-
6
- Permission is hereby granted, free of charge, to any person obtaining
7
- a copy of this software and associated documentation files (the
8
- 'Software'), to deal in the Software without restriction, including
9
- without limitation the rights to use, copy, modify, merge, publish,
10
- distribute, sublicense, and/or sell copies of the Software, and to
11
- permit persons to whom the Software is furnished to do so, subject to
12
- the following conditions:
13
-
14
- The above copyright notice and this permission notice shall be
15
- included in all copies or substantial portions of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2013 Enrico Marino
4
+ Copyright (c) 2014 Enrico Marino and Jordan Harband
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining
7
+ a copy of this software and associated documentation files (the
8
+ 'Software'), to deal in the Software without restriction, including
9
+ without limitation the rights to use, copy, modify, merge, publish,
10
+ distribute, sublicense, and/or sell copies of the Software, and to
11
+ permit persons to whom the Software is furnished to do so, subject to
12
+ the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be
15
+ included in all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/Makefile CHANGED
@@ -1,17 +1,17 @@
1
-
2
- .PHONY: verify-tag release
3
-
4
- default: release
5
-
6
- verify-tag:
7
- ifndef TAG
8
- $(error TAG is undefined)
9
- endif
10
-
11
- release: verify-tag
12
- @ OLD_TAG=`git describe --abbrev=0 --tags` && \
13
- npm run minify && \
14
- replace "$${OLD_TAG/v/}" "$(TAG)" -- *.json README.md && \
15
- git commit -m "v$(TAG)" *.js *.json README.md && \
16
- git tag "v$(TAG)"
17
-
1
+
2
+ .PHONY: verify-tag release
3
+
4
+ default: release
5
+
6
+ verify-tag:
7
+ ifndef TAG
8
+ $(error TAG is undefined)
9
+ endif
10
+
11
+ release: verify-tag
12
+ @ OLD_TAG=`git describe --abbrev=0 --tags` && \
13
+ npm run minify && \
14
+ replace "$${OLD_TAG/v/}" "$(TAG)" -- *.json README.md && \
15
+ git commit -m "v$(TAG)" *.js *.json README.md && \
16
+ git tag "v$(TAG)"
17
+
package/README.md CHANGED
@@ -1,142 +1,142 @@
1
- # is <sup>[![Version Badge][npm-version-svg]][npm-url]</sup>
2
-
3
- [![Build Status][travis-svg]][travis-url]
4
- [![dependency status][deps-svg]][deps-url]
5
- [![dev dependency status][dev-deps-svg]][dev-deps-url]
6
- [![License][license-image]][license-url]
7
- [![Downloads][downloads-image]][downloads-url]
8
-
9
- [![npm badge][npm-badge-png]][npm-url]
10
-
11
- [![browser support][testling-png]][testling-url]
12
-
13
- The definitive JavaScript type testing library
14
-
15
- To be or not to be? This is the library!
16
-
17
- ## Installation
18
-
19
- As a node.js module
20
-
21
- ```shell
22
- $ npm install is
23
- ```
24
-
25
- As a component
26
- ```shell
27
- $ component install enricomarino/is
28
- ```
29
-
30
- ## API
31
-
32
- ### general
33
-
34
- - ``is.a`` (value, type) or ``is.type`` (value, type)
35
- - ``is.defined`` (value)
36
- - ``is.empty`` (value)
37
- - ``is.equal`` (value, other)
38
- - ``is.hosted`` (value, host)
39
- - ``is.instance`` (value, constructor)
40
- - ``is.instanceof`` (value, constructor) - deprecated, because in ES3 browsers, "instanceof" is a reserved word
41
- - ``is.nil`` (value)
42
- - ``is.null`` (value) - deprecated, because in ES3 browsers, "null" is a reserved word
43
- - ``is.undef`` (value)
44
- - ``is.undefined`` (value) - deprecated, because in ES3 browsers, "undefined" is a reserved word
45
-
46
- ### arguments
47
-
48
- - ``is.args`` (value)
49
- - ``is.arguments`` (value) - deprecated, because "arguments" is a reserved word
50
- - ``is.args.empty`` (value)
51
-
52
- ### array
53
-
54
- - ``is.array`` (value)
55
- - ``is.array.empty`` (value)
56
- - ``is.arraylike`` (value)
57
-
58
- ### boolean
59
-
60
- - ``is.bool`` (value)
61
- - ``is.boolean`` (value) - deprecated, because in ES3 browsers, "boolean" is a reserved word
62
- - ``is.false`` (value) - deprecated, because in ES3 browsers, "false" is a reserved word
63
- - ``is.true`` (value) - deprecated, because in ES3 browsers, "true" is a reserved word
64
-
65
- ### date
66
-
67
- - ``is.date`` (value)
68
-
69
- ### element
70
-
71
- - ``is.element`` (value)
72
-
73
- ### error
74
-
75
- - ``is.error`` (value)
76
-
77
- ### function
78
-
79
- - ``is.fn`` (value)
80
- - ``is.function`` (value) - deprecated, because in ES3 browsers, "function" is a reserved word
81
-
82
- ### number
83
-
84
- - ``is.number`` (value)
85
- - ``is.infinite`` (value)
86
- - ``is.decimal`` (value)
87
- - ``is.divisibleBy`` (value, n)
88
- - ``is.integer`` (value)
89
- - ``is.int`` (value) - deprecated, because in ES3 browsers, "int" is a reserved word
90
- - ``is.maximum`` (value, others)
91
- - ``is.minimum`` (value, others)
92
- - ``is.nan`` (value)
93
- - ``is.even`` (value)
94
- - ``is.odd`` (value)
95
- - ``is.ge`` (value, other)
96
- - ``is.gt`` (value, other)
97
- - ``is.le`` (value, other)
98
- - ``is.lt`` (value, other)
99
- - ``is.within`` (value, start, finish)
100
-
101
- ### object
102
-
103
- - ``is.object`` (value)
104
-
105
- ### regexp
106
-
107
- - ``is.regexp`` (value)
108
-
109
- ### string
110
-
111
- - ``is.string`` (value)
112
-
113
- ### encoded binary
114
-
115
- - ``is.base64`` (value)
116
- - ``is.hex`` (value)
117
-
118
- ### Symbols
119
- - ``is.symbol`` (value)
120
-
121
- ### BigInts
122
- - ``is.bigint`` (value)
123
-
124
- ## Contributors
125
-
126
- - [Jordan Harband](https://github.com/ljharb)
127
-
128
- [npm-url]: https://npmjs.org/package/is
129
- [npm-version-svg]: http://versionbadg.es/enricomarino/is.svg
130
- [travis-svg]: https://travis-ci.org/enricomarino/is.svg
131
- [travis-url]: https://travis-ci.org/enricomarino/is
132
- [deps-svg]: https://david-dm.org/enricomarino/is.svg
133
- [deps-url]: https://david-dm.org/enricomarino/is
134
- [dev-deps-svg]: https://david-dm.org/enricomarino/is/dev-status.svg
135
- [dev-deps-url]: https://david-dm.org/enricomarino/is#info=devDependencies
136
- [testling-png]: https://ci.testling.com/enricomarino/is.png
137
- [testling-url]: https://ci.testling.com/enricomarino/is
138
- [npm-badge-png]: https://nodei.co/npm/is.png?downloads=true&stars=true
139
- [license-image]: http://img.shields.io/npm/l/is.svg
140
- [license-url]: LICENSE.md
141
- [downloads-image]: http://img.shields.io/npm/dm/is.svg
142
- [downloads-url]: http://npm-stat.com/charts.html?package=is
1
+ # is <sup>[![Version Badge][npm-version-svg]][npm-url]</sup>
2
+
3
+ [![Build Status][travis-svg]][travis-url]
4
+ [![dependency status][deps-svg]][deps-url]
5
+ [![dev dependency status][dev-deps-svg]][dev-deps-url]
6
+ [![License][license-image]][license-url]
7
+ [![Downloads][downloads-image]][downloads-url]
8
+
9
+ [![npm badge][npm-badge-png]][npm-url]
10
+
11
+ [![browser support][testling-png]][testling-url]
12
+
13
+ The definitive JavaScript type testing library
14
+
15
+ To be or not to be? This is the library!
16
+
17
+ ## Installation
18
+
19
+ As a node.js module
20
+
21
+ ```shell
22
+ $ npm install is
23
+ ```
24
+
25
+ As a component
26
+ ```shell
27
+ $ component install enricomarino/is
28
+ ```
29
+
30
+ ## API
31
+
32
+ ### general
33
+
34
+ - ``is.a`` (value, type) or ``is.type`` (value, type)
35
+ - ``is.defined`` (value)
36
+ - ``is.empty`` (value)
37
+ - ``is.equal`` (value, other)
38
+ - ``is.hosted`` (value, host)
39
+ - ``is.instance`` (value, constructor)
40
+ - ``is.instanceof`` (value, constructor) - deprecated, because in ES3 browsers, "instanceof" is a reserved word
41
+ - ``is.nil`` (value)
42
+ - ``is.null`` (value) - deprecated, because in ES3 browsers, "null" is a reserved word
43
+ - ``is.undef`` (value)
44
+ - ``is.undefined`` (value) - deprecated, because in ES3 browsers, "undefined" is a reserved word
45
+
46
+ ### arguments
47
+
48
+ - ``is.args`` (value)
49
+ - ``is.arguments`` (value) - deprecated, because "arguments" is a reserved word
50
+ - ``is.args.empty`` (value)
51
+
52
+ ### array
53
+
54
+ - ``is.array`` (value)
55
+ - ``is.array.empty`` (value)
56
+ - ``is.arraylike`` (value)
57
+
58
+ ### boolean
59
+
60
+ - ``is.bool`` (value)
61
+ - ``is.boolean`` (value) - deprecated, because in ES3 browsers, "boolean" is a reserved word
62
+ - ``is.false`` (value) - deprecated, because in ES3 browsers, "false" is a reserved word
63
+ - ``is.true`` (value) - deprecated, because in ES3 browsers, "true" is a reserved word
64
+
65
+ ### date
66
+
67
+ - ``is.date`` (value)
68
+
69
+ ### element
70
+
71
+ - ``is.element`` (value)
72
+
73
+ ### error
74
+
75
+ - ``is.error`` (value)
76
+
77
+ ### function
78
+
79
+ - ``is.fn`` (value)
80
+ - ``is.function`` (value) - deprecated, because in ES3 browsers, "function" is a reserved word
81
+
82
+ ### number
83
+
84
+ - ``is.number`` (value)
85
+ - ``is.infinite`` (value)
86
+ - ``is.decimal`` (value)
87
+ - ``is.divisibleBy`` (value, n)
88
+ - ``is.integer`` (value)
89
+ - ``is.int`` (value) - deprecated, because in ES3 browsers, "int" is a reserved word
90
+ - ``is.maximum`` (value, others)
91
+ - ``is.minimum`` (value, others)
92
+ - ``is.nan`` (value)
93
+ - ``is.even`` (value)
94
+ - ``is.odd`` (value)
95
+ - ``is.ge`` (value, other)
96
+ - ``is.gt`` (value, other)
97
+ - ``is.le`` (value, other)
98
+ - ``is.lt`` (value, other)
99
+ - ``is.within`` (value, start, finish)
100
+
101
+ ### object
102
+
103
+ - ``is.object`` (value)
104
+
105
+ ### regexp
106
+
107
+ - ``is.regexp`` (value)
108
+
109
+ ### string
110
+
111
+ - ``is.string`` (value)
112
+
113
+ ### encoded binary
114
+
115
+ - ``is.base64`` (value)
116
+ - ``is.hex`` (value)
117
+
118
+ ### Symbols
119
+ - ``is.symbol`` (value)
120
+
121
+ ### BigInts
122
+ - ``is.bigint`` (value)
123
+
124
+ ## Contributors
125
+
126
+ - [Jordan Harband](https://github.com/ljharb)
127
+
128
+ [npm-url]: https://npmjs.org/package/is
129
+ [npm-version-svg]: http://versionbadg.es/enricomarino/is.svg
130
+ [travis-svg]: https://travis-ci.org/enricomarino/is.svg
131
+ [travis-url]: https://travis-ci.org/enricomarino/is
132
+ [deps-svg]: https://david-dm.org/enricomarino/is.svg
133
+ [deps-url]: https://david-dm.org/enricomarino/is
134
+ [dev-deps-svg]: https://david-dm.org/enricomarino/is/dev-status.svg
135
+ [dev-deps-url]: https://david-dm.org/enricomarino/is#info=devDependencies
136
+ [testling-png]: https://ci.testling.com/enricomarino/is.png
137
+ [testling-url]: https://ci.testling.com/enricomarino/is
138
+ [npm-badge-png]: https://nodei.co/npm/is.png?downloads=true&stars=true
139
+ [license-image]: http://img.shields.io/npm/l/is.svg
140
+ [license-url]: LICENSE.md
141
+ [downloads-image]: http://img.shields.io/npm/dm/is.svg
142
+ [downloads-url]: http://npm-stat.com/charts.html?package=is
package/component.json CHANGED
@@ -1,8 +1,8 @@
1
- {
2
- "name": "is",
3
- "repo": "enricomarino/is",
4
- "description": "The definitive type testing library",
5
- "version": "2.2.0",
6
- "dependencies": {},
7
- "scripts": ["index.js"]
8
- }
1
+ {
2
+ "name": "is",
3
+ "repo": "enricomarino/is",
4
+ "description": "The definitive type testing library",
5
+ "version": "2.2.0",
6
+ "dependencies": {},
7
+ "scripts": ["index.js", "test/check.js"]
8
+ }