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 1.9.1 to 1.9.2

6

lib/@types/background-process.d.ts

@@ -9,2 +9,8 @@ import { Runner } from './runner.js';

*
* ---
*
* ℹ️ `startAfter` is case sensitive.
*
* ---
*
* @default undefined

@@ -11,0 +17,0 @@ */

8

lib/@types/poku.d.ts

@@ -59,7 +59,7 @@ import type { Configs as ListFilesConfigs } from './list-files.js';

* ```ts
* beforeEach(prepare)
* beforeEach(() => myFunc())
* ```
*
* ```ts
* beforeEach('/tools/prepare.ts')
* beforeEach(async () => await myAsyncFunc())
* ```

@@ -74,7 +74,7 @@ */

* ```ts
* afterEach(cleanup)
* afterEach(() => myFunc())
* ```
*
* ```ts
* afterEach('/tools/cleanup.ts')
* afterEach(async () => await myAsyncFunc())
* ```

@@ -81,0 +81,0 @@ */

@@ -8,3 +8,3 @@ "use strict";

cb: undefined,
assert: true,
assert: false,
test: true,

@@ -15,5 +15,5 @@ },

cb: undefined,
assert: true,
assert: false,
test: true,
},
};

@@ -1,4 +0,4 @@

import type { Configs } from '../@types/poku.ts';
import type { Configs } from '../@types/poku.js';
export declare const supportedPlatforms: ReadonlyArray<Configs['platform']>;
export declare const platformIsValid: (platform: unknown) => platform is "node" | "bun" | "deno" | undefined;
export declare const getRuntime: (configs?: Configs) => (typeof supportedPlatforms)[number];

@@ -29,3 +29,3 @@ "use strict";

each_js_1.each.before.assert =
typeof (options === null || options === void 0 ? void 0 : options.assert) === 'boolean' ? options.assert : true;
typeof (options === null || options === void 0 ? void 0 : options.assert) === 'boolean' ? options.assert : false;
(options === null || options === void 0 ? void 0 : options.immediate) && callback();

@@ -72,3 +72,3 @@ each_js_1.each.before.cb = () => {

each_js_1.each.after.assert =
typeof (options === null || options === void 0 ? void 0 : options.assert) === 'boolean' ? options.assert : true;
typeof (options === null || options === void 0 ? void 0 : options.assert) === 'boolean' ? options.assert : false;
each_js_1.each.after.cb = () => {

@@ -75,0 +75,0 @@ if (each_js_1.each.after.status)

{
"name": "poku",
"version": "1.9.1",
"version": "1.9.2",
"description": "🐷 Poku makes testing easy for Node.js, Bun & Deno at the same time.",

@@ -9,3 +9,4 @@ "main": "./lib/index.js",

"pretest:c8": "npm run build",
"test:c8": "c8 --include 'src/**' --exclude 'src/@types/**' --reporter=text --reporter=lcov npx poku --parallel --debug test/unit,test/integration,test/e2e",
"test:c8": "c8 --reporter=text --reporter=lcov npm run test:e2e",
"test:e2e": "npx poku --parallel ci/test/unit,ci/test/integration,ci/test/e2e",
"test:ci": "tsx ./test/ci.test.ts",

@@ -12,0 +13,0 @@ "test:node": "FILTER='node-' npm run test:ci",

[node-version-url]: https://github.com/nodejs/node
[node-version-image]: https://img.shields.io/badge/Node.js->=6.0.0-badc58
[node-version-image]: https://img.shields.io/badge/Node.js->=%206.0.0-badc58
[bun-version-url]: https://github.com/oven-sh/bun
[bun-version-image]: https://img.shields.io/badge/Bun->=0.5.3-f471b5
[bun-version-image]: https://img.shields.io/badge/Bun->=%200.5.3-f471b5
[deno-version-url]: https://github.com/denoland/deno
[deno-version-image]: https://img.shields.io/badge/Deno->=1.30.0-70ffaf
[deno-version-image]: https://img.shields.io/badge/Deno->=%201.30.0-70ffaf
[typescript-url]: https://github.com/microsoft/TypeScript
[typescript-version-image]: https://img.shields.io/badge/TypeScript->=5.0.2-3077c6
[typescript-version-image]: https://img.shields.io/badge/TypeScript->=%204.7.2-3077c6
[ci-url]: https://github.com/wellwelwel/poku/actions/workflows/ci.yml?query=branch%3Amain

@@ -18,14 +18,13 @@ [ci-image]: https://img.shields.io/github/actions/workflow/status/wellwelwel/poku/ci.yml?event=push&style=flat&label=CI&branch=main

<div align="center">
<img width="170" height="170" alt="Logo" src="https://raw.githubusercontent.com/wellwelwel/poku/main/.github/assets/readme/poku.svg">
# Poku
<img align="right" width="128" height="128" alt="Logo" src="https://raw.githubusercontent.com/wellwelwel/poku/main/.github/assets/readme/poku.svg">
**Poku** can show you _how simple testing can be_ 🌱
[**English**](https://poku.io/docs) | [**PortuguΓͺs (BR)**](https://poku.io/pt-BR/docs)
**Poku** is your Test Runner Pet for [**Node.js**][node-version-url], [**Bun**][bun-version-url] and [**Deno**][deno-version-url].
[![Node.js Version][node-version-image]][node-version-url]
[![Bun Version][bun-version-image]][bun-version-url]
[![Deno Version][deno-version-image]][deno-version-url]
[![TypeScript Version][typescript-version-image]][typescript-url]
[![TypeScript Version][typescript-version-image]][typescript-url]<br />
[![GitHub Workflow Status (with event)][ci-image]][ci-url]

@@ -36,29 +35,40 @@ [![GitHub Workflow Status (with event)][ql-image]][ql-url]

<!-- ![Codecov](https://img.shields.io/codecov/c/github/wellwelwel/poku?label=Coverage) -->
Enjoying **Poku**? Consider giving him a star ⭐️
</div>
---
🐷 [**Documentation**](https://poku.io) β€’ πŸ§ͺ [**Examples**](https://poku.io/docs/category/examples) β€’ πŸ”¬ [**Compare the Most Popular Test Runners**](https://poku.io/docs/comparing)
<div align="center">
🐷 [**Documentation**](https://poku.io)<span>&nbsp;&nbsp;β€’&nbsp;&nbsp;</span>πŸ§ͺ [**Examples**](https://poku.io/docs/category/examples)<span>&nbsp;&nbsp;β€’&nbsp;&nbsp;</span>πŸ”¬ [**Compare the Most Popular Test Runners**](https://poku.io/docs/comparing)
</div>
---
## Why Poku?
## Reasons to Adopt a Poku β†’
**Poku** can show you how simple testing can be 🌱
<img width="16" height="16" alt="check" src="https://raw.githubusercontent.com/wellwelwel/poku/main/.github/assets/readme/check.svg"> No configurations<br />
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><img width="16" height="16" alt="check" src="https://raw.githubusercontent.com/wellwelwel/poku/main/.github/assets/readme/check.svg"> Auto detect **ESM** and **CJS**<br />
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><img width="16" height="16" alt="check" src="https://raw.githubusercontent.com/wellwelwel/poku/main/.github/assets/readme/check.svg"> Auto detect **Typescript** files<br />
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><img width="16" height="16" alt="check" src="https://raw.githubusercontent.com/wellwelwel/poku/main/.github/assets/readme/check.svg"> Don't export your **server** (_just run it_) πŸš€<br />
- No configurations
- Supports **ESM** and **CJS**
- High **isolation** level per file
- **Poku** is [**100%** documented](https://poku.io/docs)
- Zero external dependencies
- **Parallel** and **Sequential** runs
- Designed to be highly intuitive
- Compatible with **Coverage** tools
- [**Node.js**][node-version-url], [**Bun**][bun-version-url] and [**Deno**][deno-version-url] compatibility
- You don't need to learn it all at once to get started πŸ§‘πŸ»β€πŸŽ“
<img width="16" height="16" alt="check" src="https://raw.githubusercontent.com/wellwelwel/poku/main/.github/assets/readme/check.svg"> Less verbose<br />
<img width="16" height="16" alt="check" src="https://raw.githubusercontent.com/wellwelwel/poku/main/.github/assets/readme/check.svg"> High **isolation** level per file<br />
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><img width="16" height="16" alt="check" src="https://raw.githubusercontent.com/wellwelwel/poku/main/.github/assets/readme/check.svg"> No eval needed πŸ”<br />
<img width="16" height="16" alt="check" src="https://raw.githubusercontent.com/wellwelwel/poku/main/.github/assets/readme/check.svg"> **Parallel** and **Sequential** runs πŸƒπŸ½πŸƒπŸ»<br />
> _Poku adapts to your test, not the other way around._
<img width="16" height="16" alt="check" src="https://raw.githubusercontent.com/wellwelwel/poku/main/.github/assets/readme/check.svg"> **Poku** is [**100%** documented](https://poku.io/docs)<br />
<img width="16" height="16" alt="check" src="https://raw.githubusercontent.com/wellwelwel/poku/main/.github/assets/readme/check.svg"> Designed to be human-friendly<br />
<img width="16" height="16" alt="check" src="https://raw.githubusercontent.com/wellwelwel/poku/main/.github/assets/readme/check.svg"> **Poku** doesn't use a global state<br />
<img width="16" height="16" alt="check" src="https://raw.githubusercontent.com/wellwelwel/poku/main/.github/assets/readme/check.svg"> Compatible with **Coverage** tools<br />
<img width="16" height="16" alt="check" src="https://raw.githubusercontent.com/wellwelwel/poku/main/.github/assets/readme/check.svg"> [**Node.js**][node-version-url], [**Bun**][bun-version-url] and [**Deno**][deno-version-url] compatibility 🩡<br />
✨ You are free to work with the packages you desire<br />
πŸ§‘πŸ»β€πŸŽ“ You don't need to learn it all at once to get started <br />
πŸ§‘πŸ»β€πŸ”¬ **Poku** adapts to your test, not the other way around<br />
☁ Zero external dependencies (_that means **lightweight**_) <br />
πŸ‘΄πŸΌ **Poku** doesn't restrict you from testing in legacy environments<br />
---

@@ -256,2 +266,9 @@

## Limitations
- **Poku** is still a bit lonely, without an **active community** around him, but we can change it 🀝
- Each file generates a sub-process during its execution. This can be reflected in projects with an extremely high volume of test files when run in parallel.
---
## Acknowledgements

@@ -258,0 +275,0 @@

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