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

async-array-buffer-worker

Package Overview
Dependencies
Maintainers
1
Versions
182
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-array-buffer-worker - npm Package Compare versions

Comparing version 4.0.2 to 5.0.0

build/es2018/helpers/allocate.d.ts

28

package.json

@@ -14,3 +14,3 @@ {

"tslib": "^1.9.3",
"worker-factory": "^3.0.2"
"worker-factory": "^4.0.0"
},

@@ -23,7 +23,6 @@ "description": "The worker which is used by the async-array-buffer package.",

"@babel/preset-env": "^7.1.0",
"@commitlint/cli": "^7.1.2",
"@commitlint/cli": "^7.2.0",
"@commitlint/config-angular": "^7.1.2",
"babel-loader": "^8.0.4",
"chai": "^4.2.0",
"commitizen": "^2.10.1",
"commitizen": "^3.0.2",
"cz-conventional-changelog": "^2.1.0",

@@ -38,5 +37,4 @@ "eslint": "^5.6.1",

"grunt-tslint": "^5.0.2",
"grunt-webpack": "^3.1.3",
"gruntify-eslint": "^5.0.0",
"husky": "^1.0.1",
"husky": "^1.1.1",
"karma": "^3.0.0",

@@ -53,18 +51,16 @@ "karma-chrome-launcher": "^2.2.0",

"mocha": "^5.2.0",
"rollup": "^0.66.2",
"rollup": "^0.66.4",
"rollup-plugin-babel": "^4.0.3",
"sinon": "^6.3.4",
"sinon": "^6.3.5",
"sinon-chai": "^3.2.0",
"ts-loader": "^5.2.1",
"tsconfig-holy-grail": "^6.0.11",
"tsconfig-holy-grail": "^7.0.1",
"tslint": "^5.11.0",
"tslint-config-holy-grail": "^35.1.3",
"tslint-config-holy-grail": "^36.0.2",
"typescript": "^3.1.1",
"uglifyjs-webpack-plugin": "^1.3.0",
"webpack": "^4.20.2"
},
"files": [
"build/es2015/",
"build/es2018/",
"build/es5/",
"build/esm/",
"src/"

@@ -81,3 +77,3 @@ ],

"main": "build/es5/bundle.js",
"module": "build/esm/module.js",
"module": "build/es2018/module.js",
"name": "async-array-buffer-worker",

@@ -92,4 +88,4 @@ "repository": {

},
"types": "build/es2015/module.d.ts",
"version": "4.0.2"
"types": "build/es2018/module.d.ts",
"version": "5.0.0"
}

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

import { createWorker } from 'worker-factory';
import { TWorkerImplementation, createWorker } from 'worker-factory';
import { allocate } from './helpers/allocate';

@@ -8,3 +8,3 @@ import { IAsyncArrayBufferWorkerCustomDefinition } from './interfaces';

createWorker<IAsyncArrayBufferWorkerCustomDefinition>(self, {
createWorker<IAsyncArrayBufferWorkerCustomDefinition>(self, <TWorkerImplementation<IAsyncArrayBufferWorkerCustomDefinition>> {
allocate: ({ length }) => {

@@ -11,0 +11,0 @@ const arrayBuffer = allocate(length);

{
"compilerOptions": {
"strictFunctionTypes": false
},
"extends": "../node_modules/tsconfig-holy-grail/src/tsconfig-web-worker"
}
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