From db6ec47dccea191cbe265bd081d55d7fabb5fda7 Mon Sep 17 00:00:00 2001 From: hacksalot Date: Fri, 2 Feb 2018 04:48:28 -0500 Subject: [PATCH] chore: update stale JavaScript --- dist/core/fresh-resume.js | 2 +- dist/verbs/validate.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/core/fresh-resume.js b/dist/core/fresh-resume.js index 6632689..c256e63 100644 --- a/dist/core/fresh-resume.js +++ b/dist/core/fresh-resume.js @@ -352,7 +352,7 @@ Definition of the FRESHResume class. FreshResume.prototype.isValid = function(info) { var ret, schemaObj, validate; - schemaObj = require('fresca'); + schemaObj = require('fresh-resume-schema'); validator = require('is-my-json-valid'); validate = validator(schemaObj, { formats: { diff --git a/dist/verbs/validate.js b/dist/verbs/validate.js index abf663e..a1f0062 100644 --- a/dist/verbs/validate.js +++ b/dist/verbs/validate.js @@ -52,7 +52,7 @@ Implementation of the 'validate' verb for HackMyResume. } validator = require('is-my-json-valid'); schemas = { - fresh: require('fresca'), + fresh: require('fresh-resume-schema'), jars: require('../core/resume.json') }; results = _.map(sources, function(t) {