New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

build-version-util

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

build-version-util

```bash npm i build-version-util ```

latest
npmnpm
Version
0.1.0
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source
npm i build-version-util

example

import { updateVersion } from 'build-version-util'

export default defineConfig(({ mode }) => {
  if (mode === 'production') {
    updateVersion()
  }  
  return {
    //...
  }
}

API

updateVersion(increase = true, options = {}, callback = null)

increase

Type: boolean

options

Type: object

Default: { indent: ' ' }

callback

Type: function

FAQs

Package last updated on 21 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts