New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@slickgrid-universal/utils

Package Overview
Dependencies
Maintainers
0
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@slickgrid-universal/utils - npm Package Compare versions

Comparing version 5.8.0 to 5.9.0

8

dist/cjs/index.js

@@ -17,6 +17,6 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./domUtils"), exports);
__exportStar(require("./nodeExtend"), exports);
__exportStar(require("./stripTagsUtil"), exports);
__exportStar(require("./utils"), exports);
__exportStar(require("./domUtils.js"), exports);
__exportStar(require("./nodeExtend.js"), exports);
__exportStar(require("./stripTagsUtil.js"), exports);
__exportStar(require("./utils.js"), exports);
//# sourceMappingURL=index.js.map

@@ -16,3 +16,3 @@ "use strict";

exports.stripTags = stripTags;
const utils_1 = require("./utils");
const utils_js_1 = require("./utils.js");
const STATE_PLAINTEXT = Symbol('plaintext');

@@ -28,3 +28,3 @@ const STATE_HTML = Symbol('html');

// since there's no html tags to be found but we still expect a string output
if (typeof html !== 'string' && ((0, utils_1.isNumber)(html) || typeof html === 'boolean')) {
if (typeof html !== 'string' && ((0, utils_js_1.isNumber)(html) || typeof html === 'boolean')) {
return String(html);

@@ -31,0 +31,0 @@ }

@@ -28,3 +28,3 @@ "use strict";

exports.uniqueObjectArray = uniqueObjectArray;
const nodeExtend_1 = require("./nodeExtend");
const nodeExtend_js_1 = require("./nodeExtend.js");
/**

@@ -82,3 +82,3 @@ * Add an item to an array only when the item does not exists, when the item is an object we will be using their "id" to compare

const assignment = Array.isArray(objectOrArray) ? [] : {};
return (0, nodeExtend_1.extend)(true, assignment, objectOrArray);
return (0, nodeExtend_js_1.extend)(true, assignment, objectOrArray);
}

@@ -85,0 +85,0 @@ /**

@@ -1,5 +0,5 @@

export * from './domUtils';
export * from './nodeExtend';
export * from './stripTagsUtil';
export * from './utils';
export * from './domUtils.js';
export * from './nodeExtend.js';
export * from './stripTagsUtil.js';
export * from './utils.js';
//# sourceMappingURL=index.js.map

@@ -13,3 +13,3 @@ /**

*/
import { isNumber } from './utils';
import { isNumber } from './utils.js';
const STATE_PLAINTEXT = Symbol('plaintext');

@@ -16,0 +16,0 @@ const STATE_HTML = Symbol('html');

@@ -1,2 +0,2 @@

import { extend } from './nodeExtend';
import { extend } from './nodeExtend.js';
/**

@@ -3,0 +3,0 @@ * Add an item to an array only when the item does not exists, when the item is an object we will be using their "id" to compare

@@ -1,2 +0,3 @@

import type { HtmlElementPosition, InferDOMType } from './models/index';
import type { HtmlElementPosition } from './models/interfaces.js';
import type { InferDOMType } from './models/types.js';
/** calculate available space for each side of the DOM element */

@@ -3,0 +4,0 @@ export declare function calculateAvailableSpace(element: HTMLElement): {

@@ -1,6 +0,7 @@

export * from './domUtils';
export * from './nodeExtend';
export * from './stripTagsUtil';
export type * from './models';
export * from './utils';
export * from './domUtils.js';
export * from './nodeExtend.js';
export * from './stripTagsUtil.js';
export type * from './models/interfaces.js';
export type * from './models/types.js';
export * from './utils.js';
//# sourceMappingURL=index.d.ts.map

@@ -1,2 +0,2 @@

import type { AnyFunction } from './models/types';
import type { AnyFunction } from './models/types.js';
/**

@@ -3,0 +3,0 @@ * Add an item to an array only when the item does not exists, when the item is an object we will be using their "id" to compare

{
"name": "@slickgrid-universal/utils",
"version": "5.8.0",
"version": "5.9.0",
"description": "Common set of small utilities",

@@ -40,3 +40,3 @@ "main": "./dist/cjs/index.js",

],
"gitHead": "b74fb12d31befe4cca33b62d607b72f14f326e7f"
"gitHead": "2f6ea0833a0fd3b59e71c5cf2e228a57afbfc53a"
}

@@ -1,2 +0,3 @@

import type { HtmlElementPosition, InferDOMType } from './models/index';
import type { HtmlElementPosition } from './models/interfaces.js';
import type { InferDOMType } from './models/types.js';

@@ -3,0 +4,0 @@ /** calculate available space for each side of the DOM element */

@@ -1,5 +0,6 @@

export * from './domUtils';
export * from './nodeExtend';
export * from './stripTagsUtil';
export type * from './models';
export * from './utils';
export * from './domUtils.js';
export * from './nodeExtend.js';
export * from './stripTagsUtil.js';
export type * from './models/interfaces.js';
export type * from './models/types.js';
export * from './utils.js';

@@ -14,3 +14,3 @@ /**

import { isNumber } from './utils';
import { isNumber } from './utils.js';

@@ -17,0 +17,0 @@ const STATE_PLAINTEXT = Symbol('plaintext');

@@ -1,3 +0,3 @@

import type { AnyFunction } from './models/types';
import { extend } from './nodeExtend';
import type { AnyFunction } from './models/types.js';
import { extend } from './nodeExtend.js';

@@ -4,0 +4,0 @@ /**

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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