Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
yaml-ast-parser-beta
Advanced tools
Readme
This is a fork of JS-YAML which supports parsing of YAML into AST.
In additional to parsing YAML to AST, it has following features:
!include
tag used in RAMLload
method can be used to load the tree and returns YAMLNode
root.
YAMLNode
class is an ancestor for all node kinds.
It's kind
field determine node kind, one of Kind
enum: SCALAR
, MAPPING
, MAP
, SEQ
, ANCHOR_REF
or INCLUDE_REF
. After node kind is determined, it can be casted to one of the YAMLNode
descendants: YAMLScalar
, YAMLMapping
, YamlMap
, YAMLSequence
or YAMLAnchorReference
.
startPosition
and endPosition
of YAMLNode
class provide node range.
YAMLScalar
has string value
field.
YAMLMapping
has YAMLScalar
key
and YAMLNode
value
fields.
YAMLSequence
has YAMLNode[]
items
field.
YamlMap
has YAMLMapping[]
mappings
field.
YAMLAnchorReference
has string referencesAnchor
and YAMLNode
value
.
FAQs
[![Build Status](https://travis-ci.org/mulesoft-labs/yaml-ast-parser.svg?branch=master)](https://travis-ci.org/mulesoft-labs/yaml-ast-parser)
The npm package yaml-ast-parser-beta receives a total of 1 weekly downloads. As such, yaml-ast-parser-beta popularity was classified as not popular.
We found that yaml-ast-parser-beta demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.