Socket
Socket
Sign inDemoInstall

pvtsutils

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pvtsutils - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

4

build/index.es.js

@@ -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": {

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