@pristine-ts/file 0.0.229 → 0.0.231
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/cjs/file.module.js +1 -0
- package/dist/lib/cjs/file.module.js.map +1 -1
- package/dist/lib/cjs/interfaces/file-cursor.interface.js +3 -0
- package/dist/lib/cjs/interfaces/file-cursor.interface.js.map +1 -0
- package/dist/lib/cjs/interfaces/interfaces.js +19 -0
- package/dist/lib/cjs/interfaces/interfaces.js.map +1 -0
- package/dist/lib/cjs/managers/file.manager.js +106 -0
- package/dist/lib/cjs/managers/file.manager.js.map +1 -0
- package/dist/lib/cjs/managers/managers.js +1 -0
- package/dist/lib/cjs/managers/managers.js.map +1 -1
- package/dist/lib/esm/file.module.js +1 -0
- package/dist/lib/esm/file.module.js.map +1 -1
- package/dist/lib/esm/interfaces/file-cursor.interface.js +2 -0
- package/dist/lib/esm/interfaces/file-cursor.interface.js.map +1 -0
- package/dist/lib/esm/interfaces/interfaces.js +3 -0
- package/dist/lib/esm/interfaces/interfaces.js.map +1 -0
- package/dist/lib/esm/managers/file.manager.js +77 -0
- package/dist/lib/esm/managers/file.manager.js.map +1 -0
- package/dist/lib/esm/managers/managers.js +1 -0
- package/dist/lib/esm/managers/managers.js.map +1 -1
- package/dist/types/file.module.d.ts +1 -0
- package/dist/types/interfaces/file-cursor.interface.d.ts +5 -0
- package/dist/types/interfaces/interfaces.d.ts +2 -0
- package/dist/types/managers/file.manager.d.ts +5 -0
- package/dist/types/managers/managers.d.ts +1 -0
- package/package.json +3 -3
|
@@ -18,6 +18,7 @@ exports.FileModule = void 0;
|
|
|
18
18
|
const common_1 = require("@pristine-ts/common");
|
|
19
19
|
const file_module_keyname_1 = require("./file.module.keyname");
|
|
20
20
|
__exportStar(require("./enums/enums"), exports);
|
|
21
|
+
__exportStar(require("./interfaces/interfaces"), exports);
|
|
21
22
|
__exportStar(require("./managers/managers"), exports);
|
|
22
23
|
__exportStar(require("./options/options"), exports);
|
|
23
24
|
exports.FileModule = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file.module.js","sourceRoot":"","sources":["../../../src/file.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,gDAAkE;AAClE,+DAAwD;AAExD,gDAA8B;AAC9B,sDAAoC;AACpC,oDAAkC;AAErB,QAAA,UAAU,GAAoB;IACvC,OAAO,EAAE,uCAAiB;IAC1B,wBAAwB,EAAE,EACzB;IACD,aAAa,EAAE;QACX,qBAAY;KACf;CACJ,CAAA"}
|
|
1
|
+
{"version":3,"file":"file.module.js","sourceRoot":"","sources":["../../../src/file.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,gDAAkE;AAClE,+DAAwD;AAExD,gDAA8B;AAC9B,0DAAwC;AACxC,sDAAoC;AACpC,oDAAkC;AAErB,QAAA,UAAU,GAAoB;IACvC,OAAO,EAAE,uCAAiB;IAC1B,wBAAwB,EAAE,EACzB;IACD,aAAa,EAAE;QACX,qBAAY;KACf;CACJ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-cursor.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/file-cursor.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./file-cursor.interface"), exports);
|
|
18
|
+
__exportStar(require("./file-info.interface"), exports);
|
|
19
|
+
//# sourceMappingURL=interfaces.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/interfaces/interfaces.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,wDAAsC"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
21
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23
|
+
};
|
|
24
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
|
+
if (mod && mod.__esModule) return mod;
|
|
26
|
+
var result = {};
|
|
27
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
28
|
+
__setModuleDefault(result, mod);
|
|
29
|
+
return result;
|
|
30
|
+
};
|
|
31
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
32
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
33
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
34
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
35
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
36
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
37
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
38
|
+
});
|
|
39
|
+
};
|
|
40
|
+
var __asyncValues = (this && this.__asyncValues) || function (o) {
|
|
41
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
42
|
+
var m = o[Symbol.asyncIterator], i;
|
|
43
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
44
|
+
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
45
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
|
46
|
+
};
|
|
47
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
48
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
|
+
};
|
|
50
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
|
+
exports.FileManager = void 0;
|
|
52
|
+
require("reflect-metadata");
|
|
53
|
+
const tsyringe_1 = require("tsyringe");
|
|
54
|
+
const fs_1 = __importDefault(require("fs"));
|
|
55
|
+
const readline = __importStar(require("readline"));
|
|
56
|
+
let FileManager = class FileManager {
|
|
57
|
+
findInFile(search, filePath) {
|
|
58
|
+
var _a, e_1, _b, _c;
|
|
59
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
const fileStream = fs_1.default.createReadStream(filePath);
|
|
61
|
+
const rl = readline.createInterface({
|
|
62
|
+
input: fileStream,
|
|
63
|
+
crlfDelay: Infinity,
|
|
64
|
+
});
|
|
65
|
+
const fileCursors = [];
|
|
66
|
+
let lineIndex = -1;
|
|
67
|
+
let position = 0;
|
|
68
|
+
try {
|
|
69
|
+
for (var _d = true, rl_1 = __asyncValues(rl), rl_1_1; rl_1_1 = yield rl_1.next(), _a = rl_1_1.done, !_a;) {
|
|
70
|
+
_c = rl_1_1.value;
|
|
71
|
+
_d = false;
|
|
72
|
+
try {
|
|
73
|
+
const line = _c;
|
|
74
|
+
position = 0;
|
|
75
|
+
lineIndex++;
|
|
76
|
+
do {
|
|
77
|
+
position = line.indexOf(search, position);
|
|
78
|
+
// If the search string is found, simply add its position
|
|
79
|
+
if (position !== -1) {
|
|
80
|
+
fileCursors.push({ line: lineIndex, position, lineText: line });
|
|
81
|
+
// Move the position by the length of the search term.
|
|
82
|
+
position += search.length;
|
|
83
|
+
}
|
|
84
|
+
} while (position != -1 || position >= line.length);
|
|
85
|
+
}
|
|
86
|
+
finally {
|
|
87
|
+
_d = true;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
92
|
+
finally {
|
|
93
|
+
try {
|
|
94
|
+
if (!_d && !_a && (_b = rl_1.return)) yield _b.call(rl_1);
|
|
95
|
+
}
|
|
96
|
+
finally { if (e_1) throw e_1.error; }
|
|
97
|
+
}
|
|
98
|
+
return fileCursors;
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
FileManager = __decorate([
|
|
103
|
+
(0, tsyringe_1.injectable)()
|
|
104
|
+
], FileManager);
|
|
105
|
+
exports.FileManager = FileManager;
|
|
106
|
+
//# sourceMappingURL=file.manager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file.manager.js","sourceRoot":"","sources":["../../../../src/managers/file.manager.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4BAAyB;AACzB,uCAAoC;AAEpC,4CAAoB;AACpB,mDAAqC;AAG9B,IAAM,WAAW,GAAjB,MAAM,WAAW;IACd,UAAU,CAAC,MAAc,EAAE,QAAgB;;;YAC7C,MAAM,UAAU,GAAG,YAAE,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;YAEjD,MAAM,EAAE,GAAG,QAAQ,CAAC,eAAe,CAAC;gBAChC,KAAK,EAAE,UAAU;gBACjB,SAAS,EAAE,QAAQ;aACtB,CAAC,CAAC;YAEH,MAAM,WAAW,GAA0B,EAAE,CAAC;YAE9C,IAAI,SAAS,GAAG,CAAC,CAAC,CAAC;YACnB,IAAI,QAAQ,GAAG,CAAC,CAAC;;gBACjB,KAAwB,eAAA,OAAA,cAAA,EAAE,CAAA,QAAA;oBAAF,kBAAE;oBAAF,WAAE;;wBAAhB,MAAM,IAAI,KAAA,CAAA;wBAChB,QAAQ,GAAG,CAAC,CAAC;wBACb,SAAS,EAAE,CAAC;wBAEZ,GAAG;4BACC,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;4BAE1C,yDAAyD;4BACzD,IAAG,QAAQ,KAAK,CAAC,CAAC,EAAE;gCAChB,WAAW,CAAC,IAAI,CAAC,EAAC,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAC,CAAC,CAAA;gCAE7D,sDAAsD;gCACtD,QAAQ,IAAI,MAAM,CAAC,MAAM,CAAC;6BAC7B;yBACJ,QAAQ,QAAQ,IAAI,CAAC,CAAC,IAAI,QAAQ,IAAI,IAAI,CAAC,MAAM,EAAC;;;;;iBACtD;;;;;;;;;YAED,OAAO,WAAW,CAAC;;KACtB;CACJ,CAAA;AAhCY,WAAW;IADvB,IAAA,qBAAU,GAAE;GACA,WAAW,CAgCvB;AAhCY,kCAAW"}
|
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./directory.manager"), exports);
|
|
18
|
+
__exportStar(require("./file.manager"), exports);
|
|
18
19
|
//# sourceMappingURL=managers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managers.js","sourceRoot":"","sources":["../../../../src/managers/managers.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC"}
|
|
1
|
+
{"version":3,"file":"managers.js","sourceRoot":"","sources":["../../../../src/managers/managers.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,iDAA+B"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CommonModule } from "@pristine-ts/common";
|
|
2
2
|
import { FileModuleKeyname } from "./file.module.keyname";
|
|
3
3
|
export * from "./enums/enums";
|
|
4
|
+
export * from "./interfaces/interfaces";
|
|
4
5
|
export * from "./managers/managers";
|
|
5
6
|
export * from "./options/options";
|
|
6
7
|
export const FileModule = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file.module.js","sourceRoot":"","sources":["../../../src/file.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAkB,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAC,iBAAiB,EAAC,MAAM,uBAAuB,CAAC;AAExD,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAElC,MAAM,CAAC,MAAM,UAAU,GAAoB;IACvC,OAAO,EAAE,iBAAiB;IAC1B,wBAAwB,EAAE,EACzB;IACD,aAAa,EAAE;QACX,YAAY;KACf;CACJ,CAAA"}
|
|
1
|
+
{"version":3,"file":"file.module.js","sourceRoot":"","sources":["../../../src/file.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAkB,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAC,iBAAiB,EAAC,MAAM,uBAAuB,CAAC;AAExD,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAElC,MAAM,CAAC,MAAM,UAAU,GAAoB;IACvC,OAAO,EAAE,iBAAiB;IAC1B,wBAAwB,EAAE,EACzB;IACD,aAAa,EAAE;QACX,YAAY;KACf;CACJ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-cursor.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/file-cursor.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/interfaces/interfaces.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
8
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
9
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
10
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
11
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
12
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
13
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
14
|
+
});
|
|
15
|
+
};
|
|
16
|
+
var __asyncValues = (this && this.__asyncValues) || function (o) {
|
|
17
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
18
|
+
var m = o[Symbol.asyncIterator], i;
|
|
19
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
20
|
+
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
21
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
|
22
|
+
};
|
|
23
|
+
import "reflect-metadata";
|
|
24
|
+
import { injectable } from "tsyringe";
|
|
25
|
+
import fs from "fs";
|
|
26
|
+
import * as readline from "readline";
|
|
27
|
+
let FileManager = class FileManager {
|
|
28
|
+
findInFile(search, filePath) {
|
|
29
|
+
var _a, e_1, _b, _c;
|
|
30
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
31
|
+
const fileStream = fs.createReadStream(filePath);
|
|
32
|
+
const rl = readline.createInterface({
|
|
33
|
+
input: fileStream,
|
|
34
|
+
crlfDelay: Infinity,
|
|
35
|
+
});
|
|
36
|
+
const fileCursors = [];
|
|
37
|
+
let lineIndex = -1;
|
|
38
|
+
let position = 0;
|
|
39
|
+
try {
|
|
40
|
+
for (var _d = true, rl_1 = __asyncValues(rl), rl_1_1; rl_1_1 = yield rl_1.next(), _a = rl_1_1.done, !_a;) {
|
|
41
|
+
_c = rl_1_1.value;
|
|
42
|
+
_d = false;
|
|
43
|
+
try {
|
|
44
|
+
const line = _c;
|
|
45
|
+
position = 0;
|
|
46
|
+
lineIndex++;
|
|
47
|
+
do {
|
|
48
|
+
position = line.indexOf(search, position);
|
|
49
|
+
// If the search string is found, simply add its position
|
|
50
|
+
if (position !== -1) {
|
|
51
|
+
fileCursors.push({ line: lineIndex, position, lineText: line });
|
|
52
|
+
// Move the position by the length of the search term.
|
|
53
|
+
position += search.length;
|
|
54
|
+
}
|
|
55
|
+
} while (position != -1 || position >= line.length);
|
|
56
|
+
}
|
|
57
|
+
finally {
|
|
58
|
+
_d = true;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
63
|
+
finally {
|
|
64
|
+
try {
|
|
65
|
+
if (!_d && !_a && (_b = rl_1.return)) yield _b.call(rl_1);
|
|
66
|
+
}
|
|
67
|
+
finally { if (e_1) throw e_1.error; }
|
|
68
|
+
}
|
|
69
|
+
return fileCursors;
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
FileManager = __decorate([
|
|
74
|
+
injectable()
|
|
75
|
+
], FileManager);
|
|
76
|
+
export { FileManager };
|
|
77
|
+
//# sourceMappingURL=file.manager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file.manager.js","sourceRoot":"","sources":["../../../../src/managers/file.manager.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,kBAAkB,CAAA;AACzB,OAAO,EAAC,UAAU,EAAC,MAAM,UAAU,CAAC;AAEpC,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAG9B,IAAM,WAAW,GAAjB,MAAM,WAAW;IACd,UAAU,CAAC,MAAc,EAAE,QAAgB;;;YAC7C,MAAM,UAAU,GAAG,EAAE,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;YAEjD,MAAM,EAAE,GAAG,QAAQ,CAAC,eAAe,CAAC;gBAChC,KAAK,EAAE,UAAU;gBACjB,SAAS,EAAE,QAAQ;aACtB,CAAC,CAAC;YAEH,MAAM,WAAW,GAA0B,EAAE,CAAC;YAE9C,IAAI,SAAS,GAAG,CAAC,CAAC,CAAC;YACnB,IAAI,QAAQ,GAAG,CAAC,CAAC;;gBACjB,KAAwB,eAAA,OAAA,cAAA,EAAE,CAAA,QAAA;oBAAF,kBAAE;oBAAF,WAAE;;wBAAhB,MAAM,IAAI,KAAA,CAAA;wBAChB,QAAQ,GAAG,CAAC,CAAC;wBACb,SAAS,EAAE,CAAC;wBAEZ,GAAG;4BACC,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;4BAE1C,yDAAyD;4BACzD,IAAG,QAAQ,KAAK,CAAC,CAAC,EAAE;gCAChB,WAAW,CAAC,IAAI,CAAC,EAAC,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAC,CAAC,CAAA;gCAE7D,sDAAsD;gCACtD,QAAQ,IAAI,MAAM,CAAC,MAAM,CAAC;6BAC7B;yBACJ,QAAQ,QAAQ,IAAI,CAAC,CAAC,IAAI,QAAQ,IAAI,IAAI,CAAC,MAAM,EAAC;;;;;iBACtD;;;;;;;;;YAED,OAAO,WAAW,CAAC;;KACtB;CACJ,CAAA;AAhCY,WAAW;IADvB,UAAU,EAAE;GACA,WAAW,CAgCvB;SAhCY,WAAW"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managers.js","sourceRoot":"","sources":["../../../../src/managers/managers.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"managers.js","sourceRoot":"","sources":["../../../../src/managers/managers.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pristine-ts/file",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.231",
|
|
4
4
|
"description": "",
|
|
5
5
|
"module": "dist/lib/esm/file.module.js",
|
|
6
6
|
"main": "dist/lib/cjs/file.module.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"access": "public"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@pristine-ts/common": "^0.0.
|
|
23
|
+
"@pristine-ts/common": "^0.0.231"
|
|
24
24
|
},
|
|
25
25
|
"jest": {
|
|
26
26
|
"transform": {
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"src/*.{js,ts}"
|
|
57
57
|
]
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "d990f62ce6294df1f3963bc53f161ac2425007af"
|
|
60
60
|
}
|