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

knifecycle

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

knifecycle - npm Package Compare versions

Comparing version 5.0.3 to 5.0.4

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## [5.0.4](https://github.com/nfroidure/knifecycle/compare/v5.0.3...v5.0.4) (2019-01-12)
## [5.0.3](https://github.com/nfroidure/knifecycle/compare/v5.0.2...v5.0.3) (2019-01-12)

@@ -2,0 +6,0 @@

@@ -16,2 +16,3 @@ "use strict";

exports.autoName = autoName;
exports.parseName = parseName;
exports.type = type;

@@ -341,3 +342,3 @@ exports.initializer = initializer;

function autoName(initializer) {
const functionName = (initializer.name || '').split(' ').pop().replace(/^init(?:ialize)?([A-Z])/, (_, $1) => $1.toLowerCase());
const functionName = parseName(initializer.name || '');

@@ -350,2 +351,6 @@ if (!functionName) {

}
function parseName(functionName) {
return functionName.split(' ').pop().replace(/^init(?:ialize)?([A-Z])/, (_, $1) => $1.toLowerCase());
}
/**

@@ -352,0 +357,0 @@ * Decorator to set an initializer type.

20

package.json
{
"name": "knifecycle",
"version": "5.0.3",
"version": "5.0.4",
"description": "Manage your NodeJS processes's lifecycle.",

@@ -76,15 +76,15 @@ "main": "dist/index.js",

"devDependencies": {
"@babel/cli": "^7.1.5",
"@babel/core": "^7.1.6",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/preset-env": "^7.1.6",
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
"@babel/preset-env": "^7.2.3",
"@babel/register": "^7.0.0",
"babel-eslint": "^10.0.1",
"browserify": "^16.2.3",
"commitizen": "^3.0.4",
"commitizen": "^3.0.5",
"conventional-changelog-cli": "^2.0.11",
"coveralls": "^3.0.2",
"cz-conventional-changelog": "^2.1.0",
"eslint": "^5.9.0",
"eslint-plugin-prettier": "^3.0.0",
"eslint": "^5.12.0",
"eslint-plugin-prettier": "^3.0.1",
"jsarch": "^1.3.0",

@@ -99,6 +99,6 @@ "jsdoc-to-markdown": "^4.0.1",

"metapak": "^2.0.0",
"metapak-nfroidure": "9.0.3",
"metapak-nfroidure": "9.0.4",
"mocha": "^5.2.0",
"nyc": "^13.0.1",
"prettier": "^1.14.3",
"prettier": "^1.15.3",
"sinon": "^7.1.1"

@@ -105,0 +105,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