Skip to content

Commit

Permalink
fix(build): use publicodes rc.7
Browse files Browse the repository at this point in the history
  • Loading branch information
EmileRolley committed Jan 9, 2024
1 parent f2ec05e commit 8120e9a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"http-server": "^14.1.1",
"nodemon": "^3.0.1",
"prettier": "^3.1.0",
"publicodes": "^1.0.0-rc.6",
"publicodes": "^1.0.0-rc.7",
"yaml": "^2.2.2"
},
"devDependencies": {
Expand Down
5 changes: 4 additions & 1 deletion tests/commons.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ export function getPersonasFromAPI(version, region, lang) {
}

export function testPersonas(rules, personas) {
const engine = new Engine(rules, { logger: disabledLogger })
const engine = new Engine(rules, {
logger: disabledLogger,
allowOrphanRules: true
})
const personasRules = Object.values(personas)
const results = {}

Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -814,10 +814,10 @@ publicodes@^1.0.0-beta.71, publicodes@^1.0.0-beta.77:
resolved "https://registry.yarnpkg.com/publicodes/-/publicodes-1.0.0-beta.77.tgz#45e3c4d2a46bfadcc932e1405ea037e659c28134"
integrity sha512-F8U3WGUWMo3/rxhWYS1gWIiG20g1Yy/+PpXdHM99d6ZHKWnnyh/4txVEuyVE75glgDs+mTjwZPnmoKWsTMXluA==

publicodes@^1.0.0-rc.6:
version "1.0.0-rc.6"
resolved "https://registry.yarnpkg.com/publicodes/-/publicodes-1.0.0-rc.6.tgz#c102984a8c9dad599c56a8b9a00ccaf599b6a581"
integrity sha512-fT5KB+zSEUE0PfO76zpId4w1BVSEhAM27zZ1c5MPz9wwkRjDWLijHwyt90C9lkzRQ2OvatEkMXbAmRegQ/gKVA==
publicodes@^1.0.0-rc.7:
version "1.0.0-rc.7"
resolved "https://registry.yarnpkg.com/publicodes/-/publicodes-1.0.0-rc.7.tgz#2ed0ce1d091674646477d5fd4d6411daaa283a0c"
integrity sha512-Y5WZ1t9BCRJxGFDsOflq0sFyryp7gFe05A9txHfvsW+DMjejnAgvC9O4enaU4+/4fI7+N62jxCWNsmStwqy/ZQ==

qs@^6.4.0:
version "6.11.2"
Expand Down

0 comments on commit 8120e9a

Please sign in to comment.