@hammerframework/hammer-core
Advanced tools
Comparing version 0.0.1-alpha.7 to 0.0.1-alpha.8
@@ -24,3 +24,3 @@ "use strict"; | ||
const HAMMER_CONFIG_FILE = "hammer.toml"; | ||
const HAMMER_CONFIG_FILE = 'hammer.toml'; | ||
@@ -50,3 +50,3 @@ const getHammerConfigPath = () => { | ||
try { | ||
const config = _toml.default.parse(_fs.default.readFileSync(configPath, "utf8")); | ||
const config = _toml.default.parse(_fs.default.readFileSync(configPath, 'utf8')); | ||
@@ -69,2 +69,2 @@ return _objectSpread({}, config, { | ||
exports.getHammerConfig = getHammerConfig; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9tYWluLnRzIl0sIm5hbWVzIjpbIkhBTU1FUl9DT05GSUdfRklMRSIsImdldEhhbW1lckNvbmZpZ1BhdGgiLCJjb25maWdQYXRoIiwiRXJyb3IiLCJnZXRIYW1tZXJCYXNlRGlyIiwicGF0aCIsImRpcm5hbWUiLCJnZXRIYW1tZXJDb25maWciLCJiYXNlRGlyIiwiY29uZmlnIiwidG9tbCIsInBhcnNlIiwiZnMiLCJyZWFkRmlsZVN5bmMiLCJhcGkiLCJwYXRocyIsImZ1bmN0aW9ucyIsImpvaW4iLCJncmFwaHFsIiwiZ2VuZXJhdGVkIiwiZSJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBOztBQUNBOztBQUNBOztBQUNBOzs7Ozs7Ozs7O0FBRUEsTUFBTUEsa0JBQWtCLEdBQUcsYUFBM0I7O0FBRU8sTUFBTUMsbUJBQW1CLEdBQUcsTUFBYztBQUMvQyxRQUFNQyxVQUFVLEdBQUcseUJBQU9GLGtCQUFQLENBQW5COztBQUNBLE1BQUksQ0FBQ0UsVUFBTCxFQUFpQjtBQUNmLFVBQU0sSUFBSUMsS0FBSixDQUNILHFCQUFvQkgsa0JBQW1CLHNDQURwQyxDQUFOO0FBR0Q7O0FBQ0QsU0FBT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WJlcjtcbiAgICBwYXRoczoge1xuICAgICAgZnVuY3Rpb25zOiBzdHJpbmc7XG4gICAgICBncmFwaHFsOiBzdHJpbmc7XG4gICAgICBnZW5lcmF0ZWQ6IHN0cmluZztcbiAgICB9O1xuICB9O1xufVxuXG5leHBvcnQgY29uc3QgZ2V0SGFtbWVyQ29uZmlnID0gKCk6IEhhbW1lckNvbmZpZyA9PiB7XG4gIGNvbnN0IGNvbmZpZ1BhdGggPSBnZXRIYW1tZXJDb25maWdQYXRoKCk7XG4gIGNvbnN0IGJhc2VEaXIgPSBnZXRIYW1tZXJCYXNlRGlyKGNvbmZpZ1BhdGgpO1xuICB0cnkge1xuICAgIGNvbnN0IGNvbmZpZyA9IHRvbWwucGFyc2UoXG4gICAgICBmcy5yZWFkRmlsZVN5bmMoY29uZmlnUGF0aCwgXCJ1dGY4XCIpXG4gICAgKSBhcyBIYW1tZXJDb25maWc7XG5cbiAgICByZXR1cm4ge1xuICAgICAgLi4uY29uZmlnLFxuICAgICAgYmFzZURpcixcbiAgICAgIGFwaToge1xuICAgICAgICAuLi5jb25maWcuYXBpLFxuICAgICAgICBwYXRoczoge1xuICAgICAgICAgIGZ1bmN0aW9uczogcGF0aC5qb2luKGJhc2VEaXIsIGNvbmZpZy5hcGkucGF0aHMuZnVuY3Rpb25zKSxcbiAgICAgICAgICBncmFwaHFsOiBwYXRoLmpvaW4oYmFzZURpciwgY29uZmlnLmFwaS5wYXRocy5ncmFwaHFsKSxcbiAgICAgICAgICBnZW5lcmF0ZWQ6IHBhdGguam9pbihiYXNlRGlyLCBjb25maWcuYXBpLnBhdGhzLmdlbmVyYXRlZClcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH07XG4gIH0gY2F0Y2ggKGUpIHtcbiAgICB0aHJvdyBuZXcgRXJyb3IoYENvdWxkIG5vdCBwYXJzZSBcIiR7Y29uZmlnUGF0aH1cIjogJHtlfWApO1xuICB9XG59O1xuIl19 | ||
//# sourceMappingURL=data:application/json;charset=utf-8;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oXG4gICAgICBmcy5yZWFkRmlsZVN5bmMoY29uZmlnUGF0aCwgJ3V0ZjgnKVxuICAgICkgYXMgSGFtbWVyQ29uZmlnXG5cbiAgICByZXR1cm4ge1xuICAgICAgLi4uY29uZmlnLFxuICAgICAgYmFzZURpcixcbiAgICAgIGFwaToge1xuICAgICAgICAuLi5jb25maWcuYXBpLFxuICAgICAgICBwYXRoczoge1xuICAgICAgICAgIGZ1bmN0aW9uczogcGF0aC5qb2luKGJhc2VEaXIsIGNvbmZpZy5hcGkucGF0aHMuZnVuY3Rpb25zKSxcbiAgICAgICAgICBncmFwaHFsOiBwYXRoLmpvaW4oYmFzZURpciwgY29uZmlnLmFwaS5wYXRocy5ncmFwaHFsKSxcbiAgICAgICAgICBnZW5lcmF0ZWQ6IHBhdGguam9pbihiYXNlRGlyLCBjb25maWcuYXBpLnBhdGhzLmdlbmVyYXRlZCksXG4gICAgICAgIH0sXG4gICAgICB9LFxuICAgIH1cbiAgfSBjYXRjaCAoZSkge1xuICAgIHRocm93IG5ldyBFcnJvcihgQ291bGQgbm90IHBhcnNlIFwiJHtjb25maWdQYXRofVwiOiAke2V9YClcbiAgfVxufVxuIl19 |
{ | ||
"name": "@hammerframework/hammer-core", | ||
"version": "0.0.1-alpha.7", | ||
"version": "0.0.1-alpha.8", | ||
"main": "dist/main.js", | ||
@@ -26,3 +26,3 @@ "files": [ | ||
}, | ||
"gitHead": "2161e0fee2046bf66951bf0eb82d7002ca5149a8" | ||
"gitHead": "3412c8276b7d385ef08072270e876e34e3308cc7" | ||
} |
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
9204