Socket
Socket
Sign inDemoInstall

theme-bump

Package Overview
Dependencies
10
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.1 to 1.2.2

6

index.js

@@ -68,2 +68,3 @@ const increment = require('semver').inc;

themePaths.forEach((themePath) => {
const res = {};
const info = getThemeInfo(themePath);

@@ -76,2 +77,4 @@ const path = resolve(themePath, themeInfoName);

info.version = info.version.replace(/-/g, '.');
res.old = info.version;
res.title = info.title;

@@ -82,4 +85,5 @@ const bumped = (!~version.indexOf('.')) ? increment(info.version, version) : version;

info.version = bumped.replace(/\./g, '-');
res.new = info.version;
themes[themePath] = info;
themes[themePath] = res;

@@ -86,0 +90,0 @@ writeFileSync(path, JSON.stringify(info, null, 2));

2

package.json
{
"name": "theme-bump",
"version": "1.2.1",
"version": "1.2.2",
"description": "Bump the version of Zen Garden themes in Creative Exchange",

@@ -5,0 +5,0 @@ "repository": "git://github.com/mateuszluczak/theme-bump.git",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc