File: 0002-Drop-bluebird.patch

package info (click to toggle)
node-async 3.2.6%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,752 kB
  • sloc: javascript: 13,603; sh: 148; makefile: 126
file content (63 lines) | stat: -rw-r--r-- 1,996 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
From: =?utf-8?q?Bastien_Roucari=C3=A8s?= <rouca@debian.org>
Date: Wed, 29 Oct 2025 13:14:22 +0100
Subject: Drop bluebird

forwarded: not-needed
---
 package.json     |  3 ---
 test/asyncify.js | 18 ------------------
 2 files changed, 21 deletions(-)

diff --git a/package.json b/package.json
index fd41a8d..505f8e8 100644
--- a/package.json
+++ b/package.json
@@ -31,11 +31,9 @@
     "babel-register": "^6.26.0",
     "babelify": "^10.0.0",
     "benchmark": "^2.1.1",
-    "bluebird": "^3.4.6",
     "browserify": "^17.0.0",
     "chai": "^4.2.0",
     "cheerio": "^0.22.0",
-    "es6-promise": "^4.2.8",
     "eslint": "^8.6.0",
     "eslint-plugin-prefer-arrow": "^1.2.3",
     "fs-extra": "^11.1.1",
@@ -47,7 +45,6 @@
     "karma-mocha-reporter": "^2.2.0",
     "karma-safari-launcher": "^1.0.0",
     "mocha": "^6.1.4",
-    "native-promise-only": "^0.8.0-a",
     "nyc": "^17.0.0",
     "rollup": "^4.2.0",
     "rollup-plugin-node-resolve": "^5.2.0",
diff --git a/test/asyncify.js b/test/asyncify.js
index 3417b71..7c292b9 100644
--- a/test/asyncify.js
+++ b/test/asyncify.js
@@ -161,24 +161,6 @@ describe('asyncify', () => {
             });
         }
 
-        describe('native-promise-only', function() {
-            var Promise = require('native-promise-only');
-            promisifiedTests.call(this, Promise);
-        });
-
-        describe('bluebird', function() {
-            var Promise = require('bluebird');
-            // Bluebird reports unhandled rejections to stderr. We handle it because we expect
-            // unhandled rejections:
-            Promise.onPossiblyUnhandledRejection(() => {});
-            promisifiedTests.call(this, Promise);
-        });
-
-        describe('es6-promise', function() {
-            var {Promise} = require('es6-promise');
-            promisifiedTests.call(this, Promise);
-        });
-
         describe('rsvp', function() {
             var {Promise} = require('rsvp');
             promisifiedTests.call(this, Promise);