Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yargs dependency is not updated #351

Closed
sitvanit opened this issue Dec 6, 2020 · 2 comments
Closed

yargs dependency is not updated #351

sitvanit opened this issue Dec 6, 2020 · 2 comments

Comments

@sitvanit
Copy link

sitvanit commented Dec 6, 2020

I've upgraded nconf to 0.9.1 version in order to have the updated yargs dependency (16.0.0 as in the package.json).
But even after the upgrade, the yargs version is still 3.19.0, although in the github repository it's 16.0.0.

This is the package.json after the installation of nconf@0.9.1:

{
  "_from": "nconf@0.9.1",
  "_id": "nconf@0.9.1",
  "_inBundle": false,
  "_integrity": "sha1-8RuvkPQYrs7wy0hJdLR5+0gD+mw=",
  "_location": "/nconf",
  "_phantomChildren": {},
  "_requested": {
    "type": "version",
    "registry": true,
    "raw": "nconf@0.9.1",
    "name": "nconf",
    "escapedName": "nconf",
    "rawSpec": "0.9.1",
    "saveSpec": null,
    "fetchSpec": "0.9.1"
  },
  "_requiredBy": [
    "/"
  ],
  "_resolved": "https://art-bobcat.autodesk.com:443/artifactory/api/npm/autodesk-npm-virtual/nconf/-/nconf-0.9.1.tgz",
  "_shasum": "f11baf90f418aecef0cb484974b479fb4803fa6c",
  "_spec": "nconf@0.9.1",
  "_where": "/Users/sitvanit/autodesk-projects/bim360-nodejs-packages/packages/logger",
  "author": {
    "name": "Charlie Robbins",
    "email": "charlie.robbins@gmail.com"
  },
  "bugs": {
    "url": "https://github.com/flatiron/nconf/issues"
  },
  "bundleDependencies": false,
  "contributors": [
    {
      "name": "Matt Hamann",
      "email": "matthew.hamann@gmail.com"
    },
    {
      "name": "Maciej Małecki",
      "email": "me@mmalecki.com"
    },
    {
      "name": "Jarrett Cruger",
      "email": "jcrugzz@gmail.com"
    },
    {
      "name": "Adrien Becchis"
    }
  ],
  "dependencies": {
    "async": "^1.4.0",
    "ini": "^1.3.0",
    "secure-keys": "^1.0.0",
    "yargs": "^3.19.0"
  },
  "deprecated": false,
  "description": "Hierarchical node.js configuration with files, environment variables, command-line arguments, and atomic object merging.",
  "devDependencies": {
    "coveralls": "^2.11.4",
    "eslint": "^4.9.0",
    "istanbul": "^0.4.1",
    "nconf-yaml": "^1.0.2",
    "vows": "0.8.x"
  },
  "engines": {
    "node": ">= 0.4.0"
  },
  "homepage": "https://github.com/flatiron/nconf#readme",
  "keywords": [
    "configuration",
    "key value store",
    "plugabble"
  ],
  "license": "MIT",
  "main": "./lib/nconf",
  "name": "nconf",
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/flatiron/nconf.git"
  },
  "scripts": {
    "cover": "istanbul cover vows -- test/*-test.js test/**/*-test.js  --spec",
    "coveralls": "cat coverage/lcov.info | coveralls",
    "lint": "eslint .",
    "test": "vows test/*-test.js test/**/*-test.js --spec"
  },
  "version": "0.9.1"
}
@mhamann
Copy link
Collaborator

mhamann commented Dec 8, 2020

@sitvanit you'll need to upgrade to nconf v0.11 to get the updated yargs version.

@sitvanit
Copy link
Author

sitvanit commented Dec 9, 2020

@mhamann Thanks, now it works (it was confusing because the version in the package.json is 0.9.1).

@sitvanit sitvanit closed this as completed Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants