Socket
Socket
Sign inDemoInstall

do

Package Overview
Dependencies
0
Maintainers
5
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.12 to 0.5.13

2

do.js

@@ -144,3 +144,3 @@ 'use strict';

expectKeys,
expected: expectKeys ? expected.length : expected,
expected: expectKeys ? expectKeys.size : expected,
keys: new Set(),

@@ -147,0 +147,0 @@ count: 0,

{
"name": "do",
"version": "0.5.12",
"version": "0.5.13",
"description": "The simplest way to manage asynchronicity",

@@ -51,5 +51,5 @@ "license": "MIT",

"diff": "^4.0.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint": "^7.0.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"metatests": "^0.7.1",

@@ -56,0 +56,0 @@ "prettier": "^1.19.1"

@@ -47,2 +47,17 @@ 'use strict';

metatests.test('data collector', test => {
const expectedResult = { foo: 1, bar: 2 };
const dc = collect(['foo', 'bar', 'foo'])
.done((err, result) => {
test.error(err);
test.strictSame(result, expectedResult);
test.end();
})
.timeout(1000);
dc.pick('foo', 1);
dc.pick('bar', 2);
});
metatests.test('data collector', test => {
const expectedResult = {

@@ -49,0 +64,0 @@ key1: 1,

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc