We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
gopd
1 parent 3006bd7 commit 45827eaCopy full SHA for 45827ea
index.js
@@ -8,7 +8,7 @@ var typedArrays = require('available-typed-arrays')();
8
var getters = {};
9
var hasProto = require('has-proto')();
10
11
-var gOPD = Object.getOwnPropertyDescriptor;
+var gOPD = require('gopd');
12
var oDP = Object.defineProperty;
13
if (gOPD) {
14
var getByteOffset = function (x) {
package.json
@@ -58,6 +58,7 @@
58
"available-typed-arrays": "^1.0.6",
59
"call-bind": "^1.0.7",
60
"for-each": "^0.3.3",
61
+ "gopd": "^1.0.1",
62
"has-proto": "^1.0.1",
63
"is-typed-array": "^1.1.13"
64
},
0 commit comments