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

bump-regex

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bump-regex - npm Package Compare versions

Comparing version 2.6.0 to 2.6.1

5

index.js

@@ -15,3 +15,4 @@ 'use strict';

key: 'version',
type: 'patch'
type: 'patch',
case: false
}

@@ -23,3 +24,3 @@

'([<|\'|\"]?' + opts.key + '[>|\'|\"]?[ ]*[:=]?[ ]*[\'|\"]?[a-z]?)(\\d+\\.\\d+\\.\\d+)' +
'(-[0-9A-Za-z\.-]+)?([\'|\"|<' + opts.key + '>]?)', 'i');
'(-[0-9A-Za-z\.-]+)?([\'|\"|<' + opts.key + '>]?)', + opts.case ? '' : 'i');

@@ -26,0 +27,0 @@ if (opts.global) {

2

package.json
{
"name": "bump-regex",
"description": "bump RegEx with semver",
"version": "2.6.0",
"version": "2.6.1",
"homepage": "https://github.com/stevelacy/bump-regex",

@@ -6,0 +6,0 @@ "repository": {

@@ -55,2 +55,16 @@ # bump-regex

### options.case
Set case insensitive matching
This option enables matching a specific Case Sensitive selector
```xml
<xml>
<version>nope</version>
<Version>1.2.3</Version>
</xml>
```
Type: `Boolean`
Default: `false`
### options.version

@@ -57,0 +71,0 @@ Set a specific version to bump to.

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