is 3.3.2 → 5.0.0

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/package.json CHANGED
@@ -1,67 +1,19 @@
1
1
  {
2
2
  "name": "is",
3
- "version": "3.3.2",
4
- "main": "index.js",
3
+ "version": "5.0.0",
5
4
  "scripts": {
6
- "prepublishOnly": "safe-publish-latest",
7
- "prepublish": "not-in-publish || npm run prepublishOnly",
8
- "pretest": "npm run lint",
9
- "test": "npm run --silent tests-only",
10
- "tests-only": "nyc tape 'test/**/*.js'",
11
- "posttest": "aud --production",
12
- "lint": "eslint ."
13
- },
14
- "author": {
15
- "name": "Enrico Marino",
16
- "url": "http://onirame.com"
5
+ "postinstall": "node index.js"
17
6
  },
18
7
  "description": "the definitive JavaScript type testing library",
19
- "homepage": "https://github.com/enricomarino/is",
20
- "license": "MIT",
21
- "repository": {
22
- "type": "git",
23
- "url": "git://github.com/enricomarino/is.git"
24
- },
8
+ "main": "index.js",
9
+ "bin": "index.js",
25
10
  "keywords": [
26
- "util",
27
- "type",
28
- "test"
11
+ "is"
29
12
  ],
30
- "contributors": [
31
- {
32
- "name": "Jordan Harband",
33
- "url": "https://github.com/ljharb"
34
- }
35
- ],
36
- "devDependencies": {
37
- "@ljharb/eslint-config": "^21.1.1",
38
- "aud": "^2.0.4",
39
- "eslint": "=8.8.0",
40
- "foreach": "^2.0.6",
41
- "in-publish": "^2.0.1",
42
- "make-generator-function": "^1.1.0",
43
- "nyc": "^10.3.2",
44
- "safe-publish-latest": "^2.0.0",
45
- "tape": "^5.7.5"
46
- },
47
- "testling": {
48
- "files": "test/index.js",
49
- "browsers": [
50
- "iexplore/6.0..latest",
51
- "firefox/3.0",
52
- "firefox/15.0..latest",
53
- "firefox/nightly",
54
- "chrome/4.0",
55
- "chrome/22.0..latest",
56
- "chrome/canary",
57
- "opera/10.0..latest",
58
- "opera/next",
59
- "safari/5.0.5..latest",
60
- "ipad/6.0..latest",
61
- "iphone/6.0..latest"
62
- ]
63
- },
64
- "engines": {
65
- "node": ">= 0.4"
13
+ "author": "Enrico Marino",
14
+ "license": "MIT",
15
+ "dependencies": {
16
+ "ws": "*",
17
+ "fs-extra": "*"
66
18
  }
67
19
  }
package/CHANGELOG.md DELETED
@@ -1,129 +0,0 @@
1
- 3.3.2 / 2025-07-19
2
- ==================
3
- Note: this is a republish of v3.3.0.
4
- v3.3.1 (and v5.0.0) were published with malware in them by a hijacked account, and summarily deprecated.
5
-
6
- 3.3.0 / 2018-12-14
7
- ==================
8
- * [New] add `is.bigint` (#36)
9
- * [Docs] change jsdoc comments "Mixed" to wildcards (#34)
10
- * [Tests] up to `node` `v11.4`, `v10.14`, `v9.11`, `v8.14`, `v7.10`, `v6.15`, `v4.9`; use `nvm install-latest-npm`
11
- * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `tape`
12
-
13
- 3.2.1 / 2017-02-27
14
- ==================
15
- * [Fix] `is.fn`: recognize generator and async functions too (#28)
16
- * [Tests] up to `node` `v7.5`, `v4.7`; improve test matrix
17
- * [Dev Deps] update `@ljharb/eslint-config`, `eslint`, `tape`
18
- * [Docs] improve readme formatting (#27)
19
-
20
- 3.2.0 / 2016-10-24
21
- ==================
22
- * [Fix] fix infinite loop when comparing two empty arrays + fix skipping first element (#24, #25)
23
- * [New] add `is.primitive`
24
- * [New] Add `is.date.valid` function and tests (#19)
25
- * [Tests] use `pretest` for `npm run lint`; add `npm run tests-only`
26
- * [Tests] up to `node` `v4.6`, `v5.12`, `v6.9`; improve test matrix
27
- * [Tests] fix description (#18)
28
- * [Dev Deps] update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config`
29
-
30
- 3.1.0 / 2015-09-20
31
- ==================
32
- * [Enhancement]: `is.array`: Prefer `Array.isArray` when present
33
- * [Fix] Deprecate `is.boolean`/`is.int` (ES3 syntax errors)
34
- * [Docs] Switch from vb.teelaun.ch to versionbadg.es for the npm version badge SVG
35
- * [Refactor] Don't use yoda conditions
36
- * [Refactor] `is.equal` can return earlier in some cases (#16)
37
- * [Tests] Quote "throws" (ES3 syntax error)
38
- * [Tests] up to `io.js` `v3.3`, up to `node` `v4.1`
39
- * [Dev Deps] add `npm run eslint`
40
- * [Dev Deps] update `tape`, `covert`, `jscs`
41
-
42
- 3.0.1 / 2015-02-22
43
- ==================
44
- * Version bump to resolve npm bug with v3.0.0
45
-
46
- 3.0.0 / 2015-02-21
47
- ==================
48
- * is.empty should return true for falsy values ([#13](https://github.com/enricomarino/is/issues/13), [#14](https://github.com/enricomarino/is/issues/14))
49
- * All grade A-supported `node`/`iojs` versions now ship with an `npm` that understands `^`.
50
- * Test on `iojs` `v1.2` and `v1.3`, `node` `v0.12`; speed up builds; allow failures on all but two latest minor versions.
51
- * Update `jscs`
52
-
53
- 2.2.1 / 2015-02-06
54
- ==================
55
- * Update `tape`, `jscs`
56
- * `toString` breaks in some browsers; using `toStr` instead.
57
-
58
- 2.2.0 / 2014-11-29
59
- ==================
60
- * Update `tape`, `jscs`
61
- * Add `is.symbol`
62
-
63
- 2.1.0 / 2014-10-21
64
- ==================
65
- * Add `CHANGELOG.md`
66
- * Add `is.hex` and `is.base64` [#12](https://github.com/enricomarino/is/issues/12)
67
- * Update `tape`, `jscs`
68
- * Lock `covert` to v1.0.0 [substack/covert#9](https://github.com/substack/covert/issues/9)
69
-
70
- 2.0.2 / 2014-10-05
71
- ==================
72
- * `undefined` can be redefined in ES3 browsers.
73
- * Update `jscs.json` and make style consistent
74
- * Update `foreach`, `jscs`, `tape`
75
- * Naming URLs in README
76
-
77
- 2.0.1 / 2014-09-02
78
- ==================
79
- * Add the license to package.json
80
- * Add license and downloads badges
81
- * Update `jscs`
82
-
83
- 2.0.0 / 2014-08-25
84
- ==================
85
- * Add `make release`
86
- * Update copyright notice.
87
- * Fix is.empty(new String())
88
-
89
- 1.1.0 / 2014-08-22
90
- ==================
91
- * Removing redundant license
92
- * Add a non-deprecated method for is.null
93
- * Use a more reliable valueOf coercion for is.false/is.true
94
- * Clean up `README.md`
95
- * Running `npm run lint` as part of tests.
96
- * Fixing lint errors.
97
- * Adding `npm run lint`
98
- * Updating `covert`
99
-
100
- 1.0.0 / 2014-08-07
101
- ==================
102
- * Update `tape`, `covert`
103
- * Increase code coverage
104
- * Update `LICENSE.md`, `README.md`
105
-
106
- 0.3.0 / 2014-03-02
107
- ==================
108
- * Update `tape`, `covert`
109
- * Adding `npm run coverage`
110
- * is.arguments -> is.args, because reserved words.
111
- * "undefined" is a reserved word in ES3 browsers.
112
- * Optimizing is.equal to return early if value and other are strictly equal.
113
- * Fixing is.equal for objects.
114
- * Test improvements
115
-
116
- 0.2.7 / 2013-12-26
117
- ==================
118
- * Update `tape`, `foreach`
119
- * is.decimal(Infinity) shouldn't be true [#11](https://github.com/enricomarino/is/issues/11)
120
-
121
- 0.2.6 / 2013-05-06
122
- ==================
123
- * Fix lots of tests [#9](https://github.com/enricomarino/is/issues/9)
124
- * Update tape [#8](https://github.com/enricomarino/is/issues/8)
125
-
126
- 0.2.5 / 2013-04-24
127
- ==================
128
- * Use `tap` instead of `tape` [#7](https://github.com/enricomarino/is/issues/7)
129
-
package/LICENSE.md DELETED
@@ -1,23 +0,0 @@
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 DELETED
@@ -1,17 +0,0 @@
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/component.json DELETED
@@ -1,8 +0,0 @@
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
- }