Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

chai-v8-optimisation

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chai-v8-optimisation - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

src/chai-v8-optimisation.js

2

package.json
{
"name": "chai-v8-optimisation",
"description": "A V8 optimisation assertion plugin for chai.",
"version": "0.1.0",
"version": "0.1.1",
"keywords": [

@@ -6,0 +6,0 @@ "chai",

@@ -50,4 +50,7 @@ <!-- TITLE -->

function fn() {}
expect(fn).optimisation("yes");
expect(fn).optimisation("yes");
expect(fn).optimization("yes"); // american spelling
expect(fn).to.be.optimised;
expect(fn).to.be.optimized; // american spelling
```

@@ -59,3 +62,5 @@ ```js

expect(fn).optimisation("no");
expect(fn).optimization("no"); // american spelling
expect(fn).not.to.be.optimised;
expect(fn).not.to.be.optimized; // american spelling
```

@@ -66,5 +71,5 @@

```js
expect(fn).optimisation("always"); // always-optimized
expect(fn).optimisation("never"); // never-optimized
expect(fn).optimisation("maybe"); // maybe-deoptimized
expect(fn).optimisation("always"); // always-optimised
expect(fn).optimisation("never"); // never-optimised
expect(fn).optimisation("maybe"); // maybe-deoptimised
```

@@ -71,0 +76,0 @@

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