@parcel/events 2.12.0 → 2.13.1

Sign up to get free protection for your applications and to get access to all the features.
package/lib/Disposable.js CHANGED
@@ -12,7 +12,7 @@ function _assert() {
12
12
  return data;
13
13
  }
14
14
  var _errors = require("./errors");
15
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
16
16
  /*
17
17
  * A general-purpose disposable class. It can normalize disposable-like values
18
18
  * (such as single functions or IDisposables), as well as hold multiple
@@ -21,7 +21,6 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
21
21
  class Disposable {
22
22
  disposed = false;
23
23
  #disposables /*: ?Set<DisposableLike> */;
24
-
25
24
  constructor(...disposables) {
26
25
  this.#disposables = new Set(disposables);
27
26
  }
package/lib/index.js CHANGED
@@ -24,4 +24,4 @@ Object.defineProperty(exports, "ValueEmitter", {
24
24
  var _Disposable = _interopRequireDefault(require("./Disposable"));
25
25
  var _ValueEmitter = _interopRequireDefault(require("./ValueEmitter"));
26
26
  var _errors = require("./errors");
27
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/events",
3
- "version": "2.12.0",
3
+ "version": "2.13.1",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -16,7 +16,7 @@
16
16
  "main": "lib/index.js",
17
17
  "source": "src/index.js",
18
18
  "engines": {
19
- "node": ">= 12.0.0"
19
+ "node": ">= 16.0.0"
20
20
  },
21
- "gitHead": "2059029ee91e5f03a273b0954d3e629d7375f986"
21
+ "gitHead": "4a297f79db3eec74437f4c5133127c98bf303703"
22
22
  }