Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

get-meta-file

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-meta-file - npm Package Compare versions

Comparing version 1.3.5 to 1.3.6

.husky/commit-msg

10

index.js

@@ -13,3 +13,3 @@ const { gray, green, yellow, underline } = require('chalk');

const warnMissing = cwd => dedent`
const warnMissing = (cwd) => dedent`
${CWD_NOT_META}:

@@ -21,3 +21,3 @@ ${gray(tildify(cwd))}

module.exports = function(options = {}) {
module.exports = function (options = {}) {
options.warn = options.warn !== false;

@@ -89,12 +89,12 @@

module.exports.getFileLocation = function() {
module.exports.getFileLocation = function () {
return findUpsync('.meta', { cwd: process.cwd() });
};
module.exports.format = function(meta) {
module.exports.format = function (meta) {
return JSON.stringify(meta, null, 2) + '\n';
};
module.exports.save = function(meta) {
module.exports.save = function (meta) {
fs.writeFileSync(module.exports.getFileLocation(), module.exports.format(meta));
};
{
"name": "get-meta-file",
"version": "1.3.5",
"version": "1.3.6",
"description": "gets a meta file and its contents",

@@ -8,3 +8,3 @@ "main": "index.js",

"commit": "git-cz",
"lint": "prettier --write \"bin/*\" index.js",
"lint": "prettier --write index.js",
"test": "jest --config jest.json --coverage",

@@ -14,8 +14,2 @@ "test:coverage": "jest --config jest.json --coverage",

},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "pretty-quick --staged"
}
},
"repository": {

@@ -48,11 +42,11 @@ "type": "git",

"devDependencies": {
"@commitlint/cli": "8.3.5",
"@commitlint/config-conventional": "8.3.4",
"commitizen": "3.1.2",
"cz-conventional-changelog": "2.1.0",
"husky": "2.7.0",
"jest": "24.9.0",
"prettier": "1.19.1",
"pretty-quick": "1.11.1"
"@commitlint/cli": "12.1.1",
"@commitlint/config-conventional": "12.1.1",
"commitizen": "4.2.3",
"cz-conventional-changelog": "3.3.0",
"husky": "6.0.0",
"jest": "26.6.3",
"prettier": "2.2.1",
"pretty-quick": "3.1.0"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc