Skip to content

Commit

Permalink
[Deps] update es-abstract
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Aug 28, 2023
1 parent 793301b commit 3ecdf79
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 132 deletions.
2 changes: 1 addition & 1 deletion aos/AddValueToKeyedGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

var callBound = require('call-bind/callBound');
var GetIntrinsic = require('get-intrinsic');
var SameValue = require('es-abstract/2022/SameValue');
var SameValue = require('es-abstract/2023/SameValue');

var $TypeError = GetIntrinsic('%TypeError%');

Expand Down
26 changes: 11 additions & 15 deletions aos/GroupBy.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@
var GetIntrinsic = require('get-intrinsic');

var AddValueToKeyedGroup = require('./AddValueToKeyedGroup');
var Call = require('es-abstract/2022/Call');
var GetIterator = require('es-abstract/2022/GetIterator');
var IsCallable = require('es-abstract/2022/IsCallable');
var IteratorClose = require('./IteratorClose');
var IteratorStep = require('./IteratorStep');
var IteratorValue = require('es-abstract/2022/IteratorValue');
var Call = require('es-abstract/2023/Call');
var GetIterator = require('es-abstract/2023/GetIterator');
var IsCallable = require('es-abstract/2023/IsCallable');
var IteratorClose = require('es-abstract/2023/IteratorClose');
var IteratorStep = require('es-abstract/2023/IteratorStep');
var IteratorValue = require('es-abstract/2023/IteratorValue');
var RequireObjectCoercible = require('es-abstract/2023/RequireObjectCoercible');
var ThrowCompletion = require('es-abstract/2023/ThrowCompletion');
var ToPropertyKey = require('es-abstract/2023/ToPropertyKey');

var maxSafeInteger = require('es-abstract/helpers/maxSafeInteger');
var RequireObjectCoercible = require('es-abstract/2022/RequireObjectCoercible');
var ThrowCompletion = require('es-abstract/2022/ThrowCompletion');
var ToPropertyKey = require('es-abstract/2022/ToPropertyKey');

var $TypeError = GetIntrinsic('%TypeError%');

Expand All @@ -29,12 +30,7 @@ module.exports = function GroupBy(items, callbackfn, coercion) {

var groups = []; // step 3

var iterator = GetIterator(items); // step 4
var iteratorRecord = { // TODO: remove this once GetIterator is on ES2023+
'[[Iterator]]': iterator,
'[[NextMethod]]': iterator.next,
'[[Done]]': false // eslint-disable-line sort-keys
};
var iteratorRecord = GetIterator(items, 'sync'); // step 4

var k = 0; // step 5

Expand Down
67 changes: 0 additions & 67 deletions aos/IteratorClose.js

This file was deleted.

28 changes: 0 additions & 28 deletions aos/IteratorNext.js

This file was deleted.

18 changes: 0 additions & 18 deletions aos/IteratorStep.js

This file was deleted.

4 changes: 2 additions & 2 deletions implementation.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

var CreateDataPropertyOrThrow = require('es-abstract/2022/CreateDataPropertyOrThrow');
var OrdinaryObjectCreate = require('es-abstract/2022/OrdinaryObjectCreate');
var CreateDataPropertyOrThrow = require('es-abstract/2023/CreateDataPropertyOrThrow');
var OrdinaryObjectCreate = require('es-abstract/2023/OrdinaryObjectCreate');

var forEach = require('es-abstract/helpers/forEach');

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"dependencies": {
"call-bind": "^1.0.2",
"define-properties": "^1.2.0",
"es-abstract": "^1.21.2",
"es-abstract": "^1.22.1",
"get-intrinsic": "^1.2.1"
},
"auto-changelog": {
Expand Down

0 comments on commit 3ecdf79

Please sign in to comment.