mocha-compat 3.6.3 → 3.6.4

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/README.md CHANGED
@@ -1,3 +1,14 @@
1
+ # mocha-compat
2
+
3
+ This is mocha-compat, a fork of mocha maintained at https://github.com/kmalakoff/mocha-compat. This
4
+ is the 3.x line (based on mocha 3.5.3), supporting Node 0.10 through 26. Install it via the alias
5
+ `"mocha-compat-3": "npm:mocha-compat@^3.6.4"`, and use the bins `mocha-compat-3` / `_mocha-compat-3`.
6
+ The unhyphenated `mocha-compat` / `_mocha-compat` bins still work as transitional aliases for
7
+ consumers already on them. A 10.x line also exists, on branch `support/10.x`, published as
8
+ `"mocha-compat-10": "npm:mocha-compat@^10"` for Node 12.17+.
9
+
10
+ ---
11
+
1
12
 
2
13
 
3
14
  # Mocha needs YOU!
package/bin/_mocha-compat CHANGED
@@ -116,7 +116,7 @@ program
116
116
  .option('--forbid-only', 'causes test marked with only to fail the suite')
117
117
  .option('--forbid-pending', 'causes pending tests and test marked with skip to fail the suite');
118
118
 
119
- program._name = 'mocha-compat';
119
+ program._name = 'mocha-compat-3';
120
120
 
121
121
  // init command
122
122
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mocha-compat",
3
- "version": "3.6.3",
3
+ "version": "3.6.4",
4
4
  "description": "This is a fork of mocha 3.5.3 to upgrade dependencies to retain support for Node >=0.8 and resolve npm audit issues. Replace mocha-compat wherever you use mocha so they can be used side by side",
5
5
  "keywords": [
6
6
  "mocha",
@@ -288,11 +288,17 @@
288
288
  "license": "MIT",
289
289
  "repository": {
290
290
  "type": "git",
291
- "url": "https://github.com/mochajs/mocha.git"
291
+ "url": "git+https://github.com/kmalakoff/mocha-compat.git"
292
292
  },
293
+ "bugs": {
294
+ "url": "https://github.com/kmalakoff/mocha-compat/issues"
295
+ },
296
+ "homepage": "https://github.com/kmalakoff/mocha-compat#readme",
293
297
  "bin": {
294
- "mocha-compat": "./bin/mocha-compat",
295
- "_mocha-compat": "./bin/_mocha-compat"
298
+ "mocha-compat-3": "bin/mocha-compat",
299
+ "_mocha-compat-3": "bin/_mocha-compat",
300
+ "mocha-compat": "bin/mocha-compat",
301
+ "_mocha-compat": "bin/_mocha-compat"
296
302
  },
297
303
  "engines": {
298
304
  "node": ">= 0.10.x",
@@ -315,7 +321,7 @@
315
321
  "inherits": "2",
316
322
  "is-absolute": "^1.0.0",
317
323
  "json3": "^3.3.2",
318
- "lodash.create": "^3.1.1",
324
+ "lodash.create": "^4.2.0",
319
325
  "minimatch": "^3.1.2",
320
326
  "mkdirp": "^0.5.5",
321
327
  "once": "^1.3.0",
@@ -370,6 +376,5 @@
370
376
  "path": false,
371
377
  "supports-color": false
372
378
  },
373
- "homepage": "https://mochajs.org",
374
379
  "logo": "https://cldup.com/S9uQ-cOLYz.svg"
375
380
  }