Skip to content

Commit

Permalink
[Refactor] use es-errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Feb 11, 2024
1 parent f222ce0 commit 1d03d22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion implementation.js
@@ -1,9 +1,9 @@
'use strict';

var setFunctionName = require('set-function-name');
var $TypeError = require('es-errors/type');

var $Object = Object;
var $TypeError = TypeError;

module.exports = setFunctionName(function flags() {
if (this != null && this !== $Object(this)) {
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -42,6 +42,7 @@
"dependencies": {
"call-bind": "^1.0.6",
"define-properties": "^1.2.1",
"es-errors": "^1.3.0",
"set-function-name": "^2.0.1"
},
"devDependencies": {
Expand Down

0 comments on commit 1d03d22

Please sign in to comment.