@kitman-sh/cli 0.12.7 → 0.12.8

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.
Files changed (27) hide show
  1. package/dist/{chunk-q5w3v4k1.js → chunk-0tjg9eya.js} +1 -1
  2. package/dist/{chunk-cbpb2rww.js → chunk-31gpnkq3.js} +5 -5
  3. package/dist/{chunk-gxbcvd4q.js → chunk-3x6cbhzd.js} +4 -4
  4. package/dist/{chunk-mtkstrh3.js → chunk-6d53ezj1.js} +4 -4
  5. package/dist/{chunk-fyvtc3xv.js → chunk-6w7ajkm8.js} +18 -18
  6. package/dist/{chunk-vkg40ysx.js → chunk-93ypzdpa.js} +7 -7
  7. package/dist/{chunk-8b8pw0md.js → chunk-9qp59fht.js} +32 -32
  8. package/dist/{chunk-p7hxrkmf.js → chunk-bh9k3kty.js} +55 -55
  9. package/dist/{chunk-jn7w2ntt.js → chunk-c8hwfktd.js} +7 -7
  10. package/dist/{chunk-0h49y8gf.js → chunk-c8wpw9nh.js} +65 -214
  11. package/dist/{chunk-4w0c1ykv.js → chunk-cr3qw0xf.js} +297 -381
  12. package/dist/{chunk-gq7y5v3e.js → chunk-cw61zyh5.js} +1 -1
  13. package/dist/{chunk-gy9rf14f.js → chunk-fh58za51.js} +3 -3
  14. package/dist/{chunk-4gy4ty6k.js → chunk-gyek54h3.js} +8 -8
  15. package/dist/{chunk-5zhh41gb.js → chunk-j1cnq2j0.js} +4 -4
  16. package/dist/{chunk-gwnyxm1r.js → chunk-jwrs9pfa.js} +107 -107
  17. package/dist/{chunk-5zth85pj.js → chunk-kzwdhdej.js} +2 -2
  18. package/dist/{chunk-azfjx5d8.js → chunk-n9351czb.js} +7 -7
  19. package/dist/{chunk-7dahw7e2.js → chunk-pjpfc3sd.js} +1 -1
  20. package/dist/{chunk-zw3gf6r5.js → chunk-qjqa338f.js} +333 -94
  21. package/dist/{chunk-ywzxwgrz.js → chunk-s5pzy86v.js} +6 -6
  22. package/dist/{chunk-7afnkx5b.js → chunk-tgwa9vqw.js} +6 -6
  23. package/dist/{chunk-fr79hgq2.js → chunk-wcvfkdwd.js} +24 -24
  24. package/dist/{chunk-b9rbh1va.js → chunk-xng6j3a8.js} +1 -1
  25. package/dist/{chunk-y1krmnbv.js → chunk-z5f7g1w1.js} +2 -2
  26. package/dist/index.js +4 -4
  27. package/package.json +1 -1
@@ -14,8 +14,8 @@ import {
14
14
  writeSrtSettings2,
15
15
  srtStepArgv2,
16
16
  srtArgv2
17
- } from "./chunk-0h49y8gf.js";
18
- import"./chunk-zw3gf6r5.js";
17
+ } from "./chunk-c8wpw9nh.js";
18
+ import"./chunk-qjqa338f.js";
19
19
  export {
20
20
  compiled2 as compiled,
21
21
  harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
@@ -12,7 +12,7 @@ import {
12
12
  gen,
13
13
  fail7,
14
14
  flatMap3,
15
- map8,
15
+ map7,
16
16
  mapError2,
17
17
  orDie,
18
18
  provide3,
@@ -24,11 +24,11 @@ import {
24
24
  Record,
25
25
  Int,
26
26
  fromJsonString
27
- } from "./chunk-zw3gf6r5.js";
27
+ } from "./chunk-qjqa338f.js";
28
28
  import {
29
29
  withDefault,
30
30
  String2
31
- } from "./chunk-0h49y8gf.js";
31
+ } from "./chunk-c8wpw9nh.js";
32
32
  import {
33
33
  newerKitmanVersion,
34
34
  digestSha256,
@@ -39,7 +39,7 @@ import {
39
39
  get2,
40
40
  layer4,
41
41
  KitDigest
42
- } from "./chunk-4w0c1ykv.js";
42
+ } from "./chunk-cr3qw0xf.js";
43
43
 
44
44
  // packages/core/src/npm-registry.ts
45
45
  var KitManifest = Struct({
@@ -73,7 +73,7 @@ var PackageJson = Struct({ kitman: optionalKey(Unknown) });
73
73
  var decodePackageJson = decodeUnknownOption(fromJsonString(PackageJson));
74
74
  var decodeManifest = decodeUnknownOption(KitManifest);
75
75
  var decodeJson = decodeUnknownOption(fromJsonString(Unknown));
76
- var gunzip = (bytes) => tryPromise(() => new Response(new Blob([new Uint8Array(bytes)]).stream().pipeThrough(new DecompressionStream("gzip"))).arrayBuffer()).pipe(map8((buffer) => new Uint8Array(buffer)));
76
+ var gunzip = (bytes) => tryPromise(() => new Response(new Blob([new Uint8Array(bytes)]).stream().pipeThrough(new DecompressionStream("gzip"))).arrayBuffer()).pipe(map7((buffer) => new Uint8Array(buffer)));
77
77
  var text = (bytes) => new TextDecoder().decode(bytes).replace(/\0.*$/su, "");
78
78
  var untar = (tar) => {
79
79
  const files = new Map;
@@ -103,7 +103,7 @@ var untar = (tar) => {
103
103
  var registryUrl = String2("NPM_CONFIG_REGISTRY").pipe(withDefault("https://registry.npmjs.org"));
104
104
  var newerOf = (latest, next) => latest === undefined || next !== undefined && newerKitmanVersion(next, latest) ? next : latest;
105
105
  var npmRegistryAt = (url = registryUrl) => {
106
- const base = (isString(url) ? succeed6(url) : orDie(url)).pipe(map8((value) => value.replace(/\/+$/u, "")));
106
+ const base = (isString(url) ? succeed6(url) : orDie(url)).pipe(map7((value) => value.replace(/\/+$/u, "")));
107
107
  const unreachable = (name, version) => (error) => new NpmRegistryError({
108
108
  kind: "unreachable",
109
109
  message: `npm did not answer for ${name}@${version}: ${error.message}; try again`
@@ -131,7 +131,7 @@ var npmRegistryAt = (url = registryUrl) => {
131
131
  const dist = found.versions[version]?.dist;
132
132
  if (dist === undefined)
133
133
  return yield* new NpmRegistryError({ kind: "not_found", message: `npm has no ${name}@${wanted}` });
134
- const tarball = yield* get2(dist.tarball).pipe(flatMap3(filterStatusOk), flatMap3((response) => response.arrayBuffer), map8((buffer) => new Uint8Array(buffer)), mapError2(unreachable(name, version)), provide3(layer4));
134
+ const tarball = yield* get2(dist.tarball).pipe(flatMap3(filterStatusOk), flatMap3((response) => response.arrayBuffer), map7((buffer) => new Uint8Array(buffer)), mapError2(unreachable(name, version)), provide3(layer4));
135
135
  if (!tarballMatches(tarball, dist))
136
136
  return yield* new NpmRegistryError({
137
137
  kind: "integrity",
@@ -4,7 +4,7 @@ import {
4
4
  searchDocs2,
5
5
  readDoc2,
6
6
  pinnedLink2
7
- } from "./chunk-b9rbh1va.js";
7
+ } from "./chunk-xng6j3a8.js";
8
8
  export {
9
9
  DefaultDocsSearchLimit2 as DefaultDocsSearchLimit,
10
10
  pinnedLink2 as pinnedLink,