From 9c4235609aee63a1901d4aa30724cae903c961f3 Mon Sep 17 00:00:00 2001 From: Alexander Wunschik Date: Sun, 26 Dec 2021 22:46:56 +0100 Subject: [PATCH] fix: switch from deprecated jStat to jstat --- js/index.js | 2 +- package.json | 2 +- webpack.dist.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/index.js b/js/index.js index bdc5e94..6c6e709 100644 --- a/js/index.js +++ b/js/index.js @@ -1,7 +1,7 @@ /*global require: false, module: false */ 'use strict'; -var jStat = require('jStat').jStat; +var { jStat } = require('jstat'); var pluck, uniq, sortBy, diff --git a/package.json b/package.json index 1923279..509f840 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ }, "dependencies": { "babel-runtime": "^5.1.13", - "jStat": "^1.4.3", + "jstat": "^1.9.5", "underscore": "^1.7.0" }, "keywords": [ diff --git a/webpack.dist.js b/webpack.dist.js index 1fdee21..d17390e 100644 --- a/webpack.dist.js +++ b/webpack.dist.js @@ -8,7 +8,7 @@ config.output = { }; config.externals = [ - 'jStat' + 'jstat' ]; module.exports = config;