UNPKG
@hclsoftware/secagent
Version:
latest (1.13.0)
1.13.0
1.11.1
1.10.2
1.10.1
1.9.2
1.9.1
1.8.2
1.8.1
1.7.0
1.5.0
1.4.0
1.3.0
1.2.1
1.1.2
1.1.1
1.1.0
1.0.4
1.0.3
1.0.2
1.0.1
IAST agent
@hclsoftware/secagent
/
node_modules
/
es-define-property
/
index.js
15 lines
(12 loc)
•
288 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
'use strict'
;
/**
@type
{
import('.')
} */
var
$defineProperty =
Object
.
defineProperty
||
false
;
if
($defineProperty) {
try
{ $defineProperty({},
'a'
, {
value
:
1
}); }
catch
(e) {
// IE 8 has a broken defineProperty
$defineProperty =
false
; } }
module
.
exports
= $defineProperty;