poku 2.4.2 → 2.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  Enjoying **Poku**? Give him a star to show your support 🌟
7
7
 
8
8
  [![NPM Downloads](https://img.shields.io/npm/v/poku.svg?label=&color=70a1ff&logo=npm&logoColor=white)](https://www.npmjs.com/package/poku)
9
- [![NPM Downloads](https://img.shields.io/npm/dt/poku.svg?label=&logo=npm&logoColor=white&color=45aaf2)](https://www.npmjs.com/package/poku)
9
+ [![NPM Downloads](https://img.shields.io/npm/dm/poku.svg?label=&logo=npm&logoColor=white&color=45aaf2)](https://www.npmjs.com/package/poku)
10
10
  [![Coverage](https://img.shields.io/codecov/c/github/wellwelwel/poku?label=&logo=codecov&logoColor=white&color=98cc00)](https://github.com/wellwelwel/poku/tree/main/.nycrc)<br />
11
11
  [![GitHub Workflow Status (Linux)](https://img.shields.io/github/actions/workflow/status/wellwelwel/poku/ci_coverage-linux.yml?event=push&label=&branch=main&logo=ubuntu&logoColor=8897a9&color=dfe4ea)](https://github.com/wellwelwel/poku/actions/workflows/ci_coverage-linux.yml?query=branch%3Amain)
12
12
  [![GitHub Workflow Status (OSX)](https://img.shields.io/github/actions/workflow/status/wellwelwel/poku/ci_coverage-osx.yml?event=push&label=&branch=main&logo=apple&logoColor=8897a9&color=dfe4ea)](https://github.com/wellwelwel/poku/actions/workflows/ci_coverage-osx.yml?query=branch%3Amain)
@@ -270,7 +270,7 @@ To see the detailed documentation, please visit the [**Documentation**](https://
270
270
  - [~**130x** lighter than **Jest**](https://pkg-size.dev/jest)
271
271
  - [~**30x** lighter than **Mocha** + **Chai**](https://pkg-size.dev/mocha%20chai)
272
272
 
273
- > **Poku** size is highly significant in development to ensure cost-saving **CI** that require servers that charge for storage and usage.
273
+ > **Poku** size ensures _cost-saving_ **CI** for services that charge for storage and usage.
274
274
 
275
275
  ---
276
276
 
@@ -7,4 +7,4 @@ exports.results = {
7
7
  skip: 0,
8
8
  todo: 0,
9
9
  };
10
- exports.VERSION = '2.4.2';
10
+ exports.VERSION = '2.4.3';
@@ -1,27 +1,4 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
2
  var __importDefault = (this && this.__importDefault) || function (mod) {
26
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
4
  };
@@ -29,18 +6,19 @@ var _a;
29
6
  Object.defineProperty(exports, "__esModule", { value: true });
30
7
  exports.processAsyncAssert = exports.processAssert = void 0;
31
8
  const node_assert_1 = require("assert");
32
- const node_process_1 = __importStar(require("process"));
9
+ const node_process_1 = __importDefault(require("process"));
33
10
  const node_path_1 = __importDefault(require("path"));
34
11
  const find_file_from_stack_js_1 = require("../parsers/find-file-from-stack.js");
35
12
  const assert_js_1 = require("../parsers/assert.js");
36
13
  const indentation_js_1 = require("../configs/indentation.js");
37
14
  const format_js_1 = require("./format.js");
38
15
  const write_js_1 = require("./write.js");
39
- const cwd = (0, node_process_1.cwd)();
16
+ const cwd = node_process_1.default.cwd();
40
17
  const regexFile = /file:(\/\/)?/;
41
18
  const assertProcessor = () => {
42
- const isPoku = typeof (node_process_1.env === null || node_process_1.env === void 0 ? void 0 : node_process_1.env.FILE) === 'string' && (node_process_1.env === null || node_process_1.env === void 0 ? void 0 : node_process_1.env.FILE.length) > 0;
43
- const FILE = node_process_1.env.FILE;
19
+ var _a, _b;
20
+ const isPoku = typeof ((_a = node_process_1.default.env) === null || _a === void 0 ? void 0 : _a.FILE) === 'string' && ((_b = node_process_1.default.env) === null || _b === void 0 ? void 0 : _b.FILE.length) > 0;
21
+ const FILE = node_process_1.default.env.FILE;
44
22
  let preIdentation = '';
45
23
  const handleSuccess = (options) => {
46
24
  if (typeof options.message === 'string') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "poku",
3
- "version": "2.4.2",
3
+ "version": "2.4.3",
4
4
  "description": "🐷 Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.",
5
5
  "main": "./lib/modules/index.js",
6
6
  "license": "MIT",
@@ -65,10 +65,10 @@
65
65
  "@types/node": "^22.1.0",
66
66
  "c8": "^10.1.2",
67
67
  "jsonc.min": "^1.0.0",
68
- "monocart-coverage-reports": "^2.10.1",
68
+ "monocart-coverage-reports": "^2.10.2",
69
69
  "packages-update": "^2.0.0",
70
70
  "prettier": "^3.3.3",
71
- "tsx": "4.16.5",
71
+ "tsx": "4.17.0",
72
72
  "typescript": "^5.5.4"
73
73
  },
74
74
  "keywords": [