This repository was archived by the owner on Apr 2, 2025. It is now read-only.
[Snyk] Upgrade yaml from 1.0.1 to 1.10.0 #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade yaml from 1.0.1 to 1.10.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: yaml
-
1.10.0 - 2020-05-16
- Use Rollup for Node.js & browser builds (#165)
- This removes most of the internal
- Drop dependency on
- Add exports
- Document
- Always indent top-level scalars with lines starting with document markers or % directives (#162)
- Use double-space when forcing top-level block scalar indent, for clarity (#162)
- Add
- Refactor Jest config, adding tests for compiled
- Rename & refactor source files. This should have no effect on the results, but lots of stuff moved around
- Throw more helpful error when setting Pair.commentBefore incorrectly (#157)
- Better errors for bad indents (#169)
- Drop incorrect error for flow mapping keys with length > 1024 chars
- Add errors for plain scalars that start with reserved indicators
- Add more explicit errors for block scalar values with bad indents
- Enable log prints during
- Fix/simplify export mapping of 'yaml/types' and 'yaml/util'
- Fix types, dropping
- Add missing
- Add directivesEndMarker to Document type (#167)
- Use CommonJS for top-level default-exporting browser endpoints (#163)
- docs: Add note about simpleKeys for null values (#170)
- Update dev & playground dependencies, including eslint 7 & jest 26
- Update yaml-test-suite, fixing errors in remaining invalid-input tests
- Add explicit error for block scalars with more-indented leading empty lines (S98Z)
- Properly add error for tab-indented map values (4EJS)
- Add error for multiline implicit flow sequence pair key (DK4H & ZXT5)
- Require space after comma before comment in flow collections (CVW2)
- Use
-
1.9.2 - 2020-04-20
- ts: Fix
-
1.9.1 - 2020-04-18
- Add
- Use a Map for anchors in
- Update dependencies
-
1.9.0 - 2020-04-17
- Add custom ES module exports for browsers (#145)
- Drop
- Support
- Add
- Add
- Add
- Add TypeScript typings, based on
- Only use named exports internally (#145)
- Clean up & document warning silencing, also supporting process.env (Fixes #148)
- Fix typo in flow collection parsing (Fixes #149)
- Accept that multiple blank lines generate multiple nodes (Closes #150)
- Use cross-env to enable building on Windows (#152 by @ shirk3y)
- Specify
- Add
- Export
-
1.8.3 - 2020-03-21
- Add
- Fix parsing of floats like
- Fix
- Add Jest workaround to file deprecation tests
-
1.8.2 - 2020-03-11
- Add a
- Add fallback export targets for Node 13.0-13.6
-
1.8.1 - 2020-03-11
-
1.8.0 - 2020-03-07
- Add ES module exports + set type in package.json (Fixes #138)
- Add custom identifiers for core tags
- Add
- Use ES modules in browser build (supported by all modern bundlers and other packagers)
- Create missing intermediate collections in addIn & setIn (Fixes #131)
- Account for initial indentation when stringifying values (Fixes #133)
- Use a Map for prevObjects in createNode (#137)
- YAML.createNode sets tag in the result, if explicitly given
- Drop Node 6 tests due to incompatibility with Jest 25 (transpilation remains as Node 6)
- cst: Minor refactoring to improve legibility, add some comments
- cst: Drop Node.atCollectionItem as unused since 93a8a44
- cst: Drop Directive.endOfDirective as unused since 307df17
- Clean up YAML 1.1 & JSON boolean tag objects
- Add tests to improve code coverage
- Update dependencies
-
1.7.2 - 2019-10-15
- During schema.createNode, accept Nodes as input (#128)
- Update dependencies
-
1.7.1 - 2019-10-07
- Empty collection items only grab inline comments (#125, #126)
- Set CST Node#context as non-enumerable, to simplify logging
-
1.7.0 - 2019-09-25
-
1.6.0 - 2019-05-23
-
1.5.1 - 2019-05-05
-
1.5.0 - 2019-04-06
-
1.4.0 - 2019-03-07
-
1.3.2 - 2019-02-08
-
1.3.1 - 2019-01-27
-
1.3.0 - 2019-01-27
-
1.2.1 - 2019-01-17
-
1.2.0 - 2019-01-01
-
1.1.0 - 2018-12-11
-
1.0.3 - 2018-11-28
-
1.0.2 - 2018-11-15
-
1.0.1 - 2018-11-07
from yaml GitHub release notesThis will probably be the last minor release of
yaml@1. I'm aiming to releaseyaml@2within a few months; prereleases of that will be published using thenextdist-tag on npm. Patch releases for 1.10 may still happen, if necessary.New Features
dist/paths from the release. If you want/need to use a class or function that is no longer public, please file an issue and we can add it to the exports.@ babel/runtime. After this, the package has 0 runtime dependencies. 🎉{ Alias, Collection, Merge, Node }to 'yaml/types'Schema.createPair()& make itsctxarg optional (#157)getNodes(): string[]method to Anchors (#166)dist/endpointsImproved Errors & Warnings
npm startdebuggingImproved TypeScript declarations
AST.{AstNode,ScalarNode,CollectionNode}(#160)toString()methods to AST nodes (#159)Bugfixes
mapAsMap: truefor out.yaml tests (4FJ6)Node.toJSON()type (#154)onAnchorcallback arg todoc.toJSON()doc.toJSON()New Features
__esModulemarkers from CJS transpilation (#145)BigIntvalues (#146)YAML.scalarOptions(#146)indentoption: number of spaces (default:2) (#147)indentSeqoption: if false, consider-as indentation (default:true) (#147)@ types/yamlby @ ikatyang, with contributions from @ ColinBradley and @ shirk3y (#153)Bugfixes
Document.cstNodetypePair.TypeenumYAMLErrorfrom 'yaml/util'"browser"mappings for types.mjs & util.mjs (#142).8and00.4in the core schema (#144)!!binaryresolution on IE 11"./": "./"export target1.8.1
New Features
sortMapEntriesoption (#44)Bugfixes
Commit messages
Package name: yaml
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs