@rcompat/test 0.6.0 → 0.8.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/lib/private/Assert.d.ts +1 -3
- package/lib/private/Body.d.ts +1 -1
- package/lib/private/End.d.ts +1 -1
- package/lib/private/Suite.d.ts +1 -1
- package/lib/private/equals.js +1 -2
- package/lib/private/repository.d.ts +1 -1
- package/lib/private/to-object.d.ts +1 -1
- package/lib/private/types/fn.d.ts +1 -1
- package/lib/private/types/map.d.ts +1 -1
- package/lib/private/types/record.d.ts +1 -1
- package/lib/private/types/set.d.ts +1 -1
- package/package.json +3 -2
package/lib/private/Assert.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import type Test from "#Test";
|
|
2
|
-
import type Not from "@rcompat/type
|
|
3
|
-
import type Print from "@rcompat/type/Print";
|
|
4
|
-
import type UnknownFunction from "@rcompat/type/UnknownFunction";
|
|
2
|
+
import type { Not, Print, UnknownFunction } from "@rcompat/type";
|
|
5
3
|
type Equals<X, Y> = (<T>() => T extends X ? true : false) extends <T>() => T extends Y ? true : false ? true : false;
|
|
6
4
|
export default class Assert<const Actual> {
|
|
7
5
|
#private;
|
package/lib/private/Body.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type Asserter from "#Asserter";
|
|
2
|
-
import type MaybePromise from "@rcompat/type
|
|
2
|
+
import type { MaybePromise } from "@rcompat/type";
|
|
3
3
|
type Body = (asserter: Asserter) => MaybePromise<void>;
|
|
4
4
|
export { Body as default };
|
|
5
5
|
//# sourceMappingURL=Body.d.ts.map
|
package/lib/private/End.d.ts
CHANGED
package/lib/private/Suite.d.ts
CHANGED
package/lib/private/equals.js
CHANGED
|
@@ -14,8 +14,7 @@ const checks = [
|
|
|
14
14
|
[set.is, (x, y) => set.is(y) && set.equal(x, y)],
|
|
15
15
|
[map.is, (x, y) => map.is(y) && map.equal(x, y)],
|
|
16
16
|
[fn.is, (x, y) => fn.is(y) && fn.equal(x, y)],
|
|
17
|
-
[record.is, (x, y) => record.is(y)
|
|
18
|
-
&& record.equal(x, y)],
|
|
17
|
+
[record.is, (x, y) => record.is(y) && record.equal(x, y)],
|
|
19
18
|
[(_) => true, (_, _1) => false],
|
|
20
19
|
];
|
|
21
20
|
const equals = (x, y) => typeof x === typeof y
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type Body from "#Body";
|
|
2
2
|
import type End from "#End";
|
|
3
3
|
import Suite from "#Suite";
|
|
4
|
-
import type FileRef from "@rcompat/fs
|
|
4
|
+
import type { FileRef } from "@rcompat/fs";
|
|
5
5
|
declare class Repository {
|
|
6
6
|
#private;
|
|
7
7
|
put(name: string, body: Body): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rcompat/test",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Standard library testing",
|
|
5
5
|
"bugs": "https://github.com/rcompat/rcompat/issues",
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"directory": "packages/test"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@rcompat/fs": "^0.
|
|
18
|
+
"@rcompat/fs": "^0.25.0",
|
|
19
|
+
"@rcompat/type": "^0.9.0"
|
|
19
20
|
},
|
|
20
21
|
"type": "module",
|
|
21
22
|
"imports": {
|