@feasibleone/blong 1.4.0 → 1.5.0
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/CHANGELOG.md +8 -0
- package/dist/types.d.ts +7 -0
- package/dist/types.js.map +1 -1
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.5.0](https://github.com/feasibleone/blong/compare/blong-v1.4.0...blong-v1.5.0) (2026-02-04)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* nested test context integration and error reporting capabilities ([9470aa5](https://github.com/feasibleone/blong/commit/9470aa53c9d1d676cd50ff004b3bb0eea491d782))
|
|
9
|
+
* run as TypeScript ([fd7c6b7](https://github.com/feasibleone/blong/commit/fd7c6b7af21a76e88c35fddd9a4158852ac71ff6))
|
|
10
|
+
|
|
3
11
|
## [1.4.0](https://github.com/feasibleone/blong/compare/blong-v1.3.0...blong-v1.4.0) (2026-01-31)
|
|
4
12
|
|
|
5
13
|
|
package/dist/types.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { JavaScriptTypeBuilder, Static, TArray, TBoolean, TFunction, TObject, TS
|
|
|
4
4
|
import { SrvRecord } from 'dns';
|
|
5
5
|
import { EventEmitter } from 'events';
|
|
6
6
|
import { Socket, TcpNetConnectOpts } from 'net';
|
|
7
|
+
import Assert from 'node:assert';
|
|
7
8
|
import { Dirent } from 'node:fs';
|
|
8
9
|
import { Agent } from 'node:http';
|
|
9
10
|
import { Duplex } from 'node:stream';
|
|
@@ -17879,12 +17880,18 @@ export type GatewaySchema = ({
|
|
|
17879
17880
|
};
|
|
17880
17881
|
export type SchemaObject = OpenAPIV3_1.SchemaObject | OpenAPIV2.SchemaObject;
|
|
17881
17882
|
export type PathItemObject = OpenAPIV3_1.PathItemObject | OpenAPIV2.PathItemObject;
|
|
17883
|
+
export type ChainStep = ((assert: typeof Assert, context: {
|
|
17884
|
+
$meta: IMeta;
|
|
17885
|
+
}) => Promise<object>) | object;
|
|
17882
17886
|
export interface ILib {
|
|
17883
17887
|
type: JavaScriptTypeBuilder;
|
|
17884
17888
|
error: <T>(errors: T) => Record<keyof T, (params?: unknown, $meta?: IMeta) => ITypedError>;
|
|
17885
17889
|
rename: <T extends object>(object: T, name: string) => T & {
|
|
17886
17890
|
name: string;
|
|
17887
17891
|
};
|
|
17892
|
+
group: (name: string) => (handlers: ChainStep[]) => ChainStep[] & {
|
|
17893
|
+
name: string;
|
|
17894
|
+
};
|
|
17888
17895
|
ulid: () => string;
|
|
17889
17896
|
uuid4: () => string;
|
|
17890
17897
|
uuid7: () => string;
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../types.ts"],"names":[],"mappings":"AAEA,WAAW;AACX,iBAAiB;AACjB,iBAAiB;AACjB,uBAAuB;AACvB,8BAA8B;AAC9B,aAAa;AACb,oCAAoC;AACpC,OAAO,EACH,IAAI,GASP,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../types.ts"],"names":[],"mappings":"AAEA,WAAW;AACX,iBAAiB;AACjB,iBAAiB;AACjB,uBAAuB;AACvB,8BAA8B;AAC9B,aAAa;AACb,oCAAoC;AACpC,OAAO,EACH,IAAI,GASP,MAAM,mBAAmB,CAAC;AAS3B,OAAO,KAAK,MAAM,mBAAmB,CAAC;AAGtC,WAAW;AACX,iBAAiB;AACjB,iBAAiB;AACjB,uBAAuB;AACvB,8BAA8B;AAC9B,aAAa;AACb,oCAAoC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,MAAM,CAAC;AACrB,cAAc,SAAS,CAAC;AA0iBxB,MAAM,IAAI,GAAW,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;AAE9C,MAAM,OAAgB,QAAQ;IAC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MAAM,CAAC,MAAM,YAAY,GAAG,CACxB,UAAiC,EACZ,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,IAAI,EAAE,EAAC,KAAK,EAAE,cAAc,EAAC,CAAC,CAAC;AAC7F,MAAM,CAAC,MAAM,IAAI,GAAG,CAChB,IAAO,EAUK,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAE9B,eAAe;IACX,OAAO;IACP,OAAO;IACP,UAAU;IACV,GAAG;IACH,KAAK;IACL,MAAM;IACN,OAAO;IACP,OAAO;IACP,YAAY;IACZ,IAAI;CACP,CAAC"}
|
package/package.json
CHANGED
|
@@ -37,12 +37,13 @@
|
|
|
37
37
|
"typescript": "^5.9.3"
|
|
38
38
|
},
|
|
39
39
|
"exports": {
|
|
40
|
-
".": "./
|
|
40
|
+
".": "./types.ts",
|
|
41
|
+
"./types": "./types.ts"
|
|
41
42
|
},
|
|
42
43
|
"scripts": {
|
|
43
44
|
"build": "heft build --clean;dts-bundle-generator --config dts-gen.config.json",
|
|
44
45
|
"ci-publish": "npm publish --access public --provenance"
|
|
45
46
|
},
|
|
46
47
|
"type": "module",
|
|
47
|
-
"version": "1.
|
|
48
|
+
"version": "1.5.0"
|
|
48
49
|
}
|