Socket
Socket
Sign inDemoInstall

@types/jest-json-schema

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/jest-json-schema - npm Package Compare versions

Comparing version 2.1.3 to 2.1.4

3

jest-json-schema/index.d.ts
// Type definitions for jest-json-schema 2.1
// Project: https://github.com/americanexpress/jest-json-schema#readme
// Definitions by: Igor Korolev <https://github.com/deadNightTiger>
// Matt Scheurich <https://github.com/lvl99>
// Definitions by: Matt Scheurich <https://github.com/lvl99>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -6,0 +5,0 @@ // TypeScript Version: 3.8

{
"name": "@types/jest-json-schema",
"version": "2.1.3",
"version": "2.1.4",
"description": "TypeScript definitions for jest-json-schema",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest-json-schema",
"license": "MIT",
"contributors": [
{
"name": "Igor Korolev",
"url": "https://github.com/deadNightTiger",
"githubUsername": "deadNightTiger"
},
{
"name": "Matt Scheurich",

@@ -30,4 +26,4 @@ "url": "https://github.com/lvl99",

},
"typesPublisherContentHash": "338e74e546ab49bf858acbc29313afac6761cee1085253b0fa787cdb16a7a673",
"typesPublisherContentHash": "8ce071ecb5facb25b03d5952900e45250332bcdf955f9f878da8e6f64fa88636",
"typeScriptVersion": "3.8"
}

@@ -9,5 +9,29 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest-json-schema.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest-json-schema/index.d.ts)
````ts
// Type definitions for jest-json-schema 2.1
// Project: https://github.com/americanexpress/jest-json-schema#readme
// Definitions by: Matt Scheurich <https://github.com/lvl99>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.8
/// <reference types="jest" />
import * as ajv from 'ajv';
declare global {
namespace jest {
interface Matchers<R, T> {
toBeValidSchema(): R;
toMatchSchema(schema: object): R;
}
}
}
export const matchers: jest.ExpectExtendMap;
export function matchersWithOptions(options: ajv.Options, extendAjv?: (ajv: ajv.Ajv) => void): jest.ExpectExtendMap;
````
### Additional Details
* Last updated: Tue, 20 Oct 2020 07:15:44 GMT
* Last updated: Thu, 23 Dec 2021 23:34:54 GMT
* Dependencies: [@types/ajv](https://npmjs.com/package/@types/ajv), [@types/jest](https://npmjs.com/package/@types/jest)

@@ -17,2 +41,2 @@ * Global values: none

# Credits
These definitions were written by [Igor Korolev](https://github.com/deadNightTiger), and [Matt Scheurich](https://github.com/lvl99).
These definitions were written by [Matt Scheurich](https://github.com/lvl99).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc