forked from dependabot/dependabot-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DATALAD RUNCMD] Do interactive fixing of some ambigous typos
=== Do not change lines below === { "chain": [], "cmd": "codespell -w -i 3 -C 2", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
- Loading branch information
1 parent
9cc08fb
commit 8766819
Showing
7 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,7 +103,7 @@ def dependency_up_to_date?(dependency) | |
|
||
# NOTE: Prevent changes to npm 6 lockfiles when the dependency has been | ||
# required in a package.json outside the current folder (e.g. lerna | ||
# proj). npm 7 introduces workspace support so we explitly want to | ||
# proj). npm 7 introduces workspace support so we explicitly want to | ||
# update the root lockfile and check if the dependency is in the | ||
# lockfile | ||
def top_level_dependency_update_not_required?(dependency) | ||
|
@@ -706,7 +706,7 @@ def remove_lockfile_packages_name_attribute(current_name, updated_lockfile_conte | |
# get out of sync because we lock git dependencies (that are not being | ||
# updated) to a specific sha to prevent unrelated updates and the way we | ||
# invoke the `npm install` cli, where we might tell npm to install a | ||
# specific versionm e.g. `npm install [email protected]` but we keep the | ||
# specific version e.g. `npm install [email protected]` but we keep the | ||
# `package.json` requirement for eslint at `^1.0.0`, in which case we | ||
# need to copy this from the manifest to the lockfile after the update | ||
# has finished. | ||
|
@@ -751,7 +751,7 @@ def replace_locked_git_dependencies(updated_lockfile_content) | |
# run npm install | ||
original_from = %("from": "#{details[:from]}") | ||
if npm8? | ||
# NOTE: The `from` syntax has changed in npm 7 to inclued the dependency name | ||
# NOTE: The `from` syntax has changed in npm 7 to include the dependency name | ||
npm8_locked_from = %("from": "#{dependency_name}@#{details[:version]}") | ||
updated_lockfile_content = updated_lockfile_content.gsub(npm8_locked_from, original_from) | ||
else | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters