Socket
Socket
Sign inDemoInstall

mailgun.js

Package Overview
Dependencies
Maintainers
4
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mailgun.js - npm Package Compare versions

Comparing version 3.5.1 to 3.5.2

.husky/commit-msg

42

package.json
{
"name": "mailgun.js",
"version": "3.5.1",
"version": "3.5.2",
"main": "dist/mailgun.js",

@@ -23,10 +23,8 @@ "types": "dist/index.d.ts",

"start": "webpack --watch --config ./webpack.config.js --progress --color",
"release": "webpack --config ./webpack.release.config.js --progress --color",
"release": "standard-version -a",
"test": "multi='dot=- xunit=./results.xml' mocha -t 10000 -R mocha-multi -r ts-node/register test/*.test.ts",
"test-watch": "mocha -r ts-node/register -w -R dot test/*.test.ts",
"preversion": "npm test",
"version": "npm run release && git add -A dist",
"postversion": "git push && git push --tags && rm -rf build",
"docs": "typedoc --tsconfig ./tsconfig.json",
"lint": "eslint . && eslint . --ext .ts"
"lint": "eslint . && eslint . --ext .ts",
"prepare": "husky install"
},

@@ -46,2 +44,4 @@ "dependencies": {

"@babel/preset-env": "^7.12.1",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@types/base-64": "^1.0.0",

@@ -61,2 +61,3 @@ "@types/chai": "^4.2.14",

"form-data": "^3.0.1",
"husky": "^7.0.1",
"json-loader": "^0.5.7",

@@ -68,2 +69,3 @@ "mocha": "^8.2.1",

"should": "^4.1.0",
"standard-version": "^9.3.1",
"ts-loader": "^8.0.12",

@@ -85,3 +87,29 @@ "ts-node": "^9.1.1",

}
]
],
"standard-version": {
"types": [
{
"type": "breaking",
"section": "Breaking changes"
},
{
"type": "feature",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "other",
"section": "Other changes"
}
],
"commitUrlFormat": "https://github.com/mailgun/mailgun-js/commits/{{hash}}",
"compareUrlFormat": "https://github.com/mailgun/mailgun-js/compare/{{previousTag}}...{{currentTag}}",
"scripts": {
"prerelease": "npm test && webpack --config ./webpack.release.config.js --progress --color && git add -A dist",
"posttag": "git push && git push --tags && rm -rf build"
}
}
}

14

README.md

@@ -1219,17 +1219,7 @@ # Mailgun.js [![Build Status](https://travis-ci.org/mailgun/mailgun-js.svg)](https://travis-ci.org/mailgun/mailgun-js)

Next, determine semantic version bump (major/minor/patch). Then run `npm version` with the appropriate keyword.
Next, run ```npm run release```.
```sh
npm version patch -m "chore(release): added %s"
```
After that, ```run npm login``` and ```npm publish``` to publish changes on npm.
Other examples:
```sh
npm version major -m "chore(release): added %s"
npm version minor -m "chore(release): added %s"
npm version patch -m "chore(release): added %s"
```
## TODO
- add browser demo to heroku
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