Skip to content

Master #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 273 commits into
base: master
Choose a base branch
from
Open

Master #2

wants to merge 273 commits into from

Conversation

theBenForce
Copy link
Owner

No description provided.

syroegkin and others added 30 commits July 4, 2020 11:46
# [1.4.0](v1.3.0...v1.4.0) (2020-07-04)

### Bug Fixes

* escape pipe character in text ([463e9ff](463e9ff))

### Features

* prettify narkdown documents ([47e1352](47e1352))
Bumps [npm](https://github.com/npm/cli) from 6.14.5 to 6.14.6.
- [Release notes](https://github.com/npm/cli/releases)
- [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md)
- [Commits](npm/cli@v6.14.5...v6.14.6)

Signed-off-by: dependabot[bot] <support@github.com>
…14.6

chore(deps): bump npm from 6.14.5 to 6.14.6
I have no clue why, but when pulling the latest version of `swagger-markdown`, the build fails with this error:

```
TypeError: Cannot convert undefined or null to object
    at Function.entries (<anonymous>)
    at partiallyDereference (/Users/jerska/algolia/crawler/node_modules/swagger-markdown/bin/convert.js:47:26)
    at partiallyDereference (/Users/jerska/algolia/crawler/node_modules/swagger-markdown/bin/convert.js:43:20)
    at /Users/jerska/algolia/crawler/node_modules/swagger-markdown/bin/convert.js:38:18
    at Array.map (<anonymous>)
    at partiallyDereference (/Users/jerska/algolia/crawler/node_modules/swagger-markdown/bin/convert.js:37:26)
    at /Users/jerska/algolia/crawler/node_modules/swagger-markdown/bin/convert.js:38:18
    at Array.map (<anonymous>)
    at partiallyDereference (/Users/jerska/algolia/crawler/node_modules/swagger-markdown/bin/convert.js:37:26)
    at partiallyDereference (/Users/jerska/algolia/crawler/node_modules/swagger-markdown/bin/convert.js:43:20)
```

The issue is on `Object.entries(node)`, but logging it shows that it's neither `null` or `undefined`, it's the complete API.
I don't know why, but it seems like `swaggerParser.api` is not a regular object, all I know is that adding this line fixed the issue:

```js
node = Object.assign({}, node);
```
fix(partiallyDereference): shallow copy node
## [1.4.1](v1.4.0...v1.4.1) (2020-07-19)

### Bug Fixes

* **partiallyDereference:** shallow copy node ([c7f3564](c7f3564))
## [1.4.2](v1.4.1...v1.4.2) (2020-07-19)

### Bug Fixes

* **partiallydereference:** must use Object.assign as spread wont make it go through during the build ([7e28af0](7e28af0))
syroegkin and others added 30 commits April 30, 2023 10:37
# [2.3.0](v2.2.1...v2.3.0) (2023-04-30)

### Features

* **headers:** show headers in the response when present ([3f02648](3f02648))
* **readability:** improve readability by inserting horizontal lines between blocks ([94f17ab](94f17ab))
…nd-commitlint/load-and-semantic-release-and-lint-staged-2.2.2

chore(deps): bump yaml, @commitlint/load, semantic-release and lint-staged
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…rap-1.2.4

chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4
ci(node18): use node18 on ci to enable semantic-release
## [2.3.1](v2.3.0...v2.3.1) (2023-11-11)

### Bug Fixes

* **chore:** technical release dependencies upgrade ([230e6b6](230e6b6))
…91436ab51e6

[Snyk] Security upgrade markdownlint from 0.31.1 to 0.32.0
## [2.3.2](v2.3.1...v2.3.2) (2024-05-26)

### Bug Fixes

* package.json & package-lock.json to reduce vulnerabilities ([4ee40e1](4ee40e1))
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…-3.0.3

chore(deps-dev): bump braces from 3.0.2 to 3.0.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants