@netlify/open-api
Advanced tools
Comparing version 0.11.4 to 0.12.0
@@ -5,7 +5,49 @@ # Changelog | ||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) | ||
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). | ||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). | ||
## [v0.12.0](https://github.com/netlify/open-api/compare/v0.11.4...v0.12.0) - 2019-12-16 | ||
### Merged | ||
- Remove `payment_method_id` from accountUpdateSetup [`#169`](https://github.com/netlify/open-api/pull/169) | ||
- Fix options of go generation command [`#205`](https://github.com/netlify/open-api/pull/205) | ||
- Remove obsolete okbody structs [`#206`](https://github.com/netlify/open-api/pull/206) | ||
- Bump js-yaml from 3.12.2 to 3.13.1 [`#203`](https://github.com/netlify/open-api/pull/203) | ||
- Bump lodash from 4.17.11 to 4.17.15 [`#204`](https://github.com/netlify/open-api/pull/204) | ||
- Bump lodash-es from 4.17.11 to 4.17.15 [`#202`](https://github.com/netlify/open-api/pull/202) | ||
- Add CI for the OpenAPI specification and the API documentation [`#201`](https://github.com/netlify/open-api/pull/201) | ||
- Fix Go client generation [`#200`](https://github.com/netlify/open-api/pull/200) | ||
- Enhance documentation UI [`#182`](https://github.com/netlify/open-api/pull/182) | ||
- Group `require()` statements [`#197`](https://github.com/netlify/open-api/pull/197) | ||
- Add `description` field [`#176`](https://github.com/netlify/open-api/pull/176) | ||
- Upgrade all dependencies [`#181`](https://github.com/netlify/open-api/pull/181) | ||
- Add linting and prettifying [`#185`](https://github.com/netlify/open-api/pull/185) | ||
- Add `externalDocs` [`#186`](https://github.com/netlify/open-api/pull/186) | ||
- Validate and normalize OpenAPI specification [`#194`](https://github.com/netlify/open-api/pull/194) | ||
- Simplify version bumping [`#179`](https://github.com/netlify/open-api/pull/179) | ||
- Add unit tests [`#196`](https://github.com/netlify/open-api/pull/196) | ||
- Fix YAML syntax error [`#193`](https://github.com/netlify/open-api/pull/193) | ||
- Remove `required: false` [`#188`](https://github.com/netlify/open-api/pull/188) | ||
- Re-order npm scripts [`#180`](https://github.com/netlify/open-api/pull/180) | ||
- Add Node.js version [`#184`](https://github.com/netlify/open-api/pull/184) | ||
- Add OpenAPI tags [`#178`](https://github.com/netlify/open-api/pull/178) | ||
- Add terms of service [`#173`](https://github.com/netlify/open-api/pull/173) | ||
- Make npm package size smaller [`#195`](https://github.com/netlify/open-api/pull/195) | ||
- Fix `installation_id` type [`#164`](https://github.com/netlify/open-api/pull/164) | ||
- added split testing endpoints [`#161`](https://github.com/netlify/open-api/pull/161) | ||
- Use go proxy [`#159`](https://github.com/netlify/open-api/pull/159) | ||
### Fixed | ||
- Fix `installation_id` type [`#162`](https://github.com/netlify/open-api/issues/162) | ||
### Commits | ||
- Fix merge conflict [`c5cf049`](https://github.com/netlify/open-api/commit/c5cf049ea5d618c1eb382e4d3bd1c2148bb22145) | ||
- Fix merge conflict [`ce229cd`](https://github.com/netlify/open-api/commit/ce229cdb5e651e5aa697e2570832519462e359f4) | ||
- Fix file copy [`4d016c1`](https://github.com/netlify/open-api/commit/4d016c10085dec55702f17a7fb186d337e29cc84) | ||
## [v0.11.4](https://github.com/netlify/open-api/compare/v0.11.3...v0.11.4) - 2019-04-19 | ||
@@ -38,3 +80,3 @@ | ||
- Add prepublish hook [`ed4efa3`](https://github.com/netlify/open-api/commit/ed4efa3c36e4e052399877a74a71fda9e1c80010) | ||
- Change embeeded DefaultSyncFileLimit to 500 [`c5e88e6`](https://github.com/netlify/open-api/commit/c5e88e623327088e12a51ef98573e13eb17e6aa0) | ||
- Change embeeded DefaultSyncFileLimit to 500 [`c5e88e6`](https://github.com/netlify/open-api/commit/c5e88e623327088e12a51ef98573e13eb17e6aa0) | ||
@@ -41,0 +83,0 @@ ## [v0.11.1](https://github.com/netlify/open-api/compare/v0.11.0...v0.11.1) - 2019-03-06 |
{ | ||
"name": "@netlify/open-api", | ||
"description": "Netlify's open-api definition as a module", | ||
"version": "0.11.4", | ||
"version": "0.12.0", | ||
"author": "Netlify", | ||
"ava": { | ||
"files": [ | ||
"src/**/*.test.js" | ||
], | ||
"compileEnhancements": false, | ||
"babel": false | ||
}, | ||
"bugs": { | ||
@@ -11,27 +18,23 @@ "url": "https://github.com/netlify/open-api/issues" | ||
"devDependencies": { | ||
"auto-changelog": "^1.11.0", | ||
"autoprefixer": "^9.4.8", | ||
"browserify": "^16.0.0", | ||
"budo": "^11.3.2", | ||
"cpx": "^1.5.0", | ||
"from2-string": "^1.1.0", | ||
"analytics": "^0.2.0", | ||
"analytics-plugin-ga": "^0.1.5", | ||
"auto-changelog": "^1.16.1", | ||
"ava": "^2.4.0", | ||
"cp-file": "^7.0.0", | ||
"eslint": "^6.3.0", | ||
"eslint-config-prettier": "^6.2.0", | ||
"eslint-plugin-import": "^2.18.2", | ||
"eslint-plugin-node": "^10.0.0", | ||
"eslint-plugin-prettier": "^3.1.0", | ||
"execa": "^2.0.4", | ||
"gh-release": "^3.5.0", | ||
"js-yaml": "^3.12.0", | ||
"mkdirp": "^0.5.1", | ||
"npm-run-all": "^4.1.3", | ||
"parallel-transform": "^1.1.0", | ||
"postcss": "^7.0.0", | ||
"postcss-browser-reporter": "^0.5.0", | ||
"postcss-cli": "^6.0.0", | ||
"postcss-import": "^12.0.0", | ||
"postcss-reporter": "^6.0.0", | ||
"postcss-url": "^8.0.0", | ||
"pump": "^3.0.0", | ||
"rimraf": "^2.6.2", | ||
"split2": "^3.1.0", | ||
"swagger-ui": "^3.21.0" | ||
"make-dir": "^3.0.0", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^1.18.2", | ||
"react": "^16.9.0", | ||
"react-dom": "^16.9.0", | ||
"redoc-cli": "^0.8.6", | ||
"swagger-parser": "^8.0.1" | ||
}, | ||
"files": [ | ||
"js/**/*" | ||
], | ||
"files": [], | ||
"homepage": "https://github.com/netlify/open-api#readme", | ||
@@ -44,3 +47,3 @@ "keywords": [ | ||
"license": "MIT", | ||
"main": "js/dist/swagger.json", | ||
"main": "dist/swagger.json", | ||
"repository": { | ||
@@ -51,19 +54,20 @@ "type": "git", | ||
"scripts": { | ||
"build": "run-s clean js site", | ||
"clean": "rimraf js/dist ui/dist && mkdirp js/dist ui/dist", | ||
"js": "node ./js/generate-module.js", | ||
"prepare": "run-s build", | ||
"prepublishOnly": "git push && git push --tags && gh-release", | ||
"serve": "budo --dir ui/dist", | ||
"site": "run-p site:*", | ||
"site:css": "postcss ui/index.css -o ui/dist/bundle.css", | ||
"site:js": "browserify ui/index.js -o ui/dist/bundle.js", | ||
"site:static": "cpx 'ui/{index.html,static/**}' ui/dist", | ||
"site:swagger": "node ./ui/include-swagger.js", | ||
"start": "run-s build serve", | ||
"prepare": "run-s test", | ||
"test": "run-s lint build unit", | ||
"start": "run-s lint build", | ||
"build": "run-s convert redoc", | ||
"convert": "node src/convert.js", | ||
"version": "run-s version:*", | ||
"version:1-swagger": "node js/bump-swagger.js", | ||
"version:1-swagger": "node src/bump-swagger.js", | ||
"version:2-changelog": "auto-changelog -p --template keepachangelog --breaking-pattern breaking", | ||
"version:3-git": "git add CHANGELOG.md swagger.yml" | ||
"version:3-git": "git add CHANGELOG.md swagger.yml", | ||
"redoc": "node src/docs/build.js", | ||
"lint": "run-s eslint prettier", | ||
"eslint": "eslint --fix \"src/**/*.js\"", | ||
"prettier": "prettier --write --loglevel warn \"src/**/*.js\" \"*.{js,md,yml,json}\"", | ||
"unit": "ava" | ||
}, | ||
"engines": { | ||
"node": "12" | ||
} | ||
} |
# open-api | ||
[![Build Status][travis-img]][travis] | ||
@@ -61,3 +62,3 @@ [![Build status][av-img]][av] | ||
The module also ships a copy of the original `yml` spec file at `@netlify/open-api/js/dist/swagger.yml`. You can use these with generic swagger/open-api clients: | ||
The module also ships a copy of the original `yml` spec file at `@netlify/open-api/js/dist/swagger.yml`. You can use these with generic swagger/open-api clients: | ||
@@ -71,2 +72,3 @@ ##### swagger-js | ||
##### Usage | ||
```js | ||
@@ -89,4 +91,2 @@ <script src='browser/swagger-client.js' type='text/javascript'></script> | ||
[travis]: https://travis-ci.org/netlify/open-api | ||
[av]: https://ci.appveyor.com/project/netlify/open-api/branch/master | ||
[av-img]: https://ci.appveyor.com/api/projects/status/1g0m72jqhspar6q9/branch/master?svg=true | ||
[npm-img]: https://img.shields.io/npm/v/@netlify/open-api.svg | ||
@@ -98,3 +98,2 @@ [npm]: https://npmjs.org/package/@netlify/open-api | ||
[dl-js]: https://npmjs.org/package/netlify | ||
[godoc-img]: https://godoc.org/github.com/netlify/open-api/go?status.svg | ||
@@ -106,4 +105,3 @@ [godoc]: https://godoc.org/github.com/netlify/open-api/go | ||
[git]: https://github.com/netlify/open-api/releases/latest | ||
[open-api-2]: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md | ||
[go-swagger]: https://github.com/go-swagger/go-swagger |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
349772
19
12031
0
5
103
2