Skip to content

Commit

Permalink
fix: switch from deprecated jStat to jstat
Browse files Browse the repository at this point in the history
  • Loading branch information
mojoaxel committed Dec 26, 2021
1 parent aa6b2f5 commit 9c42356
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*global require: false, module: false */
'use strict';

var jStat = require('jStat').jStat;
var { jStat } = require('jstat');
var pluck,
uniq,
sortBy,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"dependencies": {
"babel-runtime": "^5.1.13",
"jStat": "^1.4.3",
"jstat": "^1.9.5",
"underscore": "^1.7.0"
},
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion webpack.dist.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ config.output = {
};

config.externals = [
'jStat'
'jstat'
];

module.exports = config;

0 comments on commit 9c42356

Please sign in to comment.