<commit_before>Package.describe({
    name: "froatsnook:bardcode",
    version: "1.1.0",
    summary: "Draw 1-D barcodes to Canvases (client and server)",
    git: "https://github.com/froatsnook/bardcode"
});

Package.onUse(function(api) {
    api.versionsFrom("1.0.3.1");
    api.addFiles("lib/01-bardcode.js");
    api.addFiles("lib/canvas.js");
    api.addFiles("lib/Codabar.js");
    api.addFiles("lib/Code128.js");
    api.addFiles("lib/Code39.js");
    api.addFiles("lib/drawBarcode.js");
    api.addFiles("lib/EAN.js");
    api.addFiles("lib/FIM.js");
    api.addFiles("lib/ITF.js");
    api.addFiles("lib/svg.js");
    api.addFiles("lib/validations.js");

    api.export("drawBarcode");
    api.export("bardcode");
});

Package.onTest(function(api) {
    Npm.depends({
        "canvas": "1.1.6"
    });

    api.use("tinytest");
    api.use("froatsnook:bardcode");

    api.addFiles("test/tests.js");
});
<commit_msg>Update canvas (test dependency only).<commit_after>Package.describe({
    name: "froatsnook:bardcode",
    version: "1.1.0",
    summary: "Draw 1-D barcodes to Canvases (client and server)",
    git: "https://github.com/froatsnook/bardcode"
});

Package.onUse(function(api) {
    api.versionsFrom("1.0.3.1");
    api.addFiles("lib/01-bardcode.js");
    api.addFiles("lib/canvas.js");
    api.addFiles("lib/Codabar.js");
    api.addFiles("lib/Code128.js");
    api.addFiles("lib/Code39.js");
    api.addFiles("lib/drawBarcode.js");
    api.addFiles("lib/EAN.js");
    api.addFiles("lib/FIM.js");
    api.addFiles("lib/ITF.js");
    api.addFiles("lib/svg.js");
    api.addFiles("lib/validations.js");

    api.export("drawBarcode");
    api.export("bardcode");
});

Package.onTest(function(api) {
    Npm.depends({
        "canvas": "1.2.1"
    });

    api.use("tinytest");
    api.use("froatsnook:bardcode");

    api.addFiles("test/tests.js");
});

{'fraction_non_alphanumeric': 0.21077908217716115, 'fraction_numerical': 0.0192102454642476, 'mean_word_length': 3.443127962085308, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1393243', 'n_tokens_mistral': 753, 'n_tokens_neox': 722, 'n_words': 80}