build(deps): bump github.com/open-policy-agent/opa from 1.11.1 to 1.12.3
Bumps [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) from 1.11.1 to 1.12.3. - [Release notes](https://github.com/open-policy-agent/opa/releases) - [Changelog](https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md) - [Commits](https://github.com/open-policy-agent/opa/compare/v1.11.1...v1.12.3) --- updated-dependencies: - dependency-name: github.com/open-policy-agent/opa dependency-version: 1.12.3 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
committed by
Ralf Haferkamp
parent
a732547512
commit
e8b1834706
+12
@@ -719,6 +719,18 @@ opa_strings_upper,opa_abort
|
||||
opa_strings_upper,opa_unicode_to_upper
|
||||
opa_strings_upper,opa_realloc
|
||||
opa_strings_upper,opa_unicode_encode_utf8
|
||||
to_string,opa_value_type
|
||||
to_string,opa_string_terminated
|
||||
to_string,opa_value_dump
|
||||
to_string,opa_strlen
|
||||
to_string,opa_string_allocated
|
||||
opa_template_string,opa_value_type
|
||||
opa_template_string,opa_array_with_cap
|
||||
opa_template_string,to_string
|
||||
opa_template_string,opa_array_append
|
||||
opa_template_string,opa_malloc
|
||||
opa_template_string,memcpy
|
||||
opa_template_string,opa_string_allocated
|
||||
opa_types_is_number,opa_value_type
|
||||
opa_types_is_number,opa_boolean
|
||||
opa_types_is_string,opa_value_type
|
||||
|
||||
|
BIN
Binary file not shown.
+1
@@ -162,6 +162,7 @@ var builtinsFunctions = map[string]string{
|
||||
ast.TrimRight.Name: "opa_strings_trim_right",
|
||||
ast.TrimSuffix.Name: "opa_strings_trim_suffix",
|
||||
ast.TrimSpace.Name: "opa_strings_trim_space",
|
||||
ast.InternalTemplateString.Name: "opa_template_string",
|
||||
ast.NumbersRange.Name: "opa_numbers_range",
|
||||
ast.ToNumber.Name: "opa_to_number",
|
||||
ast.WalkBuiltin.Name: "opa_value_transitive_closure",
|
||||
|
||||
+1
-1
@@ -1768,7 +1768,7 @@ func (p *Planner) planRef(ref ast.Ref, iter planiter) error {
|
||||
return errors.New("illegal ref: non-var head")
|
||||
}
|
||||
|
||||
if head.Compare(ast.DefaultRootDocument.Value) == 0 {
|
||||
if head.Equal(ast.DefaultRootDocument.Value) {
|
||||
virtual := p.rules.Get(ref[0].Value)
|
||||
base := &baseptr{local: p.vars.GetOrEmpty(ast.DefaultRootDocument.Value.(ast.Var))}
|
||||
return p.planRefData(virtual, base, ref, 1, iter)
|
||||
|
||||
+1
-1
@@ -83,7 +83,7 @@ func readModule(r io.Reader) (*module.Module, error) {
|
||||
|
||||
var m module.Module
|
||||
|
||||
if err := readSections(r, &m); err != nil && err != io.EOF {
|
||||
if err := readSections(r, &m); err != io.EOF {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user