Skip to content

Commit

Permalink
Switch to @hapi/joi (#2047)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffposnick authored and philipwalton committed May 1, 2019
1 parent 21b9fb9 commit 23af8ac
Show file tree
Hide file tree
Showing 9 changed files with 274 additions and 282 deletions.
540 changes: 266 additions & 274 deletions packages/workbox-build/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/workbox-build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
"homepage": "https://github.com/GoogleChrome/workbox",
"dependencies": {
"@babel/runtime": "^7.3.4",
"@hapi/joi": "^15.0.0",
"common-tags": "^1.8.0",
"fs-extra": "^4.0.2",
"glob": "^7.1.3",
"joi": "^14.3.1",
"lodash.template": "^4.4.0",
"pretty-bytes": "^5.1.0",
"stringify-object": "^3.3.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
https://opensource.org/licenses/MIT.
*/

const joi = require('joi');
const joi = require('@hapi/joi');

const defaults = require('./defaults');
const regExpObject = require('./reg-exp-object');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
https://opensource.org/licenses/MIT.
*/

const joi = require('joi');
const joi = require('@hapi/joi');

const baseSchema = require('./base-schema');
const defaults = require('./defaults');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
https://opensource.org/licenses/MIT.
*/

const joi = require('joi');
const joi = require('@hapi/joi');

const commonGenerateSchema = require('./common-generate-schema');
const defaults = require('./defaults');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
https://opensource.org/licenses/MIT.
*/

const joi = require('joi');
const joi = require('@hapi/joi');

const commonGenerateSchema = require('./common-generate-schema');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
https://opensource.org/licenses/MIT.
*/

const joi = require('joi');
const joi = require('@hapi/joi');

const baseSchema = require('./base-schema');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
https://opensource.org/licenses/MIT.
*/

const joi = require('joi');
const joi = require('@hapi/joi');

const baseSchema = require('./base-schema');
const defaults = require('./defaults');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
https://opensource.org/licenses/MIT.
*/

const joi = require('joi');
const joi = require('@hapi/joi');

module.exports = joi.object().type(RegExp)
.error(() => 'the value must be a RegExp');

0 comments on commit 23af8ac

Please sign in to comment.