openapi-cop
openapi-cop copied to clipboard
fix(deps): update dependency js-yaml to v4
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| js-yaml | 3.14.1 -> 4.1.0 |
||||
| @types/js-yaml | 3.12.7 -> 4.0.5 |
Release Notes
nodeca/js-yaml
v4.1.0
Added
- Types are now exported as
yaml.types.XXX. - Every type now has
optionsproperty with original arguments kept as they were (seeyaml.types.int.optionsas an example).
Changed
Schema.extend()now keeps old type order in case of conflicts (e.g. Schema.extend([ a, b, c ]).extend([ b, a, d ]) is now ordered asabcdinstead ofcbad).
v4.0.0
Changed
- Check migration guide to see details for all breaking changes.
- Breaking: "unsafe" tags
!!js/function,!!js/regexp,!!js/undefinedare moved to js-yaml-js-types package. - Breaking: removed
safe*functions. Useload,loadAll,dumpinstead which are all now safe by default. yaml.DEFAULT_SAFE_SCHEMAandyaml.DEFAULT_FULL_SCHEMAare removed, useyaml.DEFAULT_SCHEMAinstead.yaml.Schema.create(schema, tags)is removed, useschema.extend(tags)instead.!!binarynow always mapped toUint8Arrayon load.- Reduced nesting of
/libfolder. - Parse numbers according to YAML 1.2 instead of YAML 1.1 (
01234is now decimal,0o1234is octal,1:23is parsed as string instead of base60). dump()no longer quotes:,[,],(,)except when necessary, #470, #557.- Line and column in exceptions are now formatted as
(X:Y)instead ofat line X, column Y(also present in compact format), #332. - Code snippet created in exceptions now contains multiple lines with line numbers.
dump()now serializesundefinedasnullin collections and removes keys withundefinedin mappings, #571.dump()withskipInvalid=truenow serializes invalid items in collections as null.- Custom tags starting with
!are now dumped as!taginstead of!<!tag>, #576. - Custom tags starting with
tag:yaml.org,2002:are now shorthanded using!!, #258.
Added
- Added
.mjs(es modules) support. - Added
quotingTypeandforceQuotesoptions for dumper to configure string literal style, #290, #529. - Added
styles: { '!!null': 'empty' }option for dumper (serializes{ foo: null }as "foo:"), #570. - Added
replaceroption (similar to option in JSON.stringify), #339. - Custom
Tagcan now handle all tags or multiple tags with the same prefix, #385.
Fixed
- Astral characters are no longer encoded by
dump(), #587. - "duplicate mapping key" exception now points at the correct column, #452.
- Extra commas in flow collections (e.g.
[foo,,bar]) now throw an exception instead of producing null, #321. __proto__key no longer overrides object prototype, #164.- Removed
bower.json. - Tags are now url-decoded in
load()and url-encoded indump()(previously usage of custom non-ascii tags may have led to invalid YAML that can't be parsed). - Anchors now work correctly with empty nodes, #301.
- Fix incorrect parsing of invalid block mapping syntax, #418.
- Throw an error if block sequence/mapping indent contains a tab, #80.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled due to failing status checks.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
:warning: Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
:recycle: Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you check the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: package-lock.json
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/conf/default-cli-options.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/shared/deprecation-warnings.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/conf/eslint-all.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/conf/eslint-recommended.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/cli-engine/file-enumerator.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/rules/utils/fix-tracker.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/cli-engine/hash.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/cli-engine/formatters/html.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/cli-engine/index.js'
npm WARN tar ENOENT: no such file or directory, lstat '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/rules/utils/unicode'
npm WARN tar ENOENT: no such file or directory, lstat '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/rules/utils/unicode'
npm WARN tar ENOENT: no such file or directory, lstat '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/rules/utils/unicode'
npm WARN tar ENOENT: no such file or directory, lstat '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/rules/utils/unicode'
npm WARN tar ENOENT: no such file or directory, lstat '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/rules/utils/unicode'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/cli-engine/formatters/jslint-xml.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/cli-engine/formatters/json-with-metadata.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/cli-engine/formatters/json.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/cli-engine/formatters/junit.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/rules/utils/keywords.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/rules/utils/lazy-loading-rule-map.js'
npm WARN tar ENOENT: no such file or directory, lstat '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/rules/utils/patterns'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/cli-engine/lint-result-cache.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/cli-engine/load-rules.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/shared/logging.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/linter/node-event-generator.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/init/npm-utils.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/source-code/token-store/padded-token-cursor.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/shared/relative-module-resolver.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/linter/report-translator.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/linter/rule-fixer.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/linter/rules.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/shared/runtime-info.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/linter/safe-emitter.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/source-code/token-store/skip-cursor.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/linter/source-code-fixer.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/init/source-code-utils.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/source-code/source-code.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/cli-engine/formatters/stylish.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/cli-engine/formatters/table.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/cli-engine/formatters/tap.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/linter/timing.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/shared/traverser.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/shared/types.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/cli-engine/formatters/unix.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/source-code/token-store/utils.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/cli-engine/formatters/visualstudio.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/lib/cli-engine/xml-escape.js'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/conf/category-list.json'
npm WARN tar ENOENT: no such file or directory, open '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/eslint-694da076/conf/replacements.json'
npm WARN [email protected] had bundled packages that do not match the required version(s). They have been replaced with non-bundled versions.
npm WARN [email protected] requires a peer of typescript@^3.0.0 but none is installed. You must install peer dependencies yourself.
npm ERR! code ENOENT
npm ERR! syscall rename
npm ERR! path /mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/openapi-cop-mock-server-c0bf4e5c/node_modules/@babel/code-frame
npm ERR! dest /mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/@babel/code-frame-c0c47223
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, rename '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/openapi-cop-mock-server-c0bf4e5c/node_modules/@babel/code-frame' -> '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/@babel/code-frame-c0c47223'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/renovate-cache/others/npm/_logs/2021-04-26T14_31_17_180Z-debug.log
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻️ Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you check the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: package-lock.json
npm WARN [email protected] had bundled packages that do not match the required version(s). They have been replaced with non-bundled versions.
npm WARN [email protected] requires a peer of typescript@^3.0.0 but none is installed. You must install peer dependencies yourself.
npm ERR! code ENOENT
npm ERR! syscall rename
npm ERR! path /mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/openapi-cop-mock-server-c0bf4e5c/node_modules/@babel/code-frame
npm ERR! dest /mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/@babel/code-frame-c0c47223
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, rename '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/openapi-cop-mock-server-c0bf4e5c/node_modules/@babel/code-frame' -> '/mnt/renovate/gh/EXXETA/openapi-cop/node_modules/.staging/@babel/code-frame-c0c47223'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/renovate-cache/others/npm/_logs/2021-05-10T03_38_42_749Z-debug.log
Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 4.x releases. But if you manually upgrade to 4.x then Renovate will re-enable minor and patch updates automatically.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.