codemaker
Advanced tools
Comparing version 1.6.0 to 1.7.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.toSnakeCase = exports.toPascalCase = exports.toCamelCase = void 0; | ||
const camelcase = require("camelcase"); | ||
@@ -27,2 +28,2 @@ const decamelize = require("decamelize"); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS11dGlscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImNhc2UtdXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx1Q0FBdUM7QUFDdkMseUNBQXlDO0FBRXpDLE1BQU0sb0JBQW9CLEdBQUcsQ0FBQyxLQUFLLEVBQUUsS0FBSyxFQUFFLEtBQUssQ0FBQyxDQUFDO0FBRW5ELFNBQWdCLFdBQVcsQ0FBQyxHQUFHLElBQWM7SUFDM0MsT0FBTyxTQUFTLENBQUMsSUFBSSxDQUFDLENBQUM7QUFDekIsQ0FBQztBQUZELGtDQUVDO0FBRUQsU0FBZ0IsWUFBWSxDQUFDLEdBQUcsSUFBYztJQUM1QyxPQUFPLFNBQVMsQ0FBQyxJQUFJLEVBQUUsRUFBRSxVQUFVLEVBQUUsSUFBSSxFQUFFLENBQUMsQ0FBQztBQUMvQyxDQUFDO0FBRkQsb0NBRUM7QUFFRCxNQUFNLFNBQVMsR0FBRyxJQUFJLE1BQU0sQ0FDMUIsY0FBYyxvQkFBb0IsQ0FBQyxHQUFHLENBQUMsVUFBVSxDQUFDLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxhQUFhLEVBQ3pFLEdBQUcsQ0FDSixDQUFDO0FBQ0YsU0FBZ0IsV0FBVyxDQUFDLENBQVMsRUFBRSxHQUFHLEdBQUcsR0FBRztJQUM5QywyQkFBMkI7SUFDM0IsQ0FBQyxHQUFHLENBQUMsQ0FBQyxPQUFPLENBQ1gsU0FBUyxFQUNULENBQU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bGl6ZShzLCBzZXApO1xuXG4gIGZ1bmN0aW9uIHVjZmlyc3Qoc3RyOiBzdHJpbmcpIHtcbiAgICByZXR1cm4gc3RyLnN1YnN0cigwLCAxKS50b1VwcGVyQ2FzZSgpICsgc3RyLnN1YnN0cigxKS50b0xvd2VyQ2FzZSgpO1xuICB9XG59XG5cbmZ1bmN0aW9uIHJlZ2V4UXVvdGUoczogc3RyaW5nKSB7XG4gIHJldHVybiBzLnJlcGxhY2UoL1suPyorXiRbXFxdXFxcXCgpe318LV0vZywgJ1xcXFwkJicpO1xufVxuIl19 |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CodeMaker = void 0; | ||
const util = require("util"); | ||
@@ -160,2 +161,2 @@ const caseutils = require("./case-utils"); | ||
exports.CodeMaker = CodeMaker; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29kZW1ha2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiY29kZW1ha2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsNkJBQTZCO0FBQzdCLDBDQUEwQztBQUMxQyx5Q0FBb0M7QUFFcEM7O0dBRUc7QUFDSCxNQUFhLFNBQVM7SUFBdEI7UUFDRTs7V0FFRztRQUNJLGdCQUFXLEdBQUcsQ0FBQyxDQUFDO1FBRWYsZUFBVSxHQUFHLENBQUMsQ0FBQztRQUVOLFVBQUssR0FBRyxJQUFJLEtBQUssRUFBYyxDQUFDO1FBQ2hDLGFBQVEsR0FBRyxJQUFJLEtBQUssRUFBVSxDQUFDO1FBRWhEOztXQUVHO1FBQ0ksdUJBQWtCLEdBQTJCLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDO1FBRXBFOztXQUVHO1FBQ0ksd0JBQW1CLEdBQTJCLEdBQUcsRUFBRSxDQUFDLEdBQUcsQ0FBQztJQTJKak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lxuICAgKi9cbiAgcHVibGljIGV4Y2x1ZGUoZmlsZVBhdGg6IHN0cmluZykge1xuICAgIHRoaXMuZXhjbHVkZXMucHVzaChmaWxlUGF0aCk7XG4gIH1cblxuICAvKipcbiAgICogY29udmVydHNTdHJpbmdUb0NhbWVsQ2FzZVxuICAgKi9cbiAgcHVibGljIHRvQ2FtZWxDYXNlKC4uLmFyZ3M6IHN0cmluZ1tdKSB7XG4gICAgcmV0dXJuIGNhc2V1dGlscy50b0NhbWVsQ2FzZSguLi5hcmdzKTtcbiAgfVxuXG4gIC8qKlxuICAgKiBDb252ZXJ0c1N0cmluZ1RvUGFzY2FsQ2FzZVxuICAgKi9cbiAgcHVibGljIHRvUGFzY2FsQ2FzZSguLi5hcmdzOiBzdHJpbmdbXSkge1xuICAgIHJldHVybiBjYXNldXRpbHMudG9QYXNjYWxDYXNlKC4uLmFyZ3MpO1xuICB9XG5cbiAgLyoqXG4gICAqIGNvbnZlcnRfc3RyaW5nX3RvX3NuYWtlX2Nhc2VcbiAgICogQHBhcmFtIHNlcCBTZXBhcmF0b3IgKGRlZmF1bHRzIHRvICdfJylcbiAgICovXG4gIHB1YmxpYyB0b1NuYWtlQ2FzZShzOiBzdHJpbmcsIHNlcCA9ICdfJykge1xuICAgIHJldHVybiBjYXNldXRpbHMudG9TbmFrZUNhc2Uocywgc2VwKTtcbiAgfVxuXG4gIHByaXZhdGUgbWFrZUluZGVudCgpIHtcbiAgICBsZXQgc3BhY2VzID0gJyc7XG4gICAgZm9yIChsZXQgaSA9IDA7IGkgPCB0aGlzLmN1cnJJbmRlbnQ7ICsraSkge1xuICAgICAgZm9yIChsZXQgaiA9IDA7IGogPCB0aGlzLmluZGVudGF0aW9uOyArK2opIHtcbiAgICAgICAgc3BhY2VzICs9ICcgJztcbiAgICAgIH1cbiAgICB9XG4gICAgcmV0dXJuIHNwYWNlcztcbiAgfVxufVxuIl19 |
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("./codemaker")); | ||
__export(require("./case-utils")); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLGlDQUE0QjtBQUM1QixrQ0FBNkIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NvZGVtYWtlcic7XG5leHBvcnQgKiBmcm9tICcuL2Nhc2UtdXRpbHMnO1xuIl19 | ||
__exportStar(require("./codemaker"), exports); | ||
__exportStar(require("./case-utils"), exports); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBQSw4Q0FBNEI7QUFDNUIsK0NBQTZCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb2RlbWFrZXInO1xuZXhwb3J0ICogZnJvbSAnLi9jYXNlLXV0aWxzJztcbiJdfQ== |
{ | ||
"name": "codemaker", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"description": "A tiny utility for generating source code", | ||
@@ -36,3 +36,3 @@ "license": "Apache-2.0", | ||
"decamelize": "^1.2.0", | ||
"fs-extra": "^9.0.0" | ||
"fs-extra": "^9.0.1" | ||
}, | ||
@@ -42,10 +42,10 @@ "devDependencies": { | ||
"@types/fs-extra": "^8.1.0", | ||
"@types/jest": "^25.2.3", | ||
"@types/node": "^10.17.24", | ||
"eslint": "^7.1.0", | ||
"@types/jest": "^26.0.0", | ||
"@types/node": "^10.17.26", | ||
"eslint": "^7.2.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-plugin-prettier": "^3.1.3", | ||
"eslint-plugin-prettier": "^3.1.4", | ||
"jest": "^26.0.1", | ||
"prettier": "^2.0.5", | ||
"typescript": "~3.8.3" | ||
"typescript": "~3.9.5" | ||
}, | ||
@@ -52,0 +52,0 @@ "jest": { |
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
75360
486
Updatedfs-extra@^9.0.1