This commit is contained in:
CHEVALLIER Abel
2025-11-13 16:23:22 +01:00
parent de9c515a47
commit cb235644dc
34924 changed files with 3811102 additions and 0 deletions

23
node_modules/chardet/lib/encoding/ascii.js generated vendored Normal file
View File

@@ -0,0 +1,23 @@
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const match_1 = __importDefault(require("../match"));
class Ascii {
name() {
return 'ASCII';
}
match(det) {
const input = det.rawInput;
for (let i = 0; i < det.rawLen; i++) {
const b = input[i];
if (b < 32 || b > 126) {
return (0, match_1.default)(det, this, 0);
}
}
return (0, match_1.default)(det, this, 100);
}
}
exports.default = Ascii;
//# sourceMappingURL=ascii.js.map