codemaker
Advanced tools
Comparing version 1.7.0 to 1.8.0
@@ -5,2 +5,3 @@ "use strict"; | ||
const camelcase = require("camelcase"); | ||
// eslint-disable-next-line @typescript-eslint/no-require-imports | ||
const decamelize = require("decamelize"); | ||
@@ -29,2 +30,2 @@ const COMMON_ABBREVIATIONS = ['KiB', 'MiB', 'GiB']; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS11dGlscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImNhc2UtdXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsdUNBQXVDO0FBQ3ZDLHlDQUF5QztBQUV6QyxNQUFNLG9CQUFvQixHQUFHLENBQUMsS0FBSyxFQUFFLEtBQUssRUFBRSxLQUFLLENBQUMsQ0FBQztBQUVuRCxTQUFnQixXQUFXLENBQUMsR0FBRyxJQUFjO0lBQzNDLE9BQU8sU0FBUyxDQUFDLElBQUksQ0FBQyxDQUFDO0FBQ3pCLENBQUM7QUFGRCxrQ0FFQztBQUVELFNBQWdCLFlBQVksQ0FBQyxHQUFHLElBQWM7SUFDNUMsT0FBTyxTQUFTLENBQUMsSUFBSSxFQUFFLEVBQUUsVUFBVSxFQUFFLElBQUksRUFBRSxDQUFDLENBQUM7QUFDL0MsQ0FBQztBQUZELG9DQUVDO0FBRUQsTUFBTSxTQUFTLEdBQUcsSUFBSSxNQUFNLENBQzFCLGNBQWMsb0JBQW9CLENBQUMsR0FBRyxDQUFDLFVBQVUsQ0FBQyxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsYUFBYSxFQUN6RSxHQUFHLENBQ0osQ0FBQztBQUNGLFNBQWdCLFdBQVcsQ0FBQyxDQUFTLEVBQUUsR0FBRyxHQUFHLEdBQUc7SUFDOUMsMkJBQTJCO0lBQzNCLENBQUMsR0FBRyxDQUFDLENBQUMsT0FBTyxDQUNYLFNBQVMsRUFDVC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F8sIGJlZm9yZSwgYWJiciwgYWZ0ZXIpID0+IGJlZm9yZSArIHVjZmlyc3QoYWJici50b0xvd2VyQ2FzZSgpKSArIGFmdGVyLFxuICApO1xuICByZXR1cm4gZGVjYW1lbGl6ZShzLCBzZXApO1xuXG4gIGZ1bmN0aW9uIHVjZmlyc3Qoc3RyOiBzdHJpbmcpIHtcbiAgICByZXR1cm4gc3RyLnN1YnN0cigwLCAxKS50b1VwcGVyQ2FzZSgpICsgc3RyLnN1YnN0cigxKS50b0xvd2VyQ2FzZSgpO1xuICB9XG59XG5cbmZ1bmN0aW9uIHJlZ2V4UXVvdGUoczogc3RyaW5nKSB7XG4gIHJldHVybiBzLnJlcGxhY2UoL1suPyorXiRbXFxdXFxcXCgpe318LV0vZywgJ1xcXFwkJicpO1xufVxuIl19 |
{ | ||
"name": "codemaker", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"description": "A tiny utility for generating source code", | ||
@@ -35,16 +35,15 @@ "license": "Apache-2.0", | ||
"camelcase": "^6.0.0", | ||
"decamelize": "^1.2.0", | ||
"decamelize": "^4.0.0", | ||
"fs-extra": "^9.0.1" | ||
}, | ||
"devDependencies": { | ||
"@types/decamelize": "^1.2.0", | ||
"@types/fs-extra": "^8.1.0", | ||
"@types/jest": "^26.0.0", | ||
"@types/jest": "^26.0.3", | ||
"@types/node": "^10.17.26", | ||
"eslint": "^7.2.0", | ||
"eslint": "^7.3.1", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-plugin-prettier": "^3.1.4", | ||
"jest": "^26.0.1", | ||
"jest": "^26.1.0", | ||
"prettier": "^2.0.5", | ||
"typescript": "~3.9.5" | ||
"typescript": "~3.9.6" | ||
}, | ||
@@ -51,0 +50,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
75499
9
487
+ Addeddecamelize@4.0.0(transitive)
- Removeddecamelize@1.2.0(transitive)
Updateddecamelize@^4.0.0