Skip to content

Commit

Permalink
Update ajv to latest 8.8.2 version and fix issue with unicode regex p…
Browse files Browse the repository at this point in the history
…arsing that it uses now by default
  • Loading branch information
jakejscott committed Jan 2, 2022
1 parent ebedc24 commit 187441c
Show file tree
Hide file tree
Showing 5 changed files with 19,979 additions and 19,824 deletions.
4 changes: 3 additions & 1 deletion serverless-plugin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ class ServerlessPlugin {
finalizeHook () {
const slicWatchConfig = (this.serverless.service.custom || {}).slicWatch || {}

const ajv = new Ajv()
const ajv = new Ajv({
unicodeRegExp: false
})
const slicWatchValidate = ajv.compile(slicWatchSchema)
const slicWatchValid = slicWatchValidate(slicWatchConfig)
if (!slicWatchValid) {
Expand Down
Loading

0 comments on commit 187441c

Please sign in to comment.