codemaker
Advanced tools
Comparing version 1.55.1 to 1.56.0
@@ -22,3 +22,3 @@ "use strict"; | ||
function ucfirst(str) { | ||
return str.substr(0, 1).toUpperCase() + str.substr(1).toLowerCase(); | ||
return str.slice(0, 1).toUpperCase() + str.slice(1).toLowerCase(); | ||
} | ||
@@ -30,2 +30,2 @@ } | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS11dGlscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImNhc2UtdXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsdUNBQXVDO0FBQ3ZDLGlFQUFpRTtBQUNqRSx5Q0FBMEM7QUFFMUMsTUFBTSxvQkFBb0IsR0FBRyxDQUFDLEtBQUssRUFBRSxLQUFLLEVBQUUsS0FBSyxDQUFDLENBQUM7QUFFbkQsU0FBZ0IsV0FBVyxDQUFDLEdBQUcsSUFBYztJQUMzQyxPQUFPLFNBQVMsQ0FBQyxJQUFJLENBQUMsQ0FBQztBQUN6QixDQUFDO0FBRkQsa0NBRUM7QUFFRCxTQUFnQixZQUFZLENBQUMsR0FBRyxJQUFjO0lBQzVDLE9BQU8sU0FBUyxDQUFDLElBQUksRUFBRSxFQUFFLFVBQVUsRUFBRSxJQUFJLEVBQUUsQ0FBQyxDQUFDO0FBQy9DLENBQUM7QUFGRCxvQ0FFQztBQUVELE1BQU0sU0FBUyxHQUFHLElBQUksTUFBTSxDQUMxQixjQUFjLG9CQUFvQixDQUFDLEdBQUcsQ0FBQyxVQUFVLENBQUMsQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLGFBQWEsRUFDekUsR0FBRyxDQUNKLENBQUM7QUFDRixTQUFnQixXQUFXLENBQUMsQ0FBUyxFQUFFLFNBQVMsR0FBRyxHQUFHO0lBQ3BELDJCQUEyQjtJQUMzQixDQUFDLEdBQUcsQ0FBQyxDQUFDLE9BQU8sQ0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AgJ2cnLFxuKTtcbmV4cG9ydCBmdW5jdGlvbiB0b1NuYWtlQ2FzZShzOiBzdHJpbmcsIHNlcGFyYXRvciA9ICdfJyk6IHN0cmluZyB7XG4gIC8vIFNhdmUgY29tbW9uIGFiYnJldmF0aW9uc1xuICBzID0gcy5yZXBsYWNlKFxuICAgIEFCQlJFVl9SRSxcbiAgICAoXywgYmVmb3JlOiBzdHJpbmcsIGFiYnI6IHN0cmluZywgYWZ0ZXI6IHN0cmluZykgPT5cbiAgICAgIGJlZm9yZSArIHVjZmlyc3QoYWJici50b0xvd2VyQ2FzZSgpKSArIGFmdGVyLFxuICApO1xuICByZXR1cm4gZGVjYW1lbGl6ZShzLCB7IHNlcGFyYXRvciB9KTtcblxuICBmdW5jdGlvbiB1Y2ZpcnN0KHN0cjogc3RyaW5nKSB7XG4gICAgcmV0dXJuIHN0ci5zbGljZSgwLCAxKS50b1VwcGVyQ2FzZSgpICsgc3RyLnNsaWNlKDEpLnRvTG93ZXJDYXNlKCk7XG4gIH1cbn1cblxuZnVuY3Rpb24gcmVnZXhRdW90ZShzOiBzdHJpbmcpIHtcbiAgcmV0dXJuIHMucmVwbGFjZSgvWy4/KiteJFtcXF1cXFxcKCl7fXwtXS9nLCAnXFxcXCQmJyk7XG59XG4iXX0= |
{ | ||
"name": "codemaker", | ||
"version": "1.55.1", | ||
"version": "1.56.0", | ||
"description": "A tiny utility for generating source code", | ||
@@ -42,7 +42,7 @@ "license": "Apache-2.0", | ||
"@types/node": "^12.20.47", | ||
"eslint": "^8.10.0", | ||
"eslint": "^8.12.0", | ||
"jest": "^27.5.1", | ||
"prettier": "^2.5.1", | ||
"prettier": "^2.6.2", | ||
"typescript": "~3.9.10" | ||
} | ||
} |
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
65550