Comparing version 1.0.10 to 1.0.11
@@ -157,3 +157,5 @@ /** | ||
static isBufferSource(data) { | ||
return ArrayBuffer.isView(data) || data instanceof ArrayBuffer; | ||
return ArrayBuffer.isView(data) | ||
|| data instanceof ArrayBuffer | ||
|| (data && data.buffer instanceof ArrayBuffer); | ||
} | ||
@@ -160,0 +162,0 @@ } |
@@ -8,3 +8,3 @@ /** | ||
typeof define === 'function' && define.amd ? define(['exports'], factory) : | ||
(global = global || self, factory(global.pvtsutils = {})); | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.pvtsutils = {})); | ||
}(this, (function (exports) { 'use strict'; | ||
@@ -164,3 +164,5 @@ | ||
static isBufferSource(data) { | ||
return ArrayBuffer.isView(data) || data instanceof ArrayBuffer; | ||
return ArrayBuffer.isView(data) | ||
|| data instanceof ArrayBuffer | ||
|| (data && data.buffer instanceof ArrayBuffer); | ||
} | ||
@@ -167,0 +169,0 @@ } |
export declare function assign(target: any, ...sources: any[]): any; | ||
export declare function combine(...buf: ArrayBuffer[]): ArrayBuffer | SharedArrayBuffer; | ||
export declare function combine(...buf: ArrayBuffer[]): ArrayBufferLike; | ||
export declare function isEqual(bytes1: ArrayBuffer, bytes2: ArrayBuffer): boolean; |
{ | ||
"name": "pvtsutils", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"description": "pvtsutils is a set of common utility functions used in various Peculiar Ventures TypeScript based projects.", | ||
@@ -52,16 +52,15 @@ "main": "build/index.js", | ||
"homepage": "https://github.com/PeculiarVentures/pvtsutils#readme", | ||
"dependencies": { | ||
"tslib": "^1.10.0" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@types/mocha": "^7.0.2", | ||
"@types/mocha": "^8.0.0", | ||
"@types/node": "^12.12.18", | ||
"coveralls": "^3.0.9", | ||
"mocha": "^7.1.0", | ||
"nyc": "^15.0.0", | ||
"coveralls": "^3.1.0", | ||
"mocha": "^8.1.0", | ||
"nyc": "^15.1.0", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.0.6", | ||
"rollup-plugin-typescript2": "^0.25.3", | ||
"ts-node": "^8.6.2", | ||
"typescript": "^3.8.3" | ||
"rollup": "^2.23.0", | ||
"rollup-plugin-typescript2": "^0.27.1", | ||
"ts-node": "^8.10.2", | ||
"tslib": "^2.0.0", | ||
"typescript": "^3.9.7" | ||
}, | ||
@@ -68,0 +67,0 @@ "nyc": { |
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
21792
0
446
11
- Removedtslib@^1.10.0
- Removedtslib@1.14.1(transitive)