Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 600 Bytes

CHANGELOG.md

File metadata and controls

24 lines (14 loc) · 600 Bytes

1.0.2

Fix: checkVersionFormat function to allow any number of digits

example: 1.67.93

1.0.1

Fix: TypeError: Cannot destructure property 'latestVersion' of 'object null' as it is null. (when using cache) (now returning an empty object)

Fix: import / require mappings

1.0.0

Stable release 🥳

Add getVersion feature

const { getVersion } = require("nanov"); //node <12 (commonjs)

import { getVersion } = from "nanov"; // node 14+ ( using in a .mjs file or setting "type":"module" inside your package.json) // or using a compatible module option in tsconfig for esm