@applitools/utils
Advanced tools
Comparing version 1.6.0 to 1.6.1
# Changelog | ||
## [1.6.1](https://github.com/applitools/eyes.sdk.javascript1/compare/js/utils@1.6.0...js/utils@1.6.1) (2023-09-25) | ||
### Bug Fixes | ||
* add browser entry point declaration and test ([#1933](https://github.com/applitools/eyes.sdk.javascript1/issues/1933)) ([5ba0720](https://github.com/applitools/eyes.sdk.javascript1/commit/5ba0720d62a9af8a9a2e1c2437c569e6ab19afd8)) | ||
### Code Refactoring | ||
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b)) | ||
## [1.6.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/utils@1.5.2...js/utils@1.6.0) (2023-09-04) | ||
@@ -4,0 +16,0 @@ |
@@ -29,3 +29,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.promises = exports.math = exports.geometry = exports.general = exports.guard = exports.types = void 0; | ||
exports.math = exports.queues = exports.promises = exports.geometry = exports.general = exports.guard = exports.types = void 0; | ||
__exportStar(require("./utility-types"), exports); | ||
@@ -36,3 +36,4 @@ exports.types = __importStar(require("./types")); | ||
exports.geometry = __importStar(require("./geometry")); | ||
exports.promises = __importStar(require("./promises")); | ||
exports.queues = __importStar(require("./queues")); | ||
exports.math = __importStar(require("./math")); | ||
exports.promises = __importStar(require("./promises")); |
"use strict"; | ||
/* eslint {"@typescript-eslint/ban-types": ["error", {"types": {"Function": false}}]} */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.instanceOf = exports.has = exports.isEnumValue = exports.isFunction = exports.isEmpty = exports.isPlainObject = exports.isObject = exports.isArray = exports.isInteger = exports.isNumber = exports.isHttpUrl = exports.isBase64 = exports.isString = exports.isBoolean = exports.isNull = exports.isDefined = exports.isNotDefined = void 0; | ||
exports.instanceOf = exports.has = exports.isEnumValue = exports.isFunction = exports.isEmpty = exports.isPlainObject = exports.isObject = exports.isArray = exports.isUint8Array = exports.isAnyArrayBuffer = exports.isInteger = exports.isNumber = exports.isHttpUrl = exports.isBase64 = exports.isString = exports.isBoolean = exports.isNull = exports.isDefined = exports.isNotDefined = void 0; | ||
function isNotDefined(value) { | ||
@@ -48,2 +48,10 @@ return (isNull(value) || | ||
exports.isInteger = isInteger; | ||
function isAnyArrayBuffer(value) { | ||
return !!value && (value[Symbol.toStringTag] === 'ArrayBuffer' || value[Symbol.toStringTag] === 'SharedArrayBuffer'); | ||
} | ||
exports.isAnyArrayBuffer = isAnyArrayBuffer; | ||
function isUint8Array(value) { | ||
return !!value && value[Symbol.toStringTag] === 'Uint8Array'; | ||
} | ||
exports.isUint8Array = isUint8Array; | ||
function isArray(value) { | ||
@@ -50,0 +58,0 @@ return Array.isArray(value); |
{ | ||
"name": "@applitools/utils", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"keywords": [ | ||
@@ -50,2 +50,3 @@ "applitools", | ||
"devDependencies": { | ||
"@applitools/test-utils": "^1.5.17", | ||
"@types/node": "^12.20.55" | ||
@@ -52,0 +53,0 @@ }, |
@@ -6,3 +6,4 @@ export * from './utility-types'; | ||
export * as geometry from './geometry'; | ||
export * as promises from './promises'; | ||
export * as queues from './queues'; | ||
export * as math from './math'; | ||
export * as promises from './promises'; |
@@ -10,2 +10,4 @@ export declare function isNotDefined(value: any): boolean; | ||
export declare function isInteger(value: any): value is number; | ||
export declare function isAnyArrayBuffer(value: any): value is ArrayBufferLike; | ||
export declare function isUint8Array(value: any): value is Uint8Array | Uint8ClampedArray; | ||
export declare function isArray<T = any>(value: any): value is T[]; | ||
@@ -12,0 +14,0 @@ export declare function isObject(value: any): value is Record<PropertyKey, any>; |
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
79198
1459
2