pud.dev 0.0.1 → 0.0.2
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/LICENSE +21 -0
- package/README.md +53 -27
- package/THIRD-PARTY-NOTICES +112 -0
- package/chunk-224av1ab.js +10 -0
- package/chunk-fstxscck.js +3 -0
- package/chunk-h90k6v7w.js +3 -0
- package/chunk-k7a83qqm.js +3 -0
- package/cli.js +37 -0
- package/index.js +2 -0
- package/lean/index.js +880 -0
- package/package.json +28 -19
- package/project-runner.js +2 -0
- package/types/assistant.d.ts +200 -0
- package/types/check.d.ts +55 -0
- package/types/expressions.d.ts +47 -0
- package/types/input-scope.d.ts +4 -0
- package/types/lean/command.d.ts +14 -0
- package/types/lean/index.d.ts +5 -0
- package/types/lean/number.d.ts +4 -0
- package/types/lean/program.d.ts +26 -0
- package/types/lean/replay-predicate.d.ts +5 -0
- package/types/lean/replay.d.ts +6 -0
- package/types/lean/scalar.d.ts +23 -0
- package/types/lean/subject.d.ts +25 -0
- package/types/lean/syntax.d.ts +42 -0
- package/types/module.d.ts +9 -0
- package/types/prover-process.d.ts +7 -0
- package/types/run.d.ts +30 -0
- package/types/source.d.ts +5 -0
- package/types/suite-authoring.d.ts +117 -0
- package/types/suite-check.d.ts +10 -0
- package/types/suite.d.ts +44 -0
- package/CLAUDE.md +0 -106
- package/scripts/pack.ts +0 -67
- package/scripts/setup-lean.ts +0 -88
- package/src/assistant.ts +0 -131
- package/src/check.ts +0 -173
- package/src/cli.ts +0 -70
- package/src/expressions.ts +0 -65
- package/src/input-scope.ts +0 -71
- package/src/lean/command.ts +0 -40
- package/src/lean/index.ts +0 -437
- package/src/lean/iteration.lean +0 -145
- package/src/lean/lean-assets.d.ts +0 -4
- package/src/lean/number.lean +0 -427
- package/src/lean/number.ts +0 -25
- package/src/lean/program.ts +0 -110
- package/src/lean/replay-predicate.ts +0 -95
- package/src/lean/replay.ts +0 -136
- package/src/lean/scalar.lean +0 -183
- package/src/lean/scalar.ts +0 -196
- package/src/lean/subject.ts +0 -443
- package/src/lean/syntax.ts +0 -287
- package/src/module.ts +0 -110
- package/src/project-runner.ts +0 -26
- package/src/prover-process.ts +0 -16
- package/src/reporter.ts +0 -173
- package/src/run.ts +0 -60
- package/src/source.ts +0 -54
- package/src/suite-authoring.ts +0 -135
- package/src/suite-check.ts +0 -157
- package/src/suite.ts +0 -515
- package/src/terminal-progress.ts +0 -145
- package/src/terminal.ts +0 -41
- package/test/authoring.test.ts +0 -151
- package/test/lean.test.ts +0 -394
- package/test/module.test.ts +0 -55
- package/test/number.test.ts +0 -318
- package/test/package.test.ts +0 -170
- package/test/suite.test.ts +0 -257
- package/tsconfig.json +0 -7
- package/tsconfig.pack.json +0 -12
- /package/{src/index.ts → types/index.d.ts} +0 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Rory McMeekin
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,46 +1,72 @@
|
|
|
1
|
-
|
|
1
|
+
[](https://pud.dev)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Write a property beside a TypeScript function. Pud translates the function and the property into Lean, then checks whether the property holds for every input you describe.
|
|
4
|
+
|
|
5
|
+
[Website](https://pud.dev) · [Worked examples](https://github.com/PudHQ/pud/tree/main/packages/pud/.examples) · [How to read a proof result](https://dex.pud.dev/notes/handbook/engineering/reading-a-proof-result/)
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
bun add -d pud.dev
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Pud runs on Bun. With Bun installed, try `npx pud.dev --help` to see the commands. The example below uses Lean 4.19.0. If you use Elan to manage Lean, run `elan override set leanprover/lean4:v4.19.0` in your project. [Install Bun](https://bun.com/docs/installation) · [Install Lean](https://lean-lang.org/install/)
|
|
4
14
|
|
|
5
15
|
## Configure a proof assistant
|
|
6
16
|
|
|
7
|
-
Create `pud.config.ts`
|
|
17
|
+
Create `pud.config.ts` in your project root.
|
|
8
18
|
|
|
9
19
|
```ts
|
|
10
|
-
import { defineConfig } from "
|
|
11
|
-
import { leanAdapter } from "
|
|
12
|
-
|
|
13
|
-
const pud = defineConfig({ adapter: leanAdapter() });
|
|
20
|
+
import { defineConfig } from "pud.dev";
|
|
21
|
+
import { leanAdapter } from "pud.dev/lean";
|
|
14
22
|
|
|
15
|
-
export default
|
|
23
|
+
export default defineConfig({ adapter: leanAdapter() });
|
|
16
24
|
```
|
|
17
25
|
|
|
18
|
-
|
|
26
|
+
## Prove a rounding rule
|
|
19
27
|
|
|
20
|
-
|
|
28
|
+
How should a function round half a cent? JavaScript’s `Math.round` sends ties toward positive infinity, so `12.5` rounds to `13` and `-12.5` rounds to `-12`.
|
|
21
29
|
|
|
22
|
-
|
|
30
|
+
```ts
|
|
31
|
+
// cents.ts
|
|
32
|
+
export function toCents(amount: number): number {
|
|
33
|
+
return Math.round(amount * 100);
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Describe the rounding rule in a file beside it.
|
|
23
38
|
|
|
24
39
|
```ts
|
|
25
|
-
|
|
40
|
+
// cents.proof.ts
|
|
41
|
+
import { describe, expect, it, pud } from "pud.dev";
|
|
26
42
|
import { toCents } from "./cents.ts";
|
|
27
43
|
|
|
28
44
|
describe(toCents, () => {
|
|
29
|
-
it("
|
|
45
|
+
it("rounds to the nearest cent, with ties toward positive infinity", {
|
|
30
46
|
amount: pud.number(),
|
|
31
47
|
}, ({ amount }) => {
|
|
32
|
-
expect(toCents(amount)).toExactly(
|
|
48
|
+
expect(toCents(amount)).toExactly(
|
|
49
|
+
pud.number().nearestIntegerTo(amount * 100, { ties: "up" }),
|
|
50
|
+
);
|
|
33
51
|
});
|
|
34
52
|
});
|
|
35
53
|
```
|
|
36
54
|
|
|
37
|
-
|
|
55
|
+
```sh
|
|
56
|
+
npx pud check cents.proof.ts
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
A `PASS` proves the rule for every JavaScript number in the adapter’s model. The rule rounds the binary64 product `amount * 100`, including any rounding that happened during multiplication. Run `npx pud --emit cents.proof.ts` to read the theorem Lean checked.
|
|
60
|
+
|
|
61
|
+
## Writing properties
|
|
62
|
+
|
|
63
|
+
With `.toExactly()`, the function must return an answer accepted by the schema, and the schema must exclude every other answer. Change the rule to `.refine(cents => Number.isInteger(cents))` and enable replay. At an amount of zero, Pud shows that both 0 and 1 cent satisfy the weaker rule. The CLI labels exact result claims `[exact result]`.
|
|
38
64
|
|
|
39
|
-
Start with the inputs the caller may actually supply. Each `given()` narrows that promise. Here, requiring an already-integral scaled amount would exclude precisely the fractions that need rounding. Choose the rounding policy independently of the implementation.
|
|
65
|
+
Start with the inputs the caller may actually supply. Each `given()` narrows that promise. Here, requiring an already-integral scaled amount would exclude precisely the fractions that need rounding. Choose the rounding policy independently of the implementation. For example, `toCents(1.005)` returns 100.
|
|
40
66
|
|
|
41
|
-
Use `pud.number()` for ordinary TypeScript numbers. The Lean adapter models binary64 arithmetic, including fractions, overflow and signed zero. Numeric `.eq()` and `toEqual()` use JavaScript strict equality, so the two zeros compare equal and NaN compares unequal to itself. Use `.sameValue(value)` to express `Object.is` equality, including the sign of zero. Exact result schemas use that same distinction when checking uniqueness, and also support bigint and boolean returns. [Motion time conversions](.examples/motion/seconds.proof.ts) · [Currency rounding](.examples/cents.proof.ts)
|
|
67
|
+
Use `pud.number()` for ordinary TypeScript numbers. The Lean adapter models binary64 arithmetic, including fractions, overflow and signed zero. Numeric `.eq()` and `toEqual()` use JavaScript strict equality, so the two zeros compare equal and NaN compares unequal to itself. Use `.sameValue(value)` to express `Object.is` equality, including the sign of zero. Exact result schemas use that same distinction when checking uniqueness, and also support bigint and boolean returns. [Motion time conversions](https://github.com/PudHQ/pud/blob/main/packages/pud/.examples/motion/seconds.proof.ts) · [Currency rounding](https://github.com/PudHQ/pud/blob/main/packages/pud/.examples/cents.proof.ts)
|
|
42
68
|
|
|
43
|
-
Use `.to()` for an invariant. For example, `expect(clamp(value, lower, upper)).to(pud.bigint().gte(lower).lte(upper))` guarantees bounds when `lower <= upper`. A clamp that always returns the lower bound also satisfies this property. [Clamp sidecar](.examples/clamp.proof.ts)
|
|
69
|
+
Use `.to()` for an invariant. For example, `expect(clamp(value, lower, upper)).to(pud.bigint().gte(lower).lte(upper))` guarantees bounds when `lower <= upper`. A clamp that always returns the lower bound also satisfies this property. [Clamp sidecar](https://github.com/PudHQ/pud/blob/main/packages/pud/.examples/clamp.proof.ts)
|
|
44
70
|
|
|
45
71
|
Use `pud.bigint()`, `pud.boolean()`, and `pud.array(item)` for the other supported inputs. Chain bounds such as `.gte()` and `.lte()`, or add a predicate with `.refine(value => …)`. Refinements work on input and result schemas. Use `given()` to relate inputs.
|
|
46
72
|
|
|
@@ -50,7 +76,7 @@ expect(arrayContains(values, target)).to(pud.boolean().refine(found =>
|
|
|
50
76
|
));
|
|
51
77
|
```
|
|
52
78
|
|
|
53
|
-
`pud.exists` and `pud.forall` quantify over the elements of an array or the values admitted by a scalar schema. Compose symbolic predicates with `pud.and`, `pud.or`, `pud.not`, `pud.implies`, and `pud.iff`. Pud translates the callbacks from source. [Supported domains and operators](.examples/README.md#sidecar-syntax)
|
|
79
|
+
`pud.exists` and `pud.forall` quantify over the elements of an array or the values admitted by a scalar schema. Compose symbolic predicates with `pud.and`, `pud.or`, `pud.not`, `pud.implies`, and `pud.iff`. Pud translates the callbacks from source. [Supported domains and operators](https://github.com/PudHQ/pud/blob/main/packages/pud/.examples/README.md#sidecar-syntax)
|
|
54
80
|
|
|
55
81
|
Run `pud check cents.proof.ts` to certify the claim or `pud --emit cents.proof.ts` to see the quantified theorem. `pud check --deny-cases` makes CI reject recognized example cases. It flags a parameterless check or literal equalities on every parameter, including simple `given()` and refinement equalities or matching inclusive bounds. A fixed policy threshold, a fixed result or one fixed argument in a larger domain can all belong in a law. The guard recognizes explicit syntax. More complex preconditions can still describe a singleton or an empty domain. `it.todo(title)` records a pending property.
|
|
56
82
|
|
|
@@ -64,7 +90,7 @@ With the Lean adapter, `describe(encode, …)` supplies the input signature and
|
|
|
64
90
|
expect(decode(encode(value))).to(pud.bigint().eq(value));
|
|
65
91
|
```
|
|
66
92
|
|
|
67
|
-
Use `expect(call()).toEqual(reference())` to compare two linked, nonthrowing calls that return the same scalar type. The sidecar can supply input constraints with `given()` before the check. The generated claim links and compares both implementations. [Availability example](.examples/availability/README.md)
|
|
93
|
+
Use `expect(call()).toEqual(reference())` to compare two linked, nonthrowing calls that return the same scalar type. The sidecar can supply input constraints with `given()` before the check. The generated claim links and compares both implementations. [Availability example](https://github.com/PudHQ/pud/blob/main/packages/pud/.examples/availability/README.md)
|
|
68
94
|
|
|
69
95
|
With `leanAdapter({ replay: true })`, an open scalar result predicate or call equality can produce a concrete counterexample. Pud filters candidate inputs through the supported schema and `given()` conditions, runs the frozen TypeScript in Bun, and reports the input and observed result on a violation. Native predicates and quantified assertions are outside replay. Only the proof assistant can establish a pass. Enable replay for source you trust to execute.
|
|
70
96
|
|
|
@@ -74,7 +100,7 @@ A property can also assert the exact class of a modeled exception. The callback
|
|
|
74
100
|
expect(() => divide(numerator, divisor)).toThrow("RangeError");
|
|
75
101
|
```
|
|
76
102
|
|
|
77
|
-
`.to()` requires a successful return. `.toThrow()` accepts `"Error"`, `"RangeError"`, or `"TypeError"` in Lean suites. [Supported calls, outcomes, and termination](.examples/README.md#what-a-pass-establishes)
|
|
103
|
+
`.to()` requires a successful return. `.toThrow()` accepts `"Error"`, `"RangeError"`, or `"TypeError"` in Lean suites. [Supported calls, outcomes, and termination](https://github.com/PudHQ/pud/blob/main/packages/pud/.examples/README.md#what-a-pass-establishes)
|
|
78
104
|
|
|
79
105
|
### Use native proof code
|
|
80
106
|
|
|
@@ -82,7 +108,7 @@ Import `pud` from your config when a property needs native code. Both `pud.descr
|
|
|
82
108
|
|
|
83
109
|
```ts
|
|
84
110
|
import pud from "./pud.config";
|
|
85
|
-
import { lean } from "
|
|
111
|
+
import { lean } from "pud.dev/lean";
|
|
86
112
|
import { increment } from "./increment";
|
|
87
113
|
|
|
88
114
|
pud.describe(increment, ({ it, expect }) => {
|
|
@@ -94,13 +120,13 @@ pud.describe(increment, ({ it, expect }) => {
|
|
|
94
120
|
});
|
|
95
121
|
```
|
|
96
122
|
|
|
97
|
-
Use `.satisfies()` to add a native predicate to a schema and `.by()` to supply a proof of the whole property. A `lean` template can interpolate TypeScript expressions in scope, and `lean.ref("Namespace.name", ...args)` can name a predicate or theorem. Register a local helper file with `use(lean.module("./helper.lean"))`. [Lean examples and supported types](.examples/README.md)
|
|
123
|
+
Use `.satisfies()` to add a native predicate to a schema and `.by()` to supply a proof of the whole property. A `lean` template can interpolate TypeScript expressions in scope, and `lean.ref("Namespace.name", ...args)` can name a predicate or theorem. Register a local helper file with `use(lean.module("./helper.lean"))`. [Lean examples and supported types](https://github.com/PudHQ/pud/blob/main/packages/pud/.examples/README.md)
|
|
98
124
|
|
|
99
125
|
### Use the library
|
|
100
126
|
|
|
101
127
|
```ts
|
|
102
|
-
import { check, emit } from "
|
|
103
|
-
import { leanAdapter } from "
|
|
128
|
+
import { check, emit } from "pud.dev";
|
|
129
|
+
import { leanAdapter } from "pud.dev/lean";
|
|
104
130
|
|
|
105
131
|
const adapter = leanAdapter();
|
|
106
132
|
const report = await check("clamp.proof.ts", { adapter });
|
|
@@ -109,10 +135,10 @@ const unit = await emit("clamp.proof.ts", { adapter, property: "keeps the result
|
|
|
109
135
|
|
|
110
136
|
`checkFiles(files, { adapter })` applies the same override to a batch and runs the supplied adapter in the caller’s process. When Pud loads the project config, each `check`, `checkFiles`, or `emit` call starts a fresh Bun process. Suites in one batch share its loaded modules. The next call picks up edits to the config and its imports. Project logs go to stderr so the CLI can pipe a JSON report or an emitted unit through stdout.
|
|
111
137
|
|
|
112
|
-
An adapter implements `ProofAssistant` from
|
|
138
|
+
An adapter implements `ProofAssistant` from `pud.dev` and supplies a stable assistant ID. Its `prepare` method reads the named TypeScript export from the supplied snapshot and returns its signature, an emitter, and a verifier. Pud binds one `ProofClaim` per active property and checks its native term IDs against the adapter. Switch on `claim.kind` to handle a return rule (`"return"`), equality with a reference call (`"equal"`), or an expected exception (`"throw"`). Exact return rules carry `exactResult: true`. For a custom native tag, import `native` from `pud.dev` and declare `const term = native("assistant-id")` at file scope before `pud.describe`. [Adapter contract](https://github.com/PudHQ/pud/blob/main/packages/pud/src/assistant.ts)
|
|
113
139
|
|
|
114
140
|
Use `checkFiles(files, { onProgress })` for a live view. Suite events declare the queue and total item count. Each active property index appears in exactly one `finished` event during a completed run. Its status is at the same position in `statuses`. Pending properties stay out of the count. The `validating` event precedes the input snapshot check. The returned reports carry the final verdicts.
|
|
115
141
|
|
|
116
142
|
## Development
|
|
117
143
|
|
|
118
|
-
Follow the [workspace setup](
|
|
144
|
+
Follow the [workspace setup](https://github.com/PudHQ/pud#workspace) and run `bun run test` from the root. Run `bun run pack:cli` to write the self-contained archive to `dist/`. The archive contains the executable, both public entry points, and their TypeScript declarations.
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
@babel/helper-string-parser@8.1.2
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2014-present Sebastian McKenzie and other contributors
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
8
|
+
a copy of this software and associated documentation files (the
|
|
9
|
+
"Software"), to deal in the Software without restriction, including
|
|
10
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
11
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
12
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
13
|
+
the following conditions:
|
|
14
|
+
|
|
15
|
+
The above copyright notice and this permission notice shall be
|
|
16
|
+
included in all copies or substantial portions of the Software.
|
|
17
|
+
|
|
18
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
19
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
20
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
21
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
22
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
23
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
24
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
@babel/helper-validator-identifier@8.0.6
|
|
28
|
+
|
|
29
|
+
MIT License
|
|
30
|
+
|
|
31
|
+
Copyright (c) 2014-present Sebastian McKenzie and other contributors
|
|
32
|
+
|
|
33
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
34
|
+
a copy of this software and associated documentation files (the
|
|
35
|
+
"Software"), to deal in the Software without restriction, including
|
|
36
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
37
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
38
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
39
|
+
the following conditions:
|
|
40
|
+
|
|
41
|
+
The above copyright notice and this permission notice shall be
|
|
42
|
+
included in all copies or substantial portions of the Software.
|
|
43
|
+
|
|
44
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
45
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
46
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
47
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
48
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
49
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
50
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
@babel/parser@8.1.2
|
|
54
|
+
|
|
55
|
+
Copyright (C) 2012-2014 by various contributors (see AUTHORS)
|
|
56
|
+
|
|
57
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
58
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
59
|
+
in the Software without restriction, including without limitation the rights
|
|
60
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
61
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
62
|
+
furnished to do so, subject to the following conditions:
|
|
63
|
+
|
|
64
|
+
The above copyright notice and this permission notice shall be included in
|
|
65
|
+
all copies or substantial portions of the Software.
|
|
66
|
+
|
|
67
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
68
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
69
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
70
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
71
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
72
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
73
|
+
THE SOFTWARE.
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
@babel/types@8.1.2
|
|
77
|
+
|
|
78
|
+
MIT License
|
|
79
|
+
|
|
80
|
+
Copyright (c) 2014-present Sebastian McKenzie and other contributors
|
|
81
|
+
|
|
82
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
83
|
+
a copy of this software and associated documentation files (the
|
|
84
|
+
"Software"), to deal in the Software without restriction, including
|
|
85
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
86
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
87
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
88
|
+
the following conditions:
|
|
89
|
+
|
|
90
|
+
The above copyright notice and this permission notice shall be
|
|
91
|
+
included in all copies or substantial portions of the Software.
|
|
92
|
+
|
|
93
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
94
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
95
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
96
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
97
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
98
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
99
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
chalk@6.0.1
|
|
103
|
+
|
|
104
|
+
MIT License
|
|
105
|
+
|
|
106
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
107
|
+
|
|
108
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
109
|
+
|
|
110
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
111
|
+
|
|
112
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|