| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1f82929 commit 11470d5
603 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -28,7 +28,8 @@ Geoff Flarity <geoff.flarity@gmail.com> <gflarity@raptvm-x02.(none)> | |||
| 28 | 28 | Gregers Gram Rygg <gregers.gram.rygg@finn.no> | |
| 29 | 29 | Ifeanyi Oraelosi <ifeanyioraelosi@gmail.com> | |
| 30 | 30 | Isaac Z. Schlueter <i@izs.me> <i@foohack.com> | |
| 31 | - Isaac Z. Schlueter <i@izs.me> isaacs <i@izs.me> | ||
| 31 | + Isaac Z. Schlueter <i@izs.me> | ||
| 32 | + isaacs <i@izs.me> | ||
| 32 | 33 | Jake Verbaten <raynos2@gmail.com> | |
| 33 | 34 | James Sanders <jimmyjazz14@gmail.com> | |
| 34 | 35 | James Treworgy <jamietre@gmail.com> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - sudo: false | ||
| 1 | + sudo: true | ||
| 2 | 2 | # need to declare the language as well as the matrix below | |
| 3 | 3 | language: node_js | |
| 4 | 4 | # having top-level `env:` adds a phantom build | |
@@ -12,7 +12,8 @@ matrix: | |||
| 12 | 12 | # only gather coverage info for LTS | |
| 13 | 13 | env: DEPLOY_VERSION=testing COVERALLS_REPO_TOKEN="$COVERALLS_OPTIONAL_TOKEN" | |
| 14 | 14 | script: | |
| 15 | - - "node . run tap-cover -- \"test/tap/*.js\"" | ||
| 15 | + # run the sudo tests, with coverage enabled | ||
| 16 | + - "sudo PATH=$PATH $(which node) . run tap -- \"test/tap/*.js\" --coverage" | ||
| 16 | 17 | - "unset COVERALLS_REPO_TOKEN ; node . run tap -- \"test/broken-under-*/*.js\"" | |
| 17 | 18 | # previous LTS is next most important | |
| 18 | 19 | - node_js: "10" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,6 @@ | |||
| 1 | 1 | # Authors sorted by whether or not they're me | |
| 2 | 2 | Isaac Z. Schlueter <i@izs.me> | |
| 3 | + isaacs <i@izs.me> | ||
| 3 | 4 | Steve Steiner <ssteinerX@gmail.com> | |
| 4 | 5 | Mikeal Rogers <mikeal.rogers@gmail.com> | |
| 5 | 6 | Aaron Blohowiak <aaron.blohowiak@gmail.com> | |
@@ -641,3 +642,10 @@ COURIER, CALEB [AG/1000] <caleb.courier@monsanto.com> | |||
| 641 | 642 | CalebCourier <caleb.courier@monsanto.com> | |
| 642 | 643 | Florian Keller <florian.keller@wire.com> | |
| 643 | 644 | Sreeram Jayan <sreeram.jayan@cerner.com> | |
| 645 | + --get <lars.willighagen@gmail.com> | ||
| 646 | + raywu0123 <b05901189@ntu.edu.tw> | ||
| 647 | + isaacs <nope@not.real> | ||
| 648 | + Iván Reinoso García <ireinoso@plainconcepts.com> | ||
| 649 | + Roy Marples <roy@marples.name> | ||
| 650 | + Robert James Gabriel <robert_gabriel@outlook.com> | ||
| 651 | + John Firebaugh <john.firebaugh@gmail.com> | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,177 @@ | |||
| 1 | + ## v6.10.2 (2019-07-23): | ||
| 2 | + | ||
| 3 | + tl;dr - Fixes several issues with the cache when npm is run as `sudo` on | ||
| 4 | + Unix systems. | ||
| 5 | + | ||
| 6 | + ### TESTING | ||
| 7 | + | ||
| 8 | + * [`2a78b96f8`](https://github.com/npm/cli/commit/2a78b96f830bbd834720ccc9eacccc54915ae6f7) | ||
| 9 | + check test cache for root-owned files | ||
| 10 | + ([@isaacs](https://github.com/isaacs)) | ||
| 11 | + * [`108646ebc`](https://github.com/npm/cli/commit/108646ebc12f3eeebaa0a45884c45991a45e57e4) | ||
| 12 | + run sudo tests on Travis-CI ([@isaacs](https://github.com/isaacs)) | ||
| 13 | + * [`cf984e946`](https://github.com/npm/cli/commit/cf984e946f453cbea2fcc7a59608de3f24ab74c3) | ||
| 14 | + set --no-esm tap flag ([@isaacs](https://github.com/isaacs)) | ||
| 15 | + * [`8e0a3100d`](https://github.com/npm/cli/commit/8e0a3100dffb3965bb3dc4240e82980dfadf2f3c) | ||
| 16 | + add script to run tests and leave fixtures for inspection and debugging | ||
| 17 | + ([@isaacs](https://github.com/isaacs)) | ||
| 18 | + | ||
| 19 | + ### BUGFIXES | ||
| 20 | + | ||
| 21 | + * [`25f4f73f6`](https://github.com/npm/cli/commit/25f4f73f6dc9744757787c82351120cd1baee5f8) | ||
| 22 | + add a util for writing arbitrary files to cache This prevents metrics | ||
| 23 | + timing and debug logs from becoming root-owned. | ||
| 24 | + ([@isaacs](https://github.com/isaacs)) | ||
| 25 | + * [`2c61ce65d`](https://github.com/npm/cli/commit/2c61ce65d6b67100fdf3fcb9729055b669cb1a1d) | ||
| 26 | + infer cache owner from parent dir in `correct-mkdir` util | ||
| 27 | + ([@isaacs](https://github.com/isaacs)) | ||
| 28 | + * [`235e5d6df`](https://github.com/npm/cli/commit/235e5d6df6f427585ec58425f1f3339d08f39d8a) | ||
| 29 | + ensure correct owner on cached all-packages metadata | ||
| 30 | + ([@isaacs](https://github.com/isaacs)) | ||
| 31 | + * [`e2d377bb6`](https://github.com/npm/cli/commit/e2d377bb6419d8a3c1d80a73dba46062b4dad336) | ||
| 32 | + [npm.community#8540](https://npm.community/t/npm-audit-fails-with-child-requires-fails-because-requires-must-be-an-object/8540) | ||
| 33 | + audit: report server error on failure | ||
| 34 | + ([@isaacs](https://github.com/isaacs)) | ||
| 35 | + * [`52576a39e`](https://github.com/npm/cli/commit/52576a39ed75d94c46bb2c482fd38d2c6ea61c56) | ||
| 36 | + [#216](https://github.com/npm/cli/pull/216) | ||
| 37 | + [npm.community#5385](https://npm.community/t/6-8-0-npm-ci-fails-with-local-dependency/5385) | ||
| 38 | + [npm.community#6076](https://npm.community/t/npm-ci-fail-to-local-packages/6076) | ||
| 39 | + Fix `npm ci` with `file:` dependencies. Partially reverts | ||
| 40 | + [#40](https://github.com/npm/cli/pull/40)/[#86](https://github.com/npm/cli/pull/86), | ||
| 41 | + recording dependencies of linked deps in order for `npm ci` to work. | ||
| 42 | + ([@jfirebaugh](https://github.com/jfirebaugh)) | ||
| 43 | + | ||
| 44 | + ### DEPENDENCIES | ||
| 45 | + | ||
| 46 | + * [`0fefdee13`](https://github.com/npm/cli/commit/0fefdee130fd7d0dbb240fb9ecb50a793fbf3d29) | ||
| 47 | + `cacache@12.0.2` ([@isaacs](https://github.com/isaacs)) | ||
| 48 | + * infer uid/gid instead of accepting as options, preventing the | ||
| 49 | + overwhelming majority of cases where root-owned files end up in the | ||
| 50 | + cache folder. | ||
| 51 | + ([ac84d14](https://github.com/npm/cacache/commit/ac84d14)) | ||
| 52 | + ([@isaacs](https://github.com/isaacs)) | ||
| 53 | + ([#1](https://github.com/npm/cacache/pull/1)) | ||
| 54 | + * **i18n:** add another error message | ||
| 55 | + ([676cb32](https://github.com/npm/cacache/commit/676cb32)) | ||
| 56 | + ([@zkat](https://github.com/zkat)) | ||
| 57 | + * [`e1d87a392`](https://github.com/npm/cli/commit/e1d87a392371a070b0788ab7bfc62be18b21e9ad) | ||
| 58 | + `pacote@9.5.4` ([@isaacs](https://github.com/isaacs)) | ||
| 59 | + * git: ensure stream failures are reported | ||
| 60 | + ([7f07b5d](https://github.com/npm/pacote/commit/7f07b5d)) | ||
| 61 | + [#1](https://github.com/npm/pacote/issues/1) | ||
| 62 | + ([@lddubeau](https://github.com/lddubeau)) | ||
| 63 | + * [`3f035bf09`](https://github.com/npm/cli/commit/3f035bf098e2feea76574cec18b04812659aa16d) | ||
| 64 | + `infer-owner@1.0.4` ([@isaacs](https://github.com/isaacs)) | ||
| 65 | + * [`ba3283112`](https://github.com/npm/cli/commit/ba32831126591d2f6f48e31a4a2329b533b1ff19) | ||
| 66 | + `npm-registry-fetch@4.0.0` ([@isaacs](https://github.com/isaacs)) | ||
| 67 | + * [`ee90c334d`](https://github.com/npm/cli/commit/ee90c334d271383d0325af42f20f80f34cb61f07) | ||
| 68 | + `libnpm@3.0.1` ([@isaacs](https://github.com/isaacs)) | ||
| 69 | + * [`1e480c384`](https://github.com/npm/cli/commit/1e480c38416982ae28b5cdd48c698ca59d3c0395) | ||
| 70 | + `libnpmaccess@3.0.2` ([@isaacs](https://github.com/isaacs)) | ||
| 71 | + * [`7662ee850`](https://github.com/npm/cli/commit/7662ee850220c71ecaec639adbc7715286f0d28b) | ||
| 72 | + `libnpmhook@5.0.3` ([@isaacs](https://github.com/isaacs)) | ||
| 73 | + * [`1357fadc6`](https://github.com/npm/cli/commit/1357fadc613d0bfeb40f9a8f3ecace2face2fe2c) | ||
| 74 | + `libnpmorg@1.0.1` ([@isaacs](https://github.com/isaacs)) | ||
| 75 | + * [`a621b5cb6`](https://github.com/npm/cli/commit/a621b5cb6c881f95a11af86a8051754a67ae017c) | ||
| 76 | + `libnpmsearch@2.0.2` ([@isaacs](https://github.com/isaacs)) | ||
| 77 | + * [`560cd31dd`](https://github.com/npm/cli/commit/560cd31dd51b6aa2e396ccdd7289fab0a50b5608) | ||
| 78 | + `libnpmteam@1.0.2` ([@isaacs](https://github.com/isaacs)) | ||
| 79 | + * [`de7ae0867`](https://github.com/npm/cli/commit/de7ae0867d4c0180edc283457ce0b4e8e5eee554) | ||
| 80 | + `npm-profile@4.0.2` ([@isaacs](https://github.com/isaacs)) | ||
| 81 | + * [`e95da463c`](https://github.com/npm/cli/commit/e95da463cb7a325457ef411a569d7ef4bf76901d) | ||
| 82 | + `libnpm@3.0.1` ([@isaacs](https://github.com/isaacs)) | ||
| 83 | + * [`554b641d4`](https://github.com/npm/cli/commit/554b641d49d135ae8d137e83aa288897c32dacc6) | ||
| 84 | + `npm-registry-fetch@4.0.0` ([@isaacs](https://github.com/isaacs)) | ||
| 85 | + * [`06772f34a`](https://github.com/npm/cli/commit/06772f34ab851440dcd78574736936c674a84aed) | ||
| 86 | + `node-gyp@5.0.3` ([@isaacs](https://github.com/isaacs)) | ||
| 87 | + * [`85358db80`](https://github.com/npm/cli/commit/85358db80d6ccb5f7bc9a0b4d558ac6dd2468394) | ||
| 88 | + `npm-lifecycle@3.1.2` ([@isaacs](https://github.com/isaacs)) | ||
| 89 | + * [`051cf20`](https://github.com/npm/npm-lifecycle/commit/051cf20072a01839c17920d2e841756251c4f924) | ||
| 90 | + [#26](https://github.com/npm/npm-lifecycle/pull/26) fix switches for | ||
| 91 | + alternative shells on Windows | ||
| 92 | + ([@gucong3000](https://github.com/gucong3000)) | ||
| 93 | + * [`3aaf954`](https://github.com/npm/npm-lifecycle/commit/3aaf95435965e8f7acfd955582cf85237afd2c9b) | ||
| 94 | + [#25](https://github.com/npm/npm-lifecycle/pull/25) set only one PATH | ||
| 95 | + env variable for child process on Windows | ||
| 96 | + ([@zkochan](https://github.com/zkochan)) | ||
| 97 | + * [`ea18ed2`](https://github.com/npm/npm-lifecycle/commit/ea18ed2b754ca7f11998cad70d88e9004c5bef4a) | ||
| 98 | + [#36](https://github.com/npm/npm-lifecycle/pull/36) | ||
| 99 | + [#11](https://github.com/npm/npm-lifecycle/issue/11) | ||
| 100 | + [#18](https://github.com/npm/npm-lifecycle/issue/18) remove | ||
| 101 | + procInterrupt listener on SIGINT in procError | ||
| 102 | + ([@mattshin](https://github.com/mattshin)) | ||
| 103 | + * [`5523951`](https://github.com/npm/npm-lifecycle/commit/55239519c57b82521605622e6c71640a31ed4586) | ||
| 104 | + [#29](https://github.com/npm/npm-lifecycle/issue/29) | ||
| 105 | + [#30](https://github.com/npm/npm-lifecycle/pull/30) Use platform | ||
| 106 | + specific path casing if present | ||
| 107 | + ([@mattezell](https://github.com/mattezell)) | ||
| 108 | + | ||
| 109 | + ## v6.10.1 (2019-07-11): | ||
| 110 | + | ||
| 111 | + ### BUGFIXES | ||
| 112 | + | ||
| 113 | + * [`3cbd57712`](https://github.com/npm/cli/commit/3cbd577120a9da6e51bb8b13534d1bf71ea5712c) | ||
| 114 | + fix(git): strip GIT environs when running git | ||
| 115 | + ([@isaacs](https://github.com/isaacs)) | ||
| 116 | + * [`a81a8c4c4`](https://github.com/npm/cli/commit/a81a8c4c466f510215a51cef1bb08544d11844fe) | ||
| 117 | + [#206](https://github.com/npm/cli/pull/206) improve isOnly(Dev,Optional) | ||
| 118 | + ([@larsgw](https://github.com/larsgw)) | ||
| 119 | + * [`172f9aca6`](https://github.com/npm/cli/commit/172f9aca67a66ee303c17f90a994cd52fc66552a) | ||
| 120 | + [#179](https://github.com/npm/cli/pull/179) fix-xmas-underline | ||
| 121 | + ([@raywu0123](https://github.com/raywu0123)) | ||
| 122 | + * [`f52673fc7`](https://github.com/npm/cli/commit/f52673fc7284e58af8c04533e82b76bf7add72cf) | ||
| 123 | + [#212](https://github.com/npm/cli/pull/212) build: use `/usr/bin/env` to | ||
| 124 | + load bash ([@rsmarples](https://github.com/rsmarples)) | ||
| 125 | + | ||
| 126 | + ### DEPENDENCIES | ||
| 127 | + | ||
| 128 | + * [`ef4445ad3`](https://github.com/npm/cli/commit/ef4445ad34a53b5639499c8e3c9752f62ee6f37c) | ||
| 129 | + [#208](https://github.com/npm/cli/pull/208) `node-gyp@5.0.2` | ||
| 130 | + ([@irega](https://github.com/irega)) | ||
| 131 | + * [`c0d611356`](https://github.com/npm/cli/commit/c0d611356f7b23077e97574b01c8886e544db425) | ||
| 132 | + `npm-lifecycle@3.0.0` ([@isaacs](https://github.com/isaacs)) | ||
| 133 | + * [`7716ba972`](https://github.com/npm/cli/commit/7716ba9720270d5b780755a5bb1ce79702067f1f) | ||
| 134 | + `libcipm@4.0.0` ([@isaacs](https://github.com/isaacs)) | ||
| 135 | + * [`42d22e837`](https://github.com/npm/cli/commit/42d22e8374c7d303d94e405d7385d94dd2558814) | ||
| 136 | + `libnpm@3.0.0` ([@isaacs](https://github.com/isaacs)) | ||
| 137 | + * [`a2ea7f9ff`](https://github.com/npm/cli/commit/a2ea7f9ff64ae743d05fdbf7d46fb9afafa8aa6f) | ||
| 138 | + `semver@5.7.0` ([@isaacs](https://github.com/isaacs)) | ||
| 139 | + * [`429226a5e`](https://github.com/npm/cli/commit/429226a5e992cd907d4f19bd738037007cf78c1f) | ||
| 140 | + `lru-cache@5.1.1` ([@isaacs](https://github.com/isaacs)) | ||
| 141 | + * [`175670ea6`](https://github.com/npm/cli/commit/175670ea65cca03f8b2e957df3dd4b8b0efd0e1f) | ||
| 142 | + `npm-registry-fetch@3.9.1`: ([@isaacs](https://github.com/isaacs)) | ||
| 143 | + * [`0d0517f7f`](https://github.com/npm/cli/commit/0d0517f7f8c902b5064ac18fb4015b31750ad2b2) | ||
| 144 | + `call-limit@1.1.1` ([@isaacs](https://github.com/isaacs)) | ||
| 145 | + * [`741400429`](https://github.com/npm/cli/commit/74140042917ea241062a812ceb65c5423c2bafa9) | ||
| 146 | + `glob@7.1.4` ([@isaacs](https://github.com/isaacs)) | ||
| 147 | + * [`bddd60e30`](https://github.com/npm/cli/commit/bddd60e302283a4a70d35f8f742e42bd13f4dabf) | ||
| 148 | + `inherits@2.0.4` ([@isaacs](https://github.com/isaacs)) | ||
| 149 | + * [`4acf03fd1`](https://github.com/npm/cli/commit/4acf03fd140ed3ddb2dcf3fdc9756bc3f5a8bcbb) | ||
| 150 | + `libnpmsearch@2.0.1` ([@isaacs](https://github.com/isaacs)) | ||
| 151 | + * [`c2bd17291`](https://github.com/npm/cli/commit/c2bd17291a86bea7ced2fbd07d66d013bd7a7560) | ||
| 152 | + `marked@0.6.3` ([@isaacs](https://github.com/isaacs)) | ||
| 153 | + * [`7f0221bb1`](https://github.com/npm/cli/commit/7f0221bb1bb41ffc933c785940e227feae38c80c) | ||
| 154 | + `marked-man@0.6.0` ([@isaacs](https://github.com/isaacs)) | ||
| 155 | + * [`f458fe7dd`](https://github.com/npm/cli/commit/f458fe7dd3bebddf603aaae183a424ea8aaa018f) | ||
| 156 | + `npm-lifecycle@2.1.1` ([@isaacs](https://github.com/isaacs)) | ||
| 157 | + * [`009752978`](https://github.com/npm/cli/commit/0097529780269c28444f1efa0d7c131d47a933eb) | ||
| 158 | + `node-gyp@4.0.0` ([@isaacs](https://github.com/isaacs)) | ||
| 159 | + * [`0fa2bb438`](https://github.com/npm/cli/commit/0fa2bb4386379d6e9d8c95db08662ec0529964f9) | ||
| 160 | + `query-string@6.8.1` ([@isaacs](https://github.com/isaacs)) | ||
| 161 | + * [`b86450929`](https://github.com/npm/cli/commit/b86450929796950a1fe4b1f9b02b1634c812f3bb) | ||
| 162 | + `tar-stream@2.1.0` ([@isaacs](https://github.com/isaacs)) | ||
| 163 | + * [`25db00fe9`](https://github.com/npm/cli/commit/25db00fe953453198adb9e1bd71d1bc2a9f04aaa) | ||
| 164 | + `worker-farm@1.7.0` ([@isaacs](https://github.com/isaacs)) | ||
| 165 | + * [`8dfbe8610`](https://github.com/npm/cli/commit/8dfbe861085dfa8fa56bb504b4a00fba04c34f9d) | ||
| 166 | + `readable-stream@3.4.0` ([@isaacs](https://github.com/isaacs)) | ||
| 167 | + * [`f6164d5dd`](https://github.com/npm/cli/commit/f6164d5ddd072eabdf2237f1694a31efd746eb1d) | ||
| 168 | + [isaacs/chownr#21](https://github.com/isaacs/chownr/pull/21) | ||
| 169 | + [isaacs/chownr#20](https://github.com/isaacs/chownr/issues/20) | ||
| 170 | + [npm.community#7901](https://npm.community/t/7901/) | ||
| 171 | + [npm.community#8203](https://npm.community/t/8203) `chownr@1.1.2` This | ||
| 172 | + fixes an EISDIR error from cacache on Darwin in Node versions prior to | ||
| 173 | + 10.6. ([@isaacs](https://github.com/isaacs)) | ||
| 174 | + | ||
| 1 | 175 | ## v6.10.0 (2019-07-03): | |
| 2 | 176 | ||
| 3 | 177 | ### FEATURES | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - #!/bin/bash | ||
| 1 | + #!/usr/bin/env bash | ||
| 2 | 2 | ||
| 3 | 3 | # set configurations that will be "sticky" on this system, | |
| 4 | 4 | # surviving npm self-updates. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -20,6 +20,7 @@ semver.clean(' =v1.2.3 ') // '1.2.3' | |||
| 20 | 20 | semver.satisfies('1.2.3', '1.x || >=2.5.0 || 5.0.0 - 7.2.3') // true | |
| 21 | 21 | semver.gt('1.2.3', '9.8.7') // false | |
| 22 | 22 | semver.lt('1.2.3', '9.8.7') // true | |
| 23 | + semver.minVersion('>=1.0.0') // '1.0.0' | ||
| 23 | 24 | semver.valid(semver.coerce('v2')) // '2.0.0' | |
| 24 | 25 | semver.valid(semver.coerce('42.6.7.9.3-alpha')) // '42.6.7' | |
| 25 | 26 | ``` | |
@@ -29,7 +30,7 @@ As a command-line utility: | |||
| 29 | 30 | ``` | |
| 30 | 31 | $ semver -h | |
| 31 | 32 | ||
| 32 | - A JavaScript implementation of the http://semver.org/ specification | ||
| 33 | + A JavaScript implementation of the https://semver.org/ specification | ||
| 33 | 34 | Copyright Isaac Z. Schlueter | |
| 34 | 35 | ||
| 35 | 36 | Usage: semver [options] <version> [<version> [...]] | |
@@ -71,7 +72,7 @@ multiple versions to the utility will just sort them. | |||
| 71 | 72 | ## Versions | |
| 72 | 73 | ||
| 73 | 74 | A "version" is described by the `v2.0.0` specification found at | |
| 74 | - <http://semver.org/>. | ||
| 75 | + <https://semver.org/>. | ||
| 75 | 76 | ||
| 76 | 77 | A leading `"="` or `"v"` character is stripped off and ignored. | |
| 77 | 78 | ||
@@ -137,6 +138,13 @@ the user is indicating that they are aware of the risk. However, it | |||
| 137 | 138 | is still not appropriate to assume that they have opted into taking a | |
| 138 | 139 | similar risk on the *next* set of prerelease versions. | |
| 139 | 140 | ||
| 141 | + Note that this behavior can be suppressed (treating all prerelease | ||
| 142 | + versions as if they were normal versions, for the purpose of range | ||
| 143 | + matching) by setting the `includePrerelease` flag on the options | ||
| 144 | + object to any | ||
| 145 | + [functions](https://github.com/npm/node-semver#functions) that do | ||
| 146 | + range matching. | ||
| 147 | + | ||
| 140 | 148 | #### Prerelease Identifiers | |
| 141 | 149 | ||
| 142 | 150 | The method `.inc` takes an additional `identifier` string argument that | |
@@ -325,6 +333,8 @@ strings that they parse. | |||
| 325 | 333 | * `patch(v)`: Return the patch version number. | |
| 326 | 334 | * `intersects(r1, r2, loose)`: Return true if the two supplied ranges | |
| 327 | 335 | or comparators intersect. | |
| 336 | + * `parse(v)`: Attempt to parse a string as a semantic version, returning either | ||
| 337 | + a `SemVer` object or `null`. | ||
| 328 | 338 | ||
| 329 | 339 | ### Comparison | |
| 330 | 340 | ||
@@ -361,6 +371,8 @@ strings that they parse. | |||
| 361 | 371 | that satisfies the range, or `null` if none of them do. | |
| 362 | 372 | * `minSatisfying(versions, range)`: Return the lowest version in the list | |
| 363 | 373 | that satisfies the range, or `null` if none of them do. | |
| 374 | + * `minVersion(range)`: Return the lowest version that can possibly match | ||
| 375 | + the given range. | ||
| 364 | 376 | * `gtr(version, range)`: Return `true` if version is greater than all the | |
| 365 | 377 | versions possible in the range. | |
| 366 | 378 | * `ltr(version, range)`: Return `true` if version is less than all the | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -118,5 +118,5 @@ <h2 id="see-also">SEE ALSO</h2> | |||
| 118 | 118 | <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr> | |
| 119 | 119 | <tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr> | |
| 120 | 120 | </table> | |
| 121 | - <p id="footer"><a href="../doc/README.html">README</a> — npm@6.10.0</p> | ||
| 121 | + <p id="footer"><a href="../doc/README.html">README</a> — npm@6.10.2</p> | ||
| 122 | 122 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -93,5 +93,5 @@ <h2 id="see-also">SEE ALSO</h2> | |||
| 93 | 93 | <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr> | |
| 94 | 94 | <tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr> | |
| 95 | 95 | </table> | |
| 96 | - <p id="footer">npm-access — npm@6.10.0</p> | ||
| 96 | + <p id="footer">npm-access — npm@6.10.2</p> | ||
| 97 | 97 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -78,5 +78,5 @@ <h2 id="see-also">SEE ALSO</h2> | |||
| 78 | 78 | <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr> | |
| 79 | 79 | <tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr> | |
| 80 | 80 | </table> | |
| 81 | - <p id="footer">npm-adduser — npm@6.10.0</p> | ||
| 81 | + <p id="footer">npm-adduser — npm@6.10.2</p> | ||
| 82 | 82 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -94,4 +94,4 @@ <h2 id="see-also">SEE ALSO</h2> | |||
| 94 | 94 | <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr> | |
| 95 | 95 | <tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr> | |
| 96 | 96 | </table> | |
| 97 | - <p id="footer">npm-audit — npm@6.10.0</p> | ||
| 97 | + <p id="footer">npm-audit — npm@6.10.2</p> | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments