Skip to content

Commit

Permalink
[Refactor] use gopd
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Mar 20, 2024
1 parent 1d15123 commit 965a357
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -48,6 +48,7 @@
"es-abstract": "^1.22.1",
"es-object-atoms": "^1.0.0",
"get-intrinsic": "^1.2.1",
"gopd": "^1.0.1",
"has-symbols": "^1.0.3",
"internal-slot": "^1.0.5",
"regexp.prototype.flags": "^1.5.0",
Expand Down
3 changes: 2 additions & 1 deletion shim.js
Expand Up @@ -2,11 +2,12 @@

var define = require('define-properties');
var hasSymbols = require('has-symbols')();
var gOPD = require('gopd');

var getPolyfill = require('./polyfill');
var regexpMatchAllPolyfill = require('./polyfill-regexp-matchall');

var defineP = Object.defineProperty;
var gOPD = Object.getOwnPropertyDescriptor;

module.exports = function shimMatchAll() {
var polyfill = getPolyfill();
Expand Down

0 comments on commit 965a357

Please sign in to comment.