Skip to content

Commit

Permalink
fix MIT license at dreamopt.js
Browse files Browse the repository at this point in the history
  • Loading branch information
milesstoetzner committed Jul 6, 2023
1 parent ae364d0 commit 049673f
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/cmds/licenses/template.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ We fixed some of them by patching the dependencies using [`patch-package`](https

1. The release of [[email protected]](https://www.npmjs.com/package/dreamopt){target=_blank} has no license.
However, the project is according to the author licensed under MIT as stated in [#2](https://github.com/andreyvit/dreamopt.js/issues/2){target=_blank}.
1. We moved the dependency [@types/yauzl](https://www.npmjs.com/package/@types/yauzl){target=_blank} at [[email protected]](https://github.com/maxogden/extract-zip){target=_blank} to the development dependencies.
1. We moved the optional dependency [@types/yauzl](https://www.npmjs.com/package/@types/yauzl){target=_blank} at [[email protected]](https://github.com/maxogden/extract-zip){target=_blank} to the development dependencies.
2 changes: 1 addition & 1 deletion docs/docs/assets/documents/licenses.csv
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ debug,4.3.4,MIT,https://github.com/debug-js/debug
delayed-stream,1.0.0,MIT,https://github.com/felixge/node-delayed-stream
depd,2.0.0,MIT,https://github.com/dougwilson/nodejs-depd
destroy,1.2.0,MIT,https://github.com/stream-utils/destroy
dreamopt,0.8.0,UNKNOWN,https://github.com/andreyvit/dreamopt.js
dreamopt,0.8.0,MIT,https://github.com/andreyvit/dreamopt.js
ee-first,1.1.1,MIT,https://github.com/jonathanong/ee-first
ejs,3.1.9,Apache-2.0,https://github.com/mde/ejs
encodeurl,1.0.2,MIT,https://github.com/pillarjs/encodeurl
Expand Down
5 changes: 2 additions & 3 deletions docs/docs/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ We ensure, that only the licenses [0BSD](https://choosealicense.com/licenses/0bs
| 39 | [delayed-stream](https://github.com/felixge/node-delayed-stream){target=_blank} | 1.0.0 | [MIT](https://choosealicense.com/licenses/mit){target=_blank} |
| 40 | [depd](https://github.com/dougwilson/nodejs-depd){target=_blank} | 2.0.0 | [MIT](https://choosealicense.com/licenses/mit){target=_blank} |
| 41 | [destroy](https://github.com/stream-utils/destroy){target=_blank} | 1.2.0 | [MIT](https://choosealicense.com/licenses/mit){target=_blank} |
| 42 | [dreamopt](https://github.com/andreyvit/dreamopt.js){target=_blank} | 0.8.0 | [UNKNOWN](){target=_blank} |
| 42 | [dreamopt](https://github.com/andreyvit/dreamopt.js){target=_blank} | 0.8.0 | [MIT](https://choosealicense.com/licenses/mit){target=_blank} |
| 43 | [ee-first](https://github.com/jonathanong/ee-first){target=_blank} | 1.1.1 | [MIT](https://choosealicense.com/licenses/mit){target=_blank} |
| 44 | [ejs](https://github.com/mde/ejs){target=_blank} | 3.1.9 | [Apache-2.0](https://choosealicense.com/licenses/apache-2.0){target=_blank} |
| 45 | [encodeurl](https://github.com/pillarjs/encodeurl){target=_blank} | 1.0.2 | [MIT](https://choosealicense.com/licenses/mit){target=_blank} |
Expand Down Expand Up @@ -170,5 +170,4 @@ We fixed some of them by patching the dependencies using [`patch-package`](https

1. The release of [[email protected]](https://www.npmjs.com/package/dreamopt){target=_blank} has no license.
However, the project is according to the author licensed under MIT as stated in [#2](https://github.com/andreyvit/dreamopt.js/issues/2){target=_blank}.

1. We moved the dependency [@types/yauzl](https://www.npmjs.com/package/@types/yauzl){target=_blank} at [[email protected]](https://github.com/maxogden/extract-zip){target=_blank} to the development dependencies.
1. We moved the optional dependency [@types/yauzl](https://www.npmjs.com/package/@types/yauzl){target=_blank} at [[email protected]](https://github.com/maxogden/extract-zip){target=_blank} to the development dependencies.
2 changes: 1 addition & 1 deletion docs/docs/development/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ Therefore, make changes to the package inside `node_modules`, then run the follo
yarn patch-package ${package-name}
```

If you need to patch the `package.json`, then append the option `--option 'nothing'` as stated in [#311](https://github.com/ds300/patch-package/issues/311){target=_blank}.
If you need to patch the `package.json`, then append the option `--exclude 'nothing'` as stated in [#311](https://github.com/ds300/patch-package/issues/311){target=_blank}.

## Build

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/sofdcar/profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The specification is under active development and is not backwards compatible wi
The core normative TOSCA type definitions contain high-level type definitions which are mainly derived from the normative TOSCA type definitions of the [TOSCA Simple Profile in YAML 1.3](https://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.3/os/TOSCA-Simple-Profile-YAML-v1.3-os.html){target=_blank}.
These types mainly concern the following topics.

- Hardware and software of electronic computing units (ECUs) which are typically microcontroller
- Hardware and software of electronic computing units (ECUs) which are typically microcontrollers
- Hardware and software of high performance computing platforms (HPCs) which are typically microprocessors
- Sensors and actuators
- Communication channels
Expand Down
40 changes: 40 additions & 0 deletions patches/dreamopt+0.8.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
diff --git a/node_modules/dreamopt/LICENSE b/node_modules/dreamopt/LICENSE
new file mode 100644
index 0000000..d0d6667
--- /dev/null
+++ b/node_modules/dreamopt/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2013-2014 Andrey Tarantsov
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
\ No newline at end of file
diff --git a/node_modules/dreamopt/package.json b/node_modules/dreamopt/package.json
index 12ab109..1bdd374 100644
--- a/node_modules/dreamopt/package.json
+++ b/node_modules/dreamopt/package.json
@@ -4,6 +4,7 @@
"description": "Command-line parser with readable syntax from your sweetest dreams",
"version": "0.8.0",
"homepage": "https://github.com/andreyvit/dreamopt.js",
+ "license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/andreyvit/dreamopt.js.git"

0 comments on commit 049673f

Please sign in to comment.