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

@korabo/genversion-plus

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@korabo/genversion-plus - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

lib/version.js
// generated by genversion-plus
exports.version = '1.0.0'
exports.buildTime = '2021-02-08T12:56:30.128Z'
exports.version = '1.0.1'
exports.buildTime = '2021-08-25T09:56:50.803Z'
exports.comment = ''
exports.author = 'TAKEUCHI Shinichi'
{
"name": "@korabo/genversion-plus",
"version": "1.0.0",
"version": "1.0.1",
"description": "A command line utility to read version from package.json and attach it into your module as a property",

@@ -49,3 +49,2 @@ "keywords": [

"scripts": {
"preinstall": "npx only-allow pnpm",
"test": "pnpm run lint && mocha",

@@ -52,0 +51,0 @@ "lint": "standard 'bin/*.js' 'lib/**/*.js' 'test/**/*.js'",

@@ -24,3 +24,3 @@ # genversion-plus

Use flags to match your coding style. `$ genversion-plus --gen es6 --semi lib/version.js` creates:
Use flags to match your coding style. `$ genversion-plus --gen es6 --semi lib/version.ts` creates:

@@ -36,3 +36,3 @@ export const version = '0.9.1';

First install via [npm](https://www.npmjs.com/package/@korabo/genversion-plus).
First install via [NPM repository](https://www.npmjs.com/package/@korabo/genversion-plus).

@@ -44,4 +44,5 @@ $ npm install @korabo/genversion-plus --save-dev

// generated by genversion-plus
module.exports = '1.2.3'
exports.version = '1.2.3'
Now, your job is to 1) choose a path for the version file, 2) require() the new file into your module, and 3) add genversion-plus as a part of your build or release pipeline. For example, let us choose the path 'lib/version.js' and require it in yourmodule/index.js:

@@ -48,0 +49,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