Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

poku

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

poku - npm Package Compare versions

Comparing version 2.6.1 to 2.6.2-canary.d9851de

2

lib/configs/poku.js

@@ -10,2 +10,2 @@ "use strict";

};
exports.VERSION = '2.6.1';
exports.VERSION = '2.6.2-canary.d9851de';
export declare const todo: (message: string, _cb?: () => unknown) => boolean;
export declare function skip(message: string, _cb: () => Promise<unknown>): Promise<void>;
export declare function skip(message: string, _cb: () => unknown): void;
export declare function skip(_cb: () => Promise<unknown>): Promise<void>;
export declare function skip(_cb: () => unknown): void;

@@ -10,5 +10,19 @@ "use strict";

exports.todo = todo;
function skip(messageOrCb, _cb) {
async function skip(messageOrCb, _cb) {
const message = (typeof messageOrCb === 'string' && messageOrCb) || 'Skipping';
write_js_1.Write.log(`${indentation_js_1.indentation.hasDescribe ? ' ' : ''}${(0, format_js_1.format)(`◯ ${message}`).info().bold()}`);
if (typeof messageOrCb === 'function') {
const isAsync = messageOrCb.constructor.name === 'AsyncFunction';
if (isAsync)
return await Promise.resolve();
return;
}
if (typeof _cb === 'function') {
const isAsync = _cb.constructor.name === 'AsyncFunction';
if (isAsync)
return await Promise.resolve();
return;
}
}
{
"name": "poku",
"version": "2.6.1",
"version": "2.6.2-canary.d9851de",
"description": "🐷 Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.",

@@ -5,0 +5,0 @@ "main": "./lib/modules/index.js",

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