New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

manage-version

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

manage-version - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

4

lib/update.js

@@ -1,2 +0,2 @@

const { compose, find, filter, forEach, pluck, contains, when, isNil, toLower, not, prop, nth } = require('ramda');
const { compose, find, filter, map, pluck, contains, when, isNil, toLower, not, prop, nth } = require('ramda');
const fs = require('fs');

@@ -16,3 +16,3 @@ const Promise = require('bluebird');

find(name => contains(name, ['major', 'minor', 'patch'])),
forEach(toLower),
map(toLower),
pluck('name')

@@ -19,0 +19,0 @@ );

{
"name": "manage-version",
"version": "0.1.7",
"version": "0.1.8",
"description": "Node command line tool for updating package.json version",

@@ -13,3 +13,3 @@ "main": "index.js",

"type": "git",
"url": "git+https://github.com/procore/manage-version.git"
"url": "git+https://github.com/procore/package-version.git"
},

@@ -19,5 +19,5 @@ "author": "Procore Tech <insights@procore.com> (http://procore.com)",

"bugs": {
"url": "https://github.com/procore/manage-version/issues"
"url": "https://github.com/procore/package-version/issues"
},
"homepage": "https://github.com/procore/manage-version#readme",
"homepage": "https://github.com/procore/package-version#readme",
"dependencies": {

@@ -24,0 +24,0 @@ "bluebird": "^3.4.7",

@@ -8,18 +8,8 @@ # Manage Version

## Installation
```
npm install -g manage-version
```
## Command
### Help
#### Help
```bash
manage-version --help
```
### Update
```bash

@@ -39,43 +29,7 @@ update [options] <to>

#### Examples
- Perform a minor version update to the project's package.json e.g 2.1.3 -> 2.2.0
```bash
manage-version update minor
```
- Perform a major, minor, or patch update to the version dependent on the last branch merged into the specified repo
```bash
manage-version update github -o procore -r manage-version -t $GITHUB_TOKEN
```
## Tests
```
npm run test
```
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/procore/manage-version. This project is
intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the
[Contributor Covenant](http://contributor-covenant.org) code of conduct.
## License
The package is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
## About Procore
<img
src="https://www.procore.com/images/procore_logo.png"
alt="Procore Logo"
width="250px"
/>
Manage Version is maintained by Procore Technologies.
Procore - building the software that builds the world.
Learn more about the #1 most widely used construction management software at [procore.com](https://www.procore.com/)

@@ -36,5 +36,6 @@ import { describe, it, before, after } from 'mocha';

github: GitHubApi(),
token: 'faker_token',
token: process.env.GITHUB_TOKEN,
owner: 'ksespinola',
repo: 'package-version-test'
repo: 'package-version-test',
number: 3
};

@@ -55,3 +56,3 @@

null,
[{ name: 'major' }, { name: 'foo' }]
[{ name: 'Major' }, { name: 'foo' }]
);

@@ -58,0 +59,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