@arms/rum-core 0.0.25-beta.15 → 0.0.25-beta.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/types/rum-event.d.ts +1 -0
- package/es/utils/is.js +1 -1
- package/lib/types/rum-event.d.ts +1 -0
- package/lib/utils/is.js +1 -1
- package/package.json +2 -1
package/es/types/rum-event.d.ts
CHANGED
package/es/utils/is.js
CHANGED
|
@@ -26,7 +26,7 @@ export var isNumber = function isNumber(value) {
|
|
|
26
26
|
return isTypeof(value, 'number') && !isNaN(value) || isTypeof(value, 'bigint');
|
|
27
27
|
};
|
|
28
28
|
export var isNull = function isNull(value) {
|
|
29
|
-
return
|
|
29
|
+
return value === null;
|
|
30
30
|
};
|
|
31
31
|
export var isObject = function isObject(value) {
|
|
32
32
|
return !isNull(value) && isTypeof(value, 'object');
|
package/lib/types/rum-event.d.ts
CHANGED
package/lib/utils/is.js
CHANGED
|
@@ -33,7 +33,7 @@ var isNumber = exports.isNumber = function isNumber(value) {
|
|
|
33
33
|
return isTypeof(value, 'number') && !isNaN(value) || isTypeof(value, 'bigint');
|
|
34
34
|
};
|
|
35
35
|
var isNull = exports.isNull = function isNull(value) {
|
|
36
|
-
return
|
|
36
|
+
return value === null;
|
|
37
37
|
};
|
|
38
38
|
var isObject = exports.isObject = function isObject(value) {
|
|
39
39
|
return !isNull(value) && isTypeof(value, 'object');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arms/rum-core",
|
|
3
|
-
"version": "0.0.25-beta.
|
|
3
|
+
"version": "0.0.25-beta.17",
|
|
4
4
|
"description": "arms rum javascript sdk core",
|
|
5
5
|
"author": "guangli.fj <guangli.fj@alibaba-inc.com>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"scripts": {
|
|
21
21
|
"start": "build-scripts build --watch",
|
|
22
22
|
"build": "build-scripts build --skip-demo",
|
|
23
|
+
"prepublishOnly": "npm run build",
|
|
23
24
|
"test": "node ./__tests__/@arms/core.test.js"
|
|
24
25
|
},
|
|
25
26
|
"dependencies": {
|