Comparing version 5.0.0 to 5.0.1
@@ -7,3 +7,3 @@ 'use strict' | ||
const fs = require('graceful-fs') | ||
fs.statAsync = promisify(fs.stat) | ||
const statAsync = promisify(fs.stat.bind(fs)) | ||
const pathLib = require('path') | ||
@@ -193,3 +193,3 @@ const _ = require('lodash') | ||
const [stat] = await Promise.all([fs.statAsync(path), this._refreshing]) | ||
const [stat] = await Promise.all([statAsync(path), this._refreshing]) | ||
file.mtime = stat.mtime | ||
@@ -212,3 +212,3 @@ await this._preprocess(file) | ||
const [stat] = await Promise.all([fs.statAsync(path), this._refreshing]) | ||
const [stat] = await Promise.all([statAsync(path), this._refreshing]) | ||
if (force || stat.mtime > file.mtime) { | ||
@@ -215,0 +215,0 @@ file.mtime = stat.mtime |
@@ -481,3 +481,3 @@ { | ||
}, | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"license": "MIT", | ||
@@ -484,0 +484,0 @@ "husky": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
495101