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

npm / npm-package-arg / 51
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: nlf/catch-more-git-styles
DEFAULT BRANCH: master
Ran 14 Apr 2017 01:50AM UTC
Jobs 3
Files 1
Run time 58s
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

pending completion
51

push

travis-ci

iarna
npa: 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:
  * `registry` - If true this specifier refers to a resource hosted on a
    registry.  This is true for `tag`, `version` and `range` types.
  * `saveSpec` - A normalized form of the specifier that can be fed back
    into `npm-package-arg` to get identical results.
  * `fetchSpec` - The information necessary to fetch this resource without
    further processing.  For git sources, this can be passed directly to git
    clone, for files, `fs.readFile`, and so on.
  * `gitRange` - If the user requested a git URL with a semver range, eg
    `git+ssh://site.com/foo.git#semver:^1.0.0` then this holds the range part.
  * `gitCommittish' - If the user requested a git URL with a specific
    branch, tag or commit then this holds that value.

* Removed properties:
  * `spec` - Has been replaced by `saveSpec` and `fetchSpec` respectively.

* Changed properties:
  * `type` indicates what sort of specifier this is, values are: `file`,
    `directory`, `git`, `remote`, `version`, `range`, `tag`.
  * `hosted` is now a `hosted-git-info` object, not a map containing strings.

* Changes to 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`.
* Changes to git specifiers:
  * `saveSpec` does not remove the `git+` prefix. `fetchSpec` does.
* Changes to hosted git specifiers:
  * The `type` is now _git_.  You can check if something is hosted by
    looking at the `hosted` property.

110 of 112 branches covered (98.21%)

138 of 138 relevant lines covered (100.0%)

92.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 51.1 14 Apr 2017 01:50AM UTC 0
100.0
Travis Job 51.1
2 51.2 14 Apr 2017 01:50AM UTC 0
100.0
Travis Job 51.2
3 51.3 14 Apr 2017 01:51AM UTC 0
100.0
Travis Job 51.3
Source Files on build 51
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #51
  • 1ae38e5f on github
  • Prev Build on new-semantics (#45)
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