New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/chai-almost

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/chai-almost - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

6

chai-almost/index.d.ts

@@ -1,7 +0,1 @@

// Type definitions for chai-almost 1.0
// Project: https://github.com/nmuldavin/chai-almost#readme
// Definitions by: Lennard Schulz <https://github.com/kclnn>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
/// <reference types="chai" />

@@ -8,0 +2,0 @@

13

chai-almost/package.json
{
"name": "@types/chai-almost",
"version": "1.0.1",
"version": "1.0.2",
"description": "TypeScript definitions for chai-almost",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-almost",
"license": "MIT",

@@ -9,8 +10,8 @@ "contributors": [

"name": "Lennard Schulz",
"url": "https://github.com/kclnn",
"githubUsername": "kclnn"
"githubUsername": "kclnn",
"url": "https://github.com/kclnn"
}
],
"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -25,4 +26,4 @@ "type": "git",

},
"typesPublisherContentHash": "98f9e04826e92b56808933cfa73cb7cee30c1e00f2a94f372cd2d39e718ac023",
"typeScriptVersion": "3.0"
"typesPublisherContentHash": "e9cd48a414ab50770ba985f360636d75c33118ed8e14c3990815ae19663e3141",
"typeScriptVersion": "4.5"
}

@@ -8,10 +8,41 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-almost
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-almost.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-almost/index.d.ts)
````ts
/// <reference types="chai" />
Additional Details
* Last updated: Thu, 08 Aug 2019 16:09:05 GMT
* Dependencies: @types/chai
* Global values: none
declare global {
namespace Chai {
interface Assertion {
almost: ChaiAlmost.Almost;
}
interface Deep {
almost: ChaiAlmost.DeepAlmost;
}
namespace ChaiAlmost {
interface DeepAlmost {
(value: any, toleranceOverride?: number): Assertion;
equal: Equal;
equals: Equal;
eq: Equal;
}
interface Almost extends DeepAlmost {
eql: Equal;
eqls: Equal;
}
}
}
}
declare function chaiAlmost(tolerance?: number): Chai.ChaiPlugin;
export = chaiAlmost;
````
### Additional Details
* Last updated: Tue, 17 Oct 2023 22:10:14 GMT
* Dependencies: [@types/chai](https://npmjs.com/package/@types/chai)
# Credits
These definitions were written by Lennard Schulz <https://github.com/kclnn>.
These definitions were written by [Lennard Schulz](https://github.com/kclnn).

Sorry, the diff of this file is not supported yet

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