Socket
Socket
Sign inDemoInstall

@rollup/plugin-replace

Package Overview
Dependencies
Maintainers
4
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rollup/plugin-replace - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

8

CHANGELOG.md
# @rollup/plugin-replace ChangeLog
## v2.4.1
_2021-02-22_
### Bugfixes
- fix: add missing types for new `preventAssignment` option (#813)
## v2.4.0

@@ -4,0 +12,0 @@

2

package.json
{
"name": "@rollup/plugin-replace",
"version": "2.4.0",
"version": "2.4.1",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

@@ -11,3 +11,7 @@ import { FilterPattern } from '@rollup/pluginutils';

*/
[str: string]: Replacement | RollupReplaceOptions['include'] | RollupReplaceOptions['values'];
[str: string]:
| Replacement
| RollupReplaceOptions['include']
| RollupReplaceOptions['values']
| RollupReplaceOptions['preventAssignment'];

@@ -29,2 +33,7 @@ /**

/**
* Prevents replacing strings where they are followed by a single equals
* sign.
*/
preventAssignment?: boolean;
/**
* You can separate values to replace from other options.

@@ -31,0 +40,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