Skip to content

Commit

Permalink
[Deps] update es-abstract, object.entries
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Sep 7, 2023
1 parent 55fa93c commit c669ff7
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions implementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ var define = require('define-properties');
var callBound = require('call-bind/callBound');
var GetIntrinsic = require('get-intrinsic');
var SLOT = require('internal-slot');
var SameValue = require('es-abstract/2022/SameValue');
var SameValueZero = require('es-abstract/2022/SameValueZero');
var SameValue = require('es-abstract/2023/SameValue');
var SameValueZero = require('es-abstract/2023/SameValueZero');

var MapEntry = require('./lib/map-entry');
var MapIterator = require('./lib/map-iterator');
Expand Down
6 changes: 3 additions & 3 deletions lib/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ var GetIntrinsic = require('get-intrinsic');
var SLOT = require('internal-slot');
var entries = require('object.entries');
var forEach = require('for-each');
var CreateMethodProperty = require('es-abstract/2022/CreateMethodProperty');
var OrdinaryObjectCreate = require('es-abstract/2022/OrdinaryObjectCreate');
var Type = require('es-abstract/2022/Type');
var CreateMethodProperty = require('es-abstract/2023/CreateMethodProperty');
var OrdinaryObjectCreate = require('es-abstract/2023/OrdinaryObjectCreate');
var Type = require('es-abstract/2023/Type');

var $ObjectCreate = GetIntrinsic('%Object.create%', true);

Expand Down
16 changes: 8 additions & 8 deletions lib/map-helpers.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
'use strict';

var Call = require('es-abstract/2022/Call');
var IsArray = require('es-abstract/2022/IsArray');
var IsCallable = require('es-abstract/2022/IsCallable');
var IteratorClose = require('es-abstract/2022/IteratorClose');
var IteratorStep = require('es-abstract/2022/IteratorStep');
var ToString = require('es-abstract/2022/ToString');
var Type = require('es-abstract/2022/Type');
var Call = require('es-abstract/2023/Call');
var IsArray = require('es-abstract/2023/IsArray');
var IsCallable = require('es-abstract/2023/IsCallable');
var IteratorClose = require('es-abstract/2023/IteratorClose');
var IteratorStep = require('es-abstract/2023/IteratorStep');
var ToString = require('es-abstract/2023/ToString');
var Type = require('es-abstract/2023/Type');
var GetIterator = require('es-get-iterator');

var MapIterator = require('./map-iterator');
Expand Down Expand Up @@ -38,7 +38,7 @@ var forEach = function forEach(map, fn, context) {
exports.forEach = forEach;

exports.addIterableToMap = function addIterableToMap(map, iterable) {
if (IsArray(iterable) || Type(iterable) === 'String') {
if (IsArray(iterable) || typeof iterable === 'string') {
for (var i = 0; i < iterable.length; i++) {
var entry = iterable[i];
if (Type(entry) !== 'Object') {
Expand Down
6 changes: 3 additions & 3 deletions lib/map-iterator.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ var SLOT = require('internal-slot');
var setToStringTag = require('es-set-tostringtag');

var GetIntrinsic = require('get-intrinsic');
var CreateIterResultObject = require('es-abstract/2022/CreateIterResultObject');
var CreateMethodProperty = require('es-abstract/2022/CreateMethodProperty');
var OrdinaryObjectCreate = require('es-abstract/2022/OrdinaryObjectCreate');
var CreateIterResultObject = require('es-abstract/2023/CreateIterResultObject');
var CreateMethodProperty = require('es-abstract/2023/CreateMethodProperty');
var OrdinaryObjectCreate = require('es-abstract/2023/OrdinaryObjectCreate');

var requireMapSlot = require('./validation').requireMapSlot;
var addIterator = require('./helpers').addIterator;
Expand Down
4 changes: 2 additions & 2 deletions lib/validation.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use strict';

var SLOT = require('internal-slot');
var ToString = require('es-abstract/2022/ToString');
var Type = require('es-abstract/2022/Type');
var ToString = require('es-abstract/2023/ToString');
var Type = require('es-abstract/2023/Type');

var isMap = function isMap(map) {
return SLOT.has(map, '[[es6map]]');
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,15 @@
"dependencies": {
"call-bind": "^1.0.2",
"define-properties": "^1.2.0",
"es-abstract": "^1.21.2",
"es-abstract": "^1.22.1",
"es-get-iterator": "^1.1.3",
"es-set-tostringtag": "^2.0.1",
"for-each": "^0.3.3",
"get-intrinsic": "^1.2.1",
"globalthis": "^1.0.3",
"has-symbols": "^1.0.3",
"internal-slot": "^1.0.5",
"object.entries": "^1.1.6"
"object.entries": "^1.1.7"
},
"auto-changelog": {
"output": "CHANGELOG.md",
Expand Down
4 changes: 2 additions & 2 deletions shim.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ var getPolyfill = require('./polyfill');
var support = require('./lib/support');
var addIterableToMap = require('./lib/map-helpers').addIterableToMap;

var OrdinarySetPrototypeOf = require('es-abstract/2022/OrdinarySetPrototypeOf');
var Call = require('es-abstract/2022/Call');
var OrdinarySetPrototypeOf = require('es-abstract/2023/OrdinarySetPrototypeOf');
var Call = require('es-abstract/2023/Call');

var force = function () {
return true;
Expand Down
2 changes: 1 addition & 1 deletion test/tests.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

var HasOwnProperty = require('es-abstract/2022/HasOwnProperty');
var HasOwnProperty = require('es-abstract/2023/HasOwnProperty');
var isEnumerable = Object.prototype.propertyIsEnumerable;
var functionsHaveNames = require('functions-have-names')();
var define = require('define-properties');
Expand Down

0 comments on commit c669ff7

Please sign in to comment.