Comparing version 1.0.2 to 1.0.3
26
index.js
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
var fs = require('fs'); | ||
@@ -9,2 +7,22 @@ var path = require('path'); | ||
function _interopNamespaceDefault(e) { | ||
var n = Object.create(null); | ||
if (e) { | ||
Object.keys(e).forEach(function (k) { | ||
if (k !== 'default') { | ||
var d = Object.getOwnPropertyDescriptor(e, k); | ||
Object.defineProperty(n, k, d.get ? d : { | ||
enumerable: true, | ||
get: function () { return e[k]; } | ||
}); | ||
} | ||
}); | ||
} | ||
n.default = e; | ||
return Object.freeze(n); | ||
} | ||
var fs__namespace = /*#__PURE__*/_interopNamespaceDefault(fs); | ||
var path__namespace = /*#__PURE__*/_interopNamespaceDefault(path); | ||
/** | ||
@@ -346,4 +364,4 @@ * isExists | ||
exports.fs = fs; | ||
exports.path = path; | ||
exports.fs = fs__namespace; | ||
exports.path = path__namespace; | ||
exports.cp = cp; | ||
@@ -350,0 +368,0 @@ exports.extname = extname; |
{ | ||
"name": "qiao-file", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "nodejs file tool", | ||
@@ -27,3 +27,3 @@ "author": "uikoo9 <uikoo9@qq.com>", | ||
}, | ||
"gitHead": "2af98195cbb9624cf766f33bcd947174281c57ed" | ||
"gitHead": "a90554b9aa8312bd0f5dac1b1c2eb297ea126ae5" | ||
} |
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
21661
650