Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@arms/rum-core

Package Overview
Dependencies
Maintainers
5
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arms/rum-core - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

4

lib/model/client.js

@@ -47,3 +47,5 @@ "use strict";

var res = processor.process(ctx);
ctx.setRumEvent(res);
if (res) {
ctx.setRumEvent(res);
}
}

@@ -50,0 +52,0 @@ }

@@ -5,1 +5,5 @@ export type IsFnHelper<T = unknown> = (value: unknown) => value is T;

export declare const isUndefined: IsFnHelper<undefined>;
export declare const isString: IsFnHelper<string>;
export declare function isToString<T = unknown>(value: unknown, type: string): value is T;
export declare const isArray: IsFnHelper<unknown[]>;
export declare const isRegExp: IsFnHelper<string>;
"use strict";
exports.__esModule = true;
exports.isFunction = void 0;
exports.isString = exports.isRegExp = exports.isFunction = exports.isArray = void 0;
exports.isToString = isToString;
exports.isTypeof = isTypeof;

@@ -15,2 +16,14 @@ exports.isUndefined = void 0;

return isTypeof(value, 'undefined');
};
var isString = exports.isString = function isString(value) {
return isTypeof(value, 'string');
};
function isToString(value, type) {
return Object.prototype.toString.call(value) === "[object " + type + "]";
}
var isArray = exports.isArray = function isArray(value) {
return isToString(value, 'Array');
};
var isRegExp = exports.isRegExp = function isRegExp(value) {
return isToString(value, 'RegExp');
};
{
"name": "@arms/rum-core",
"version": "0.0.3",
"version": "0.0.4",
"description": "arms rum javascript sdk core",

@@ -5,0 +5,0 @@ "author": "guangli.fj <guangli.fj@alibaba-inc.com>",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc