From a4ae4bf999ee1f242c1dd88436e6f2ddaa097d88 Mon Sep 17 00:00:00 2001 From: Peter Smart Date: Fri, 19 Mar 2021 15:11:15 +0100 Subject: [PATCH] chore: updated package.json --- package.json | 44 ++++++++++++++++++++++---------------------- test/fs.js | 32 +++++++++++++++++++++++++++----- 2 files changed, 49 insertions(+), 27 deletions(-) diff --git a/package.json b/package.json index b51f0d11..e13446e8 100644 --- a/package.json +++ b/package.json @@ -72,54 +72,54 @@ }, "dependencies": { "arr-flatten": "^1.1.0", - "array-sort": "^0.1.4", + "array-sort": "^1.0.0", "create-frame": "^1.0.0", - "define-property": "^1.0.0", - "falsey": "^0.3.2", + "define-property": "^2.0.2", + "falsey": "^1.0.0", "for-in": "^1.0.2", "for-own": "^1.0.0", "get-object": "^0.2.0", - "get-value": "^2.0.6", - "handlebars": "^4.0.11", + "get-value": "^3.0.1", + "handlebars": "^4.7.7", "handlebars-helper-create-frame": "^0.1.0", "handlebars-utils": "^1.0.6", - "has-value": "^1.0.0", + "has-value": "^2.0.2", "helper-date": "^1.0.1", "helper-markdown": "^1.0.0", "helper-md": "^0.2.2", "html-tag": "^2.0.0", "is-even": "^1.0.0", - "is-glob": "^4.0.0", - "is-number": "^4.0.0", - "kind-of": "^6.0.0", + "is-glob": "^4.0.1", + "is-number": "^7.0.0", + "kind-of": "^6.0.3", "lazy-cache": "^2.0.2", "logging-helpers": "^1.0.0", - "micromatch": "^3.1.4", + "micromatch": "^4.0.2", "relative": "^3.0.2", - "striptags": "^3.1.0", + "striptags": "^3.1.1", "to-gfm-code-block": "^0.1.1", "year": "^0.2.1" }, "devDependencies": { - "engine-handlebars": "^0.8.2", + "engine-handlebars": "^1.1.0", "fs-exists-sync": "^0.1.0", - "global-modules": "^1.0.0", - "gulp": "^3.9.1", - "gulp-eslint": "^4.0.0", - "gulp-format-md": "^1.0.0", + "global-modules": "^2.0.0", + "gulp": "^4.0.2", + "gulp-eslint": "^6.0.0", + "gulp-format-md": "^2.0.0", "gulp-istanbul": "^1.1.2", - "gulp-mocha": "^3.0.1", + "gulp-mocha": "^8.0.0", "gulp-unused": "^0.2.1", "helper-changelog": "^0.3.0", "helper-coverage": "^0.1.3", "is-valid-app": "^0.3.0", - "js-yaml": "^3.10.0", + "js-yaml": "^4.0.0", "markdown-link": "^0.1.1", - "mocha": "^3.5.2", - "template-helpers": "^0.6.7", + "mocha": "^8.3.2", + "template-helpers": "^1.0.1", "templates": "^1.2.9", - "through2": "^2.0.3", - "verb-generate-readme": "^0.6.0", + "through2": "^4.0.2", + "verb-generate-readme": "^0.8.0", "vinyl": "^2.1.0" }, "keywords": [ diff --git a/test/fs.js b/test/fs.js index e0b484bd..f51c642f 100644 --- a/test/fs.js +++ b/test/fs.js @@ -99,11 +99,33 @@ describe('fs', function() { it('should filter using a glob pattern', function() { var fn = hbs.compile('{{readdir dir "lib/[a-d]*.js"}}'); assert.deepEqual(fn({dir: 'lib'}).split(','), [ - path.join('lib', 'array.js'), - path.join('lib', 'code.js'), - path.join('lib', 'collection.js'), - path.join('lib', 'comparison.js'), - path.join('lib', 'date.js') + // path.join('lib', 'array.js'), + // path.join('lib', 'code.js'), + // path.join('lib', 'collection.js'), + // path.join('lib', 'comparison.js'), + // path.join('lib', 'date.js'), + 'lib/array.js', + 'lib/code.js', + 'lib/collection.js', + 'lib/comparison.js', + 'lib/date.js', + 'lib/fs.js', + 'lib/html.js', + 'lib/i18n.js', + 'lib/index.js', + 'lib/inflection.js', + 'lib/logging.js', + 'lib/markdown.js', + 'lib/match.js', + 'lib/math.js', + 'lib/misc.js', + 'lib/number.js', + 'lib/object.js', + 'lib/path.js', + 'lib/regex.js', + 'lib/string.js', + 'lib/url.js', + 'lib/utils' ]); });