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

semantic-release

Package Overview
Dependencies
Maintainers
1
Versions
411
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

semantic-release - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

bin/semantic-release.js

9

package.json
{
"name": "semantic-release",
"description": "automated semver compliant package publishing",
"version": "3.0.1",
"version": "3.0.2",
"author": "Stephan Bönnemann <stephan@boennemann.me>",
"bin": "./bin/semantic-release",
"bin": "./bin/semantic-release.js",
"bugs": {

@@ -14,3 +14,2 @@ "url": "https://github.com/boennemann/semantic-release/issues"

"error-first-handler": "^1.0.1",
"git-node": "^0.1.1",
"github": "^0.2.3",

@@ -58,5 +57,5 @@ "github-url-from-git": "^1.4.0",

"scripts": {
"postpublish": "./bin/semantic-release post",
"postpublish": "./bin/semantic-release.js post",
"posttest": "./bin/post-test",
"prepublish": "./bin/semantic-release pre",
"prepublish": "./bin/semantic-release.js pre",
"pretest": "./bin/pre-test",

@@ -63,0 +62,0 @@ "test": "standard && node tests | tap-spec"

'use strict'
var exec = require('child_process').exec
var readFile = require('fs').readFileSync

@@ -7,3 +8,2 @@ var url = require('url')

var changelog = require('conventional-changelog')
var git = require('git-node')
var GitHubApi = require('github')

@@ -35,3 +35,3 @@ var parseSlug = require('parse-github-repo-url')

}, efh(cb)(function (log) {
git.repo('./.git').loadAs('commit', 'HEAD', efh(cb)(function (commit, hash) {
exec('git rev-parse HEAD', efh(cb)(function (hash) {
var ghRepo = parseSlug(repository)

@@ -38,0 +38,0 @@ var release = {

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