@meteor-it/fs
Advanced tools
Comparing version 1.1.5 to 1.1.7
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const fs_1 = require("fs"); | ||
const path_1 = require("path"); | ||
const fs_1 = __importDefault(require("fs")); | ||
const path_1 = __importDefault(require("path")); | ||
const utils_1 = require("@meteor-it/utils"); | ||
@@ -140,2 +143,2 @@ /** | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInhyZXN0L25vZGVfbW9kdWxlcy9AbWV0ZW9yLWl0L2ZzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsMkJBQXFDO0FBQ3JDLCtCQUF3QjtBQUN4Qiw0Q0FBNkM7QUFHN0M7OztHQUdHO0FBQ0gsU0FBUyxTQUFTLENBQUMsSUFBWTtJQUM5QixPQUFPLHNCQUFzQixDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLENBQUMsRUFBRSxHQUFHLENBQUMsQ0FBQyxDQUFBO0FBQ3hELENBQUM7QUFNRDs7O0dBR0c7QUFDSCxTQUFTLFlBQVksQ0FBQyxJQUFZO0lBQ2pDLE9BQU87UUFDTixJQUFJLEVBQUUsSUFBSSxDQUFDLEtBQUssQ0FBQyxDQUFDLEVBQUUsSUFBSSxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQUMsQ0FBQztRQUN0QyxJQUFJLEVBQUUsTUFBTSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsR0FBRyxDQUFDLEdBQUcsQ0FBQyxDQUFDLEVBQUUsUUFBUSxDQUFDO0tBQzlELENBQUE7QUFDRixDQUFDO0FBRUQ7O0dBRUc7QUFDSSxLQUFLLFVBQVUsT0FBTy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IHt9KSB7XG5cdHJldHVybiBmc05hdGl2ZS5jcmVhdGVSZWFkU3RyZWFtKHBhdGgsIG9wdGlvbnMpO1xufVxuXG4vKipcbiAqIFdyYXBwZXIgdG8gZnMgZnVuY3Rpb25cbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIGdldFdyaXRlU3RyZWFtKHBhdGg6IHN0cmluZywgb3B0aW9ucyA9IHt9KSB7XG5cdHJldHVybiBmc05hdGl2ZS5jcmVhdGVXcml0ZVN0cmVhbShwYXRoLCBvcHRpb25zKTtcbn1cbiJdfQ== |
{ | ||
"name": "@meteor-it/fs", | ||
"version": "1.1.5", | ||
"version": "1.1.7", | ||
"description": "Wrappers for native fs module", | ||
@@ -14,3 +14,3 @@ "module": "index.mjs", | ||
"dependencies": { | ||
"@meteor-it/utils": "^1.3.14" | ||
"@meteor-it/utils": "^1.3.16" | ||
}, | ||
@@ -21,3 +21,3 @@ "sideEffects": false, | ||
}, | ||
"gitHead": "4cf5ddb78afeda62243c0d3146d6f345075841cf" | ||
"gitHead": "b6b1a3dc9ef4e9d34081bc2b30cdddb6dd7061b4" | ||
} |
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
34029
520
Updated@meteor-it/utils@^1.3.16