Comparing version 1.0.1 to 1.0.2
@@ -35,6 +35,6 @@ 'use strict'; | ||
} | ||
FrozenSet.prototype.keys = FrozenSet.prototype.values; | ||
FrozenSet.prototype[Symbol.iterator] = FrozenSet.prototype.values; | ||
Object.defineProperty(FrozenSet.prototype, 'keys', { value: FrozenSet.prototype.values, writable: true, enumerable: false, configurable: true }); | ||
Object.defineProperty(FrozenSet.prototype, Symbol.iterator, { value: FrozenSet.prototype.values, writable: true, enumerable: false, configurable: true }); | ||
Object.defineProperty(FrozenSet.prototype, Symbol.toStringTag, { value: 'FrozenSet', writable: false, enumerable: false, configurable: true }); | ||
module.exports = FrozenSet; |
{ | ||
"name": "frozen-set", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Like Set, but without methods for mutation", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/bakkot/frozen-set", |
@@ -69,6 +69,6 @@ 'use strict'; | ||
} | ||
FrozenSet.prototype.keys = FrozenSet.prototype.values; | ||
FrozenSet.prototype[Symbol.iterator] = FrozenSet.prototype.values; | ||
Object.defineProperty(FrozenSet.prototype, 'keys', { value: FrozenSet.prototype.values, writable: true, enumerable: false, configurable: true }); | ||
Object.defineProperty(FrozenSet.prototype, Symbol.iterator, { value: FrozenSet.prototype.values, writable: true, enumerable: false, configurable: true }); | ||
Object.defineProperty(FrozenSet.prototype, Symbol.toStringTag, { value: 'FrozenSet', writable: false, enumerable: false, configurable: true }); | ||
module.exports = FrozenSet; |
16024