• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

npm / npm-package-arg / 34 / 3
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: nlf/catch-more-git-styles
DEFAULT BRANCH: master
Ran 20 Mar 2017 12:40AM UTC
Files 1
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Mar 2017 12:35AM UTC coverage: 100.0%. First build
34.3

push

travis-ci

iarna
Update to npm@5 semantics per the local-specifier RFC

There are also a number of other changes to improve the experience of using
this library. `realize-package-specifier` should no longer be needed.

* New properties:
  * `from` indicates how we parsed this specifier, values are:
    localArgument, local, hosted, url and registry.

    _localArgument_ differs from _local_ in that it means the argument
    parsing rules were used instead of the dependency parsing rules. That is, the
    rules for `npm install /foo` instead of those for `"dependencies":
    {"foo": "file:/foo"}`.

* Changed properties:
  * `type` indicates what sort of specifier this is, values are: file,
    directory, git, remote, version, range, tag.

* Local specifiers:
  * Trailing spaces on local specifiers are no longer trimmed.
  * The `spec` field for local specifiers is now a fully resolved path.
  * The type is now _file_ or _directory, never _local_.
* Git specifiers:
  * The leading `git+` is no longer stripped. This makes the behavior match
    `hosted-git-info`.
* Hosted git specifiers:
  * The `type` is now _git_.  You can check if something is hosted by
    looking at the `hosted` property or checking to see if `from` is
    _hosted_.

97 of 100 branches covered (97.0%)

120 of 120 relevant lines covered (100.0%)

26.8 hits per line

Source Files on job 34.3
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 34
  • Travis Job 34.3
  • 6fbdffb8 on github
  • Next Job for on new-semantics (#35.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc