Gathering detailed insights and metrics for @types/chai-jest-snapshot
Gathering detailed insights and metrics for @types/chai-jest-snapshot
Gathering detailed insights and metrics for @types/chai-jest-snapshot
Gathering detailed insights and metrics for @types/chai-jest-snapshot
The repository for high quality TypeScript type definitions.
npm install @types/chai-jest-snapshot
Typescript
Module System
94.6
Supply Chain
77.9
Quality
75.6
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
50,001 Stars
89,698 Commits
30,431 Forks
641 Watchers
6 Branches
9,957 Contributors
Updated on Jul 06, 2025
Latest Version
1.3.8
Package Id
@types/chai-jest-snapshot@1.3.8
Unpacked Size
4.55 kB
Size
1.85 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
2
npm install --save @types/chai-jest-snapshot
This package contains type definitions for chai-jest-snapshot (https://github.com/suchipi/chai-jest-snapshot#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-jest-snapshot.
1/// <reference types="chai" />
2/// <reference types="mocha" />
3
4declare global {
5 namespace Chai {
6 interface Assertion {
7 /** Assert that the object matches the snapshot */
8 matchSnapshot(snapshotFilename?: string, snapshotName?: string, update?: boolean): Assertion;
9 matchSnapshot(update: boolean): Assertion;
10 }
11 }
12}
13
14interface ChaiJestSnapshot extends Chai.ChaiPlugin {
15 /** Set snapshot file name */
16 setFilename(filename: string): void;
17
18 /**
19 * Set snapshot test name
20 */
21 setTestName(testname: string): void;
22
23 /** Configure snapshot name using mocha context */
24 configureUsingMochaContext(context: Mocha.Context): void;
25
26 /** Reset snapshot registry */
27 resetSnapshotRegistry(): void;
28
29 /** Add a serializer plugin */
30 addSerializer(serializer: any): void;
31}
32
33declare var ChaiJestSnapshot: ChaiJestSnapshot;
34export = ChaiJestSnapshot;
35
These definitions were written by Matt Perry.
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 25/29 approved changesets -- score normalized to 8
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More