Skip to content

Commit 8622e9a

Browse files
committed
[Deps] update es-abstract
1 parent cc912cd commit 8622e9a

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"capIsNewExceptions": [
1010
"StringCharCodeAt",
1111
"RequireObjectCoercible",
12-
"ToInteger",
12+
"ToIntegerOrInfinity",
1313
"ToString",
1414
],
1515
}],

implementation.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
'use strict';
44

5-
var callBound = require('es-abstract/helpers/callBound');
6-
var RequireObjectCoercible = require('es-abstract/2019/RequireObjectCoercible');
7-
var ToString = require('es-abstract/2019/ToString');
8-
var ToInteger = require('es-abstract/2019/ToInteger');
5+
var callBound = require('call-bind/callBound');
6+
var RequireObjectCoercible = require('es-abstract/2024/RequireObjectCoercible');
7+
var ToString = require('es-abstract/2024/ToString');
8+
var ToIntegerOrInfinity = require('es-abstract/2024/ToIntegerOrInfinity');
99
var StringCharCodeAt = callBound('String.prototype.charCodeAt');
1010

1111
module.exports = function codePointAt(position) {
1212
var O = RequireObjectCoercible(this);
1313
var string = ToString(O);
1414
var size = string.length;
15-
var index = ToInteger(position);
15+
var index = ToIntegerOrInfinity(position);
1616
// Account for out-of-bounds indices:
1717
if (index < 0 || index >= size) {
1818
return undefined;

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@
3939
"cover": "istanbul cover --report html --verbose --dir coverage tape 'tests/*.js'"
4040
},
4141
"dependencies": {
42-
"es-abstract": "^1.17.5"
42+
"call-bind": "^1.0.7",
43+
"es-abstract": "^1.23.3"
4344
},
4445
"devDependencies": {
4546
"@es-shims/api": "^2.5.1",
4647
"@ljharb/eslint-config": "^21.1.1",
47-
"call-bind": "^1.0.7",
4848
"define-properties": "^1.2.1",
4949
"eslint": "=8.8.0",
5050
"function-bind": "^1.1.2",

0 commit comments

Comments
 (0)