@platform/cache
Advanced tools
Comparing version 0.3.4 to 0.3.7
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CachedFile = exports.FileCache = void 0; | ||
var FileCache_1 = require("./FileCache"); | ||
@@ -4,0 +5,0 @@ Object.defineProperty(exports, "FileCache", { enumerable: true, get: function () { return FileCache_1.FileCache; } }); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.toCachePath = exports.cleanDir = exports.cleanPath = exports.clean = void 0; | ||
exports.clean = function (path) { return (path || '').trim(); }; | ||
exports.cleanPath = function (path) { return exports.clean(path).replace(/^\/*/, ''); }; | ||
exports.cleanDir = function (path) { return exports.clean(path).replace(/\/*$/, ''); }; | ||
exports.toCachePath = function (dir, path) { return exports.cleanDir(dir) + "/" + exports.cleanPath(path); }; | ||
var clean = function (path) { return (path || '').trim(); }; | ||
exports.clean = clean; | ||
var cleanPath = function (path) { return exports.clean(path).replace(/^\/*/, ''); }; | ||
exports.cleanPath = cleanPath; | ||
var cleanDir = function (path) { return exports.clean(path).replace(/\/*$/, ''); }; | ||
exports.cleanDir = cleanDir; | ||
var toCachePath = function (dir, path) { return exports.cleanDir(dir) + "/" + exports.cleanPath(path); }; | ||
exports.toCachePath = toCachePath; |
{ | ||
"name": "@platform/cache", | ||
"version": "0.3.4", | ||
"version": "0.3.7", | ||
"description": "Caching tools.", | ||
@@ -17,8 +17,8 @@ "main": "lib/index", | ||
"dependencies": { | ||
"@platform/fs.types": "0.1.2", | ||
"@platform/libs": "0.2.3" | ||
"@platform/fs.types": "0.1.3", | ||
"@platform/libs": "0.2.4" | ||
}, | ||
"devDependencies": { | ||
"@platform/test": "0.2.0", | ||
"@platform/ts": "4.1.0" | ||
"@platform/test": "0.2.1", | ||
"@platform/ts": "4.1.3" | ||
}, | ||
@@ -25,0 +25,0 @@ "files": [ |
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
31349
805
+ Added@platform/fs.types@0.1.3(transitive)
+ Added@platform/libs@0.2.4(transitive)
+ Added@types/ramda@0.27.33(transitive)
- Removed@platform/fs.types@0.1.2(transitive)
- Removed@platform/libs@0.2.3(transitive)
- Removed@types/ramda@0.27.32(transitive)
Updated@platform/fs.types@0.1.3
Updated@platform/libs@0.2.4