sindresorhus / cpy

Copy files
MIT License
425 stars 63 forks source link

Wrong dependencies resolution #94

Closed matteodisabatino closed 2 years ago

matteodisabatino commented 3 years ago

According to package.json the dependencies list is:

{
  "dependencies": {
    "arrify": "^3.0.0",
    "cp-file": "^9.1.0",
    "globby": "^12.0.0",
    "junk": "^3.1.0",
    "nested-error-stacks": "^2.1.0",
    "p-filter": "^2.1.0",
    "p-map": "^5.0.0"
}

However checking against my package-lock.json, cpy resolves dependencies like so:

Schermata 2021-10-12 alle 21 58 53

As shown, almost all packages are resolved with a version different than the one in the package.json and I can't figure out why. Could someone explain?

sibiraj-s commented 2 years ago

You are comparing master with last published version which is like 8 months ago. Hence the difference,

matteodisabatino commented 2 years ago

Got it, thanks for the answer.