NPM supports specifying a package dependency using:
With semver respecting the full versioning rules. It uses the same Git tagging system applied by
However, if multiple modules use this, they will not be seen as the same module, even if requesting the exact same semver and Git revision (as shown in
This can cause failures when checking objects with
git+ssh://ufrl.to/repo#semver:^0.0.0
With semver respecting the full versioning rules. It uses the same Git tagging system applied by
npm version
.However, if multiple modules use this, they will not be seen as the same module, even if requesting the exact same semver and Git revision (as shown in
package-lock.json
).This can cause failures when checking objects with
instanceof
. The different modules will have different implementations of the class, and thus fail instanceof checks.