Skip to content

Commit

Permalink
Upgrade events to v3.0.0. (#1839)
Browse files Browse the repository at this point in the history
Upgrade events to v3.0.0.
  • Loading branch information
goto-bus-stop committed Nov 15, 2019
2 parents 16bcf65 + 38f7e1b commit 94931b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -38,7 +38,7 @@
"deps-sort": "^2.0.0",
"domain-browser": "^1.2.0",
"duplexer2": "~0.1.2",
"events": "^2.0.0",
"events": "^3.0.0",
"glob": "^7.1.0",
"has": "^1.0.0",
"htmlescape": "^1.1.0",
Expand Down
2 changes: 1 addition & 1 deletion test/util.js
Expand Up @@ -46,7 +46,7 @@ test('util.inherits without Object.create', function (t) {
b.require('events');

b.bundle(function (err, src) {
var c = { Object : { prototype: Object.prototype } };
var c = { Object : { prototype: Object.prototype, defineProperty: Object.defineProperty } };
vm.runInNewContext(src, c);
var EE = c.require('events').EventEmitter;

Expand Down

0 comments on commit 94931b9

Please sign in to comment.