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

@bam.tech/kettle

Package Overview
Dependencies
Maintainers
12
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bam.tech/kettle - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

2

dist/kettle.replace.js

@@ -20,3 +20,3 @@ "use strict";

return null;
return input.replace(matchChars, '');
return contentToInclude(input.replace(matchChars, ''));
}

@@ -23,0 +23,0 @@ exports.contentToInclude = contentToInclude;

{
"name": "@bam.tech/kettle",
"version": "2.1.0",
"version": "2.1.1",
"main": "./dist/kettle.js",

@@ -5,0 +5,0 @@ "types": "./dist/kettle.d.ts",

@@ -56,5 +56,15 @@ # Kettle

- With a `// __include_if_isTrue_` comment the file will be included and the comment removed
- With a `// __include_if_isFalse_` the file will not be included in the output at all
- With a `// __include_if_isTrue_` comment, the file will be included and the comment line removed
- With a `// __include_if_isFalse_` comment, the file will not be included in the output at all
- You can also chain conditions with multiple include lines. The position of the comment in the file does not matter
```javascript
// __include_if_isTrue_
// __include_if_isFalse_
const thisFileWillNotBeRendered = true;
```
## Reverse assertions

@@ -61,0 +71,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