Neon-py

Latest version: v0.2.1

Safety actively analyzes 682244 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

3.3.3

- Encoder: uses more readable single quote strings
- `Node::getSubNodes()` changed to IteratorAggregate generator,
- Traverser: added DontTraverseChildren & StopTraversal, $enter and $leave callbacks
- Node: added $startLine & $endLine
- Node: startPos & endPos renamed to startTokenPos & endTokenPos
- cs, constants are PascalCase

3.3.2

- ArrayNode::$indentation usage fixed 63
- ArrayNode split to BlockArrayNode & InlineArrayNode
- InlineArrayNode: added property $bracket
- fixed tests

3.3.1

- added Neon linter
- added `Neon::decodeFile()`
- `Neon::decode()` no longer removes BOM (BC break)
- `Neon::encode()` $flags replaced with parameters
- Neon, Encoder: added $indentation
- Traverser: can return different nodes

3.3.0

* completely rewritten parser
* generates AST
* added Traverser
* encoder uses AST

3.2.2

- uses mb_string when iconv is not available
- improved PHP doc

3.2.1

- Decoder: fixed \s in unicode, replaced with \n\t\_
- Encoder: removed duplicated code (54)

For the details you can have a look at the [diff](https://github.com/nette/neon/compare/v3.2.0...v3.2.1).

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.