Affected by GO-2026-4768
and 2 other vulnerabilities
GO-2026-4768 : Dasel has unbounded YAML alias expansion in dasel leads to CPU/memory denial of service in github.com/tomwright/dasel
GO-2026-5491 : Dasel: Index-out-of-range panic in dasel selector lexer on trailing backslash in quoted string in github.com/tomwright/dasel
GO-2026-5493 : Dasel: Denial of service in dasel selector lexer due to infinite loop on unterminated regex literal in github.com/tomwright/dasel
Discover Packages
github.com/tomwright/dasel/v3
model
orderedmap
package
Version:
v3.1.4
Opens a new window with list of versions in this module.
Published: Dec 18, 2025
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type KeyValue struct {
Key string
Value any
}
KeyValue is a single key value pair from a *Map.
Map is a map implementation that maintains ordering of keys.
FromMap creates a *Map from the input map.
Note that while the contents will be ordered, the ordering is not
guaranteed since the input map is unordered.
NewMap returns a new *Map that has its values initialised.
Delete deletes the value found under the given key.
Get returns the value found under the given key.
KeyValues returns the KeyValue pairs within the map, in the order that they were added.
Keys returns all the keys from the map.
Set sets a value under the given key.
UnorderedData returns all the data from the map.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.