@jest/schemas
Advanced tools
Comparing version 29.6.3 to 30.0.0-alpha.0
@@ -12,25 +12,28 @@ /** | ||
import {TObject} from '@sinclair/typebox'; | ||
import {TReadonlyOptional} from '@sinclair/typebox'; | ||
import {TOptional} from '@sinclair/typebox'; | ||
import {TReadonly} from '@sinclair/typebox'; | ||
import {TString} from '@sinclair/typebox'; | ||
declare const RawSnapshotFormat: TObject<{ | ||
callToJSON: TReadonlyOptional<TBoolean>; | ||
compareKeys: TReadonlyOptional<TNull>; | ||
escapeRegex: TReadonlyOptional<TBoolean>; | ||
escapeString: TReadonlyOptional<TBoolean>; | ||
highlight: TReadonlyOptional<TBoolean>; | ||
indent: TReadonlyOptional<TNumber>; | ||
maxDepth: TReadonlyOptional<TNumber>; | ||
maxWidth: TReadonlyOptional<TNumber>; | ||
min: TReadonlyOptional<TBoolean>; | ||
printBasicPrototype: TReadonlyOptional<TBoolean>; | ||
printFunctionName: TReadonlyOptional<TBoolean>; | ||
theme: TReadonlyOptional< | ||
TObject<{ | ||
comment: TReadonlyOptional<TString<string>>; | ||
content: TReadonlyOptional<TString<string>>; | ||
prop: TReadonlyOptional<TString<string>>; | ||
tag: TReadonlyOptional<TString<string>>; | ||
value: TReadonlyOptional<TString<string>>; | ||
}> | ||
callToJSON: TOptional<TReadonly<TBoolean>>; | ||
compareKeys: TOptional<TReadonly<TNull>>; | ||
escapeRegex: TOptional<TReadonly<TBoolean>>; | ||
escapeString: TOptional<TReadonly<TBoolean>>; | ||
highlight: TOptional<TReadonly<TBoolean>>; | ||
indent: TOptional<TReadonly<TNumber>>; | ||
maxDepth: TOptional<TReadonly<TNumber>>; | ||
maxWidth: TOptional<TReadonly<TNumber>>; | ||
min: TOptional<TReadonly<TBoolean>>; | ||
printBasicPrototype: TOptional<TReadonly<TBoolean>>; | ||
printFunctionName: TOptional<TReadonly<TBoolean>>; | ||
theme: TOptional< | ||
TReadonly< | ||
TObject<{ | ||
comment: TOptional<TReadonly<TString>>; | ||
content: TOptional<TReadonly<TString>>; | ||
prop: TOptional<TReadonly<TString>>; | ||
tag: TOptional<TReadonly<TString>>; | ||
value: TOptional<TReadonly<TString>>; | ||
}> | ||
> | ||
>; | ||
@@ -40,21 +43,23 @@ }>; | ||
export declare const SnapshotFormat: TObject<{ | ||
callToJSON: TReadonlyOptional<TBoolean>; | ||
compareKeys: TReadonlyOptional<TNull>; | ||
escapeRegex: TReadonlyOptional<TBoolean>; | ||
escapeString: TReadonlyOptional<TBoolean>; | ||
highlight: TReadonlyOptional<TBoolean>; | ||
indent: TReadonlyOptional<TNumber>; | ||
maxDepth: TReadonlyOptional<TNumber>; | ||
maxWidth: TReadonlyOptional<TNumber>; | ||
min: TReadonlyOptional<TBoolean>; | ||
printBasicPrototype: TReadonlyOptional<TBoolean>; | ||
printFunctionName: TReadonlyOptional<TBoolean>; | ||
theme: TReadonlyOptional< | ||
TObject<{ | ||
comment: TReadonlyOptional<TString<string>>; | ||
content: TReadonlyOptional<TString<string>>; | ||
prop: TReadonlyOptional<TString<string>>; | ||
tag: TReadonlyOptional<TString<string>>; | ||
value: TReadonlyOptional<TString<string>>; | ||
}> | ||
callToJSON: TOptional<TReadonly<TBoolean>>; | ||
compareKeys: TOptional<TReadonly<TNull>>; | ||
escapeRegex: TOptional<TReadonly<TBoolean>>; | ||
escapeString: TOptional<TReadonly<TBoolean>>; | ||
highlight: TOptional<TReadonly<TBoolean>>; | ||
indent: TOptional<TReadonly<TNumber>>; | ||
maxDepth: TOptional<TReadonly<TNumber>>; | ||
maxWidth: TOptional<TReadonly<TNumber>>; | ||
min: TOptional<TReadonly<TBoolean>>; | ||
printBasicPrototype: TOptional<TReadonly<TBoolean>>; | ||
printFunctionName: TOptional<TReadonly<TBoolean>>; | ||
theme: TOptional< | ||
TReadonly< | ||
TObject<{ | ||
comment: TOptional<TReadonly<TString>>; | ||
content: TOptional<TReadonly<TString>>; | ||
prop: TOptional<TReadonly<TString>>; | ||
tag: TOptional<TReadonly<TString>>; | ||
value: TOptional<TReadonly<TString>>; | ||
}> | ||
> | ||
>; | ||
@@ -61,0 +66,0 @@ }>; |
@@ -1,9 +0,23 @@ | ||
'use strict'; | ||
/*! | ||
* /** | ||
* * Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* * | ||
* * This source code is licensed under the MIT license found in the | ||
* * LICENSE file in the root directory of this source tree. | ||
* * / | ||
*/ | ||
/******/ (() => { // webpackBootstrap | ||
/******/ "use strict"; | ||
var __webpack_exports__ = {}; | ||
// This entry need to be wrapped in an IIFE because it uses a non-standard name for the exports (exports). | ||
(() => { | ||
var exports = __webpack_exports__; | ||
Object.defineProperty(exports, '__esModule', { | ||
Object.defineProperty(exports, "__esModule", ({ | ||
value: true | ||
}); | ||
})); | ||
exports.SnapshotFormat = void 0; | ||
function _typebox() { | ||
const data = require('@sinclair/typebox'); | ||
const data = require("@sinclair/typebox"); | ||
_typebox = function () { | ||
@@ -21,41 +35,33 @@ return data; | ||
const RawSnapshotFormat = _typebox().Type.Partial( | ||
_typebox().Type.Object({ | ||
callToJSON: _typebox().Type.Readonly(_typebox().Type.Boolean()), | ||
compareKeys: _typebox().Type.Readonly(_typebox().Type.Null()), | ||
escapeRegex: _typebox().Type.Readonly(_typebox().Type.Boolean()), | ||
escapeString: _typebox().Type.Readonly(_typebox().Type.Boolean()), | ||
highlight: _typebox().Type.Readonly(_typebox().Type.Boolean()), | ||
indent: _typebox().Type.Readonly( | ||
_typebox().Type.Number({ | ||
minimum: 0 | ||
}) | ||
), | ||
maxDepth: _typebox().Type.Readonly( | ||
_typebox().Type.Number({ | ||
minimum: 0 | ||
}) | ||
), | ||
maxWidth: _typebox().Type.Readonly( | ||
_typebox().Type.Number({ | ||
minimum: 0 | ||
}) | ||
), | ||
min: _typebox().Type.Readonly(_typebox().Type.Boolean()), | ||
printBasicPrototype: _typebox().Type.Readonly(_typebox().Type.Boolean()), | ||
printFunctionName: _typebox().Type.Readonly(_typebox().Type.Boolean()), | ||
theme: _typebox().Type.Readonly( | ||
_typebox().Type.Partial( | ||
_typebox().Type.Object({ | ||
comment: _typebox().Type.Readonly(_typebox().Type.String()), | ||
content: _typebox().Type.Readonly(_typebox().Type.String()), | ||
prop: _typebox().Type.Readonly(_typebox().Type.String()), | ||
tag: _typebox().Type.Readonly(_typebox().Type.String()), | ||
value: _typebox().Type.Readonly(_typebox().Type.String()) | ||
}) | ||
) | ||
) | ||
}) | ||
); | ||
const SnapshotFormat = _typebox().Type.Strict(RawSnapshotFormat); | ||
exports.SnapshotFormat = SnapshotFormat; | ||
const RawSnapshotFormat = _typebox().Type.Partial(_typebox().Type.Object({ | ||
callToJSON: _typebox().Type.Readonly(_typebox().Type.Boolean()), | ||
compareKeys: _typebox().Type.Readonly(_typebox().Type.Null()), | ||
escapeRegex: _typebox().Type.Readonly(_typebox().Type.Boolean()), | ||
escapeString: _typebox().Type.Readonly(_typebox().Type.Boolean()), | ||
highlight: _typebox().Type.Readonly(_typebox().Type.Boolean()), | ||
indent: _typebox().Type.Readonly(_typebox().Type.Number({ | ||
minimum: 0 | ||
})), | ||
maxDepth: _typebox().Type.Readonly(_typebox().Type.Number({ | ||
minimum: 0 | ||
})), | ||
maxWidth: _typebox().Type.Readonly(_typebox().Type.Number({ | ||
minimum: 0 | ||
})), | ||
min: _typebox().Type.Readonly(_typebox().Type.Boolean()), | ||
printBasicPrototype: _typebox().Type.Readonly(_typebox().Type.Boolean()), | ||
printFunctionName: _typebox().Type.Readonly(_typebox().Type.Boolean()), | ||
theme: _typebox().Type.Readonly(_typebox().Type.Partial(_typebox().Type.Object({ | ||
comment: _typebox().Type.Readonly(_typebox().Type.String()), | ||
content: _typebox().Type.Readonly(_typebox().Type.String()), | ||
prop: _typebox().Type.Readonly(_typebox().Type.String()), | ||
tag: _typebox().Type.Readonly(_typebox().Type.String()), | ||
value: _typebox().Type.Readonly(_typebox().Type.String()) | ||
}))) | ||
})); | ||
const SnapshotFormat = exports.SnapshotFormat = _typebox().Type.Strict(RawSnapshotFormat); | ||
})(); | ||
module.exports = __webpack_exports__; | ||
/******/ })() | ||
; |
{ | ||
"name": "@jest/schemas", | ||
"version": "29.6.3", | ||
"version": "30.0.0-alpha.0", | ||
"repository": { | ||
@@ -15,2 +15,4 @@ "type": "git", | ||
"types": "./build/index.d.ts", | ||
"require": "./build/index.js", | ||
"import": "./build/index.mjs", | ||
"default": "./build/index.js" | ||
@@ -21,6 +23,6 @@ }, | ||
"dependencies": { | ||
"@sinclair/typebox": "^0.27.8" | ||
"@sinclair/typebox": "^0.31.0" | ||
}, | ||
"engines": { | ||
"node": "^14.15.0 || ^16.10.0 || >=18.0.0" | ||
"node": "^16.10.0 || ^18.12.0 || >=20.0.0" | ||
}, | ||
@@ -30,3 +32,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "fb7d95c8af6e0d65a8b65348433d8a0ea0725b5b" | ||
"gitHead": "780ae28333df4d188b2ef78bd19d4ed5bc53562d" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6695
6
127
2
+ Added@sinclair/typebox@0.31.28(transitive)
- Removed@sinclair/typebox@0.27.8(transitive)
Updated@sinclair/typebox@^0.31.0