Add more import paths for xmlpath

This commit is contained in:
Owen Mansel-Chan
2024-08-01 10:25:01 +01:00
parent 9d866192a6
commit 62adb31ca6
2 changed files with 11 additions and 1 deletions

View File

@@ -5,6 +5,11 @@ extensions:
data:
- ["xmlpath", "gopkg.in/xmlpath"]
- ["xmlpath", "github.com/go-xmlpath/xmlpath"]
- ["xmlpath", "github.com/crankycoder/xmlpath"]
- ["xmlpath", "launchpad.net/xmlpath"]
- ["xmlpath", "github.com/masterzen/xmlpath"]
- ["xmlpath", "github.com/going/toolkit/xmlpath"]
- ["xmlpath", "gopkg.in/go-xmlpath/xmlpath"]
- addsTo:
pack: codeql/go-all
extensible: sinkModel

View File

@@ -43,6 +43,11 @@ deprecated module XmlPath {
* Gets the package name `github.com/go-xmlpath/xmlpath` or `gopkg.in/xmlpath`.
*/
deprecated string packagePath() {
result = package(["github.com/go-xmlpath/xmlpath", "gopkg.in/xmlpath"], "")
result =
package([
"github.com/go-xmlpath/xmlpath", "gopkg.in/xmlpath", "github.com/crankycoder/xmlpath",
"launchpad.net/xmlpath", "github.com/masterzen/xmlpath",
"github.com/going/toolkit/xmlpath", "gopkg.in/go-xmlpath/xmlpath"
], "")
}
}