| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1e20b05 commit 92f2f19
28 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,7 +27,7 @@ packages will *also* show the paths to the specified packages. For | |||
| 27 | 27 | example, running `npm ls promzard` in npm's source tree will show: | |
| 28 | 28 | ||
| 29 | 29 | ```bash | |
| 30 | - npm@9.5.0 /path/to/npm | ||
| 30 | + npm@9.5.1 /path/to/npm | ||
| 31 | 31 | └─┬ init-package-json@0.0.4 | |
| 32 | 32 | └── promzard@0.1.5 | |
| 33 | 33 | ``` | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,7 +14,7 @@ Note: This command is unaware of workspaces. | |||
| 14 | 14 | ||
| 15 | 15 | ### Version | |
| 16 | 16 | ||
| 17 | - 9.5.0 | ||
| 17 | + 9.5.1 | ||
| 18 | 18 | ||
| 19 | 19 | ### Description | |
| 20 | 20 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -120,7 +120,7 @@ SPDX license identifier for the license you're using, like this: | |||
| 120 | 120 | ||
| 121 | 121 | You can check [the full list of SPDX license | |
| 122 | 122 | IDs](https://spdx.org/licenses/). Ideally you should pick one that is | |
| 123 | - [OSI](https://opensource.org/licenses/alphabetical) approved. | ||
| 123 | + [OSI](https://opensource.org/licenses/) approved. | ||
| 124 | 124 | ||
| 125 | 125 | If your package is licensed under multiple common licenses, use an [SPDX | |
| 126 | 126 | license expression syntax version 2.0 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -160,7 +160,7 @@ <h3 id="description">Description</h3> | |||
| 160 | 160 | the results to only the paths to the packages named. Note that nested | |
| 161 | 161 | packages will <em>also</em> show the paths to the specified packages. For | |
| 162 | 162 | example, running <code>npm ls promzard</code> in npm's source tree will show:</p> | |
| 163 | - <pre><code class="language-bash">npm@9.5.0 /path/to/npm | ||
| 163 | + <pre><code class="language-bash">npm@9.5.1 /path/to/npm | ||
| 164 | 164 | └─┬ init-package-json@0.0.4 | |
| 165 | 165 | └── promzard@0.1.5 | |
| 166 | 166 | </code></pre> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -150,7 +150,7 @@ <h2 id="table-of-contents">Table of contents</h2> | |||
| 150 | 150 | </code></pre> | |
| 151 | 151 | <p>Note: This command is unaware of workspaces.</p> | |
| 152 | 152 | <h3 id="version">Version</h3> | |
| 153 | - <p>9.5.0</p> | ||
| 153 | + <p>9.5.1</p> | ||
| 154 | 154 | <h3 id="description">Description</h3> | |
| 155 | 155 | <p>npm is the package manager for the Node JavaScript platform. It puts | |
| 156 | 156 | modules in place so that node can find them, and manages dependency | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -230,7 +230,7 @@ <h3 id="license">license</h3> | |||
| 230 | 230 | </code></pre> | |
| 231 | 231 | <p>You can check <a href="https://spdx.org/licenses/">the full list of SPDX license | |
| 232 | 232 | IDs</a>. Ideally you should pick one that is | |
| 233 | - <a href="https://opensource.org/licenses/alphabetical">OSI</a> approved.</p> | ||
| 233 | + <a href="https://opensource.org/licenses/">OSI</a> approved.</p> | ||
| 234 | 234 | <p>If your package is licensed under multiple common licenses, use an <a href="https://spdx.dev/specifications/">SPDX | |
| 235 | 235 | license expression syntax version 2.0 | |
| 236 | 236 | string</a>, like this:</p> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,7 +10,7 @@ const BaseCommand = require('../base-command.js') | |||
| 10 | 10 | ||
| 11 | 11 | // Strips out the number from foo.7 or foo.7. or foo.7.tgz | |
| 12 | 12 | // We don't currently compress our man pages but if we ever did this would | |
| 13 | - // seemlessly continue supporting it | ||
| 13 | + // seamlessly continue supporting it | ||
| 14 | 14 | const manNumberRegex = /\.(\d+)(\.[^/\\]*)?$/ | |
| 15 | 15 | // Searches for the "npm-" prefix in page names, to prefer those. | |
| 16 | 16 | const manNpmPrefixRegex = /\/npm-/ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -52,7 +52,7 @@ class Link extends ArboristWorkspaceCmd { | |||
| 52 | 52 | { code: 'ELINKGLOBAL' } | |
| 53 | 53 | ) | |
| 54 | 54 | } | |
| 55 | - // install-links is implicitely false when running `npm link` | ||
| 55 | + // install-links is implicitly false when running `npm link` | ||
| 56 | 56 | this.npm.config.set('install-links', false) | |
| 57 | 57 | ||
| 58 | 58 | // link with no args: symlink the folder to the global location | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,7 @@ const _append = Symbol('append') | |||
| 4 | 4 | ||
| 5 | 5 | const sqBracketsMatcher = str => str.match(/(.+)\[([^\]]+)\]\.?(.*)$/) | |
| 6 | 6 | ||
| 7 | - // replaces any occurence of an empty-brackets (e.g: []) with a special | ||
| 7 | + // replaces any occurrence of an empty-brackets (e.g: []) with a special | ||
| 8 | 8 | // Symbol(append) to represent it, this is going to be useful for the setter | |
| 9 | 9 | // method that will push values to the end of the array when finding these | |
| 10 | 10 | const replaceAppendSymbols = str => { | |
@@ -29,7 +29,7 @@ const parseKeys = key => { | |||
| 29 | 29 | const preSqBracketPortion = index[1] | |
| 30 | 30 | ||
| 31 | 31 | // we want to have a `new String` wrapper here in order to differentiate | |
| 32 | - // between multiple occurences of the same string, e.g: | ||
| 32 | + // between multiple occurrences of the same string, e.g: | ||
| 33 | 33 | // foo.bar[foo.bar] should split into { foo: { bar: { 'foo.bar': {} } } | |
| 34 | 34 | /* eslint-disable-next-line no-new-wrappers */ | |
| 35 | 35 | const foundKey = new String(index[2]) | |
@@ -41,7 +41,7 @@ const parseKeys = key => { | |||
| 41 | 41 | sqBracketItems.add(foundKey) | |
| 42 | 42 | ||
| 43 | 43 | // returns an array that contains either dot-separate items (that will | |
| 44 | - // be splitted appart during the next step OR the fully parsed keys | ||
| 44 | + // be split apart during the next step OR the fully parsed keys | ||
| 45 | 45 | // read from square brackets, e.g: | |
| 46 | 46 | // foo.bar[1.0.0].a.b -> ['foo.bar', '1.0.0', 'a.b'] | |
| 47 | 47 | return [ | |
@@ -142,7 +142,7 @@ const setter = ({ data, key, value, force }) => { | |||
| 142 | 142 | const keys = parseKeys(key) | |
| 143 | 143 | const setKeys = (_data, _key) => { | |
| 144 | 144 | // handles array indexes, converting valid integers to numbers, | |
| 145 | - // note that occurences of Symbol(append) will throw, | ||
| 145 | + // note that occurrences of Symbol(append) will throw, | ||
| 146 | 146 | // so we just ignore these for now | |
| 147 | 147 | let maybeIndex = Number.NaN | |
| 148 | 148 | try { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -22,7 +22,7 @@ async function updateWorkspaces ({ | |||
| 22 | 22 | ? false | |
| 23 | 23 | : config.get('save') | |
| 24 | 24 | ||
| 25 | - // runs a minimalistic reify update, targetting only the workspaces | ||
| 25 | + // runs a minimalistic reify update, targeting only the workspaces | ||
| 26 | 26 | // that had version updates and skipping fund/audit/save | |
| 27 | 27 | const opts = { | |
| 28 | 28 | ...flatOptions, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments