@arms/rum-core
Advanced tools
Comparing version 0.0.25-beta.17 to 0.0.25-beta.18
@@ -17,11 +17,23 @@ "use strict"; | ||
var registeredMethod = target[name]; | ||
target[name] = function () { | ||
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | ||
args[_key] = arguments[_key]; | ||
} | ||
callback.apply(this, args); | ||
if (registeredMethod) { | ||
return registeredMethod.apply(this, args); | ||
} | ||
}; | ||
try { | ||
Object.defineProperty(target, name, { | ||
configurable: true, | ||
writable: true | ||
}); | ||
} catch (e) { | ||
// | ||
} | ||
try { | ||
target[name] = function () { | ||
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | ||
args[_key] = arguments[_key]; | ||
} | ||
callback.apply(this, args); | ||
if (registeredMethod) { | ||
return registeredMethod.apply(this, args); | ||
} | ||
}; | ||
} catch (e) { | ||
// | ||
} | ||
} | ||
@@ -28,0 +40,0 @@ |
{ | ||
"name": "@arms/rum-core", | ||
"version": "0.0.25-beta.17", | ||
"version": "0.0.25-beta.18", | ||
"description": "arms rum javascript sdk core", | ||
@@ -8,3 +8,2 @@ "author": "guangli.fj <guangli.fj@alibaba-inc.com>", | ||
"main": "lib/index.js", | ||
"module": "es/index.js", | ||
"directories": { | ||
@@ -15,4 +14,3 @@ "lib": "lib", | ||
"files": [ | ||
"lib", | ||
"es" | ||
"lib" | ||
], | ||
@@ -19,0 +17,0 @@ "publishConfig": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47738
39
1459