You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

nextalys-js-helpers

Package Overview
Dependencies
Maintainers
1
Versions
450
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nextalys-js-helpers - npm Package Compare versions

Comparing version

to
0.2.115

2

dist/browser-helpers/browser-helpers.d.ts

@@ -7,3 +7,3 @@ export declare class BrowserHelpers {

static copyToClipboard(str: string): void;
static stripHtml(html: string): string;
static stripHtml(html: string, returnOriginalIfNoDocument?: boolean): string;
static bindIntegerInputEvent(elem: HTMLInputElement, acceptKeys?: number[]): void;

@@ -10,0 +10,0 @@ static bindPhoneInputEvent(elem: HTMLInputElement, acceptKeys?: number[]): void;

@@ -84,5 +84,10 @@ "use strict";

};
BrowserHelpers.stripHtml = function (html) {
if (!document)
BrowserHelpers.stripHtml = function (html, returnOriginalIfNoDocument) {
if (returnOriginalIfNoDocument === void 0) { returnOriginalIfNoDocument = false; }
if (typeof document === 'undefined') {
if (returnOriginalIfNoDocument) {
return html;
}
return '';
}
var tmp = document.createElement("DIV");

@@ -89,0 +94,0 @@ tmp.innerHTML = html;

{
"name": "nextalys-js-helpers",
"version": "0.2.114",
"version": "0.2.115",
"description": "Nextalys Javascript Helpers",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet