yarn-berry-deduplicate 2.0.0 → 6.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AUTHORS.md +30 -0
- package/CHANGELOG.md +211 -22
- package/CODE_OF_CONDUCT.md +35 -18
- package/LICENSE.md +160 -0
- package/README.md +113 -66
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +95 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.d.ts +44 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +165 -0
- package/dist/index.js.map +1 -0
- package/package.json +50 -24
- package/.eslintrc.js +0 -17
- package/.prettierrc.js +0 -10
- package/AUTHORS +0 -22
- package/LICENSE.txt +0 -202
- package/cli.js +0 -87
- package/index.js +0 -225
package/AUTHORS.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
- Ally Beaton <mailto:ally.beaton@lendi.com.au>
|
|
2
|
+
- Alon Bukai <mailto:alonzorz@gmail.com>
|
|
3
|
+
- amark <mailto:amark@palantir.com>
|
|
4
|
+
- bjorn <mailto:bjorn@binovi.se>
|
|
5
|
+
- Björn Lundgren <mailto:bjorn.erik.lundgren@gmail.com>
|
|
6
|
+
- bluelovers <mailto:codelovers@users.sourceforge.net>
|
|
7
|
+
- Chetan Goti <mailto:chetan.goti7@gmail.com>
|
|
8
|
+
- Felipe Matos Santana <mailto:felipems@yahoo.com.br>
|
|
9
|
+
- Frieder Bluemle <mailto:frieder.bluemle@gmail.com>
|
|
10
|
+
- FUJI Goro <mailto:g.psy.va@gmail.com>
|
|
11
|
+
- Gora Kong <mailto:15333808+gorakong@users.noreply.github.com>
|
|
12
|
+
- Hawken Rives <mailto:hawkrives@gmail.com>
|
|
13
|
+
- Jacob Blomgren <mailto:blomgren@protonmail.com>
|
|
14
|
+
- Jakub Jastrzębski <mailto:kuba.jastrz@outlook.com>
|
|
15
|
+
- Joge <mailto:joge@application-studios.com>
|
|
16
|
+
- Lukas Eipert <mailto:git@leipert.io>
|
|
17
|
+
- Luke Batchelor <mailto:lbatchelor@atlassian.com>
|
|
18
|
+
- Maciej Rzymski <mailto:mrzymski@atlassian.com>
|
|
19
|
+
- Marco de Jongh <mailto:m.jongh88@gmail.com>
|
|
20
|
+
- Matt Mulder <mailto:muldmatt@gmail.com>
|
|
21
|
+
- Mike Greiling <mailto:mike@pixelcog.com>
|
|
22
|
+
- Piotr Łukomiak <mailto:cieplak32@gmail.com>
|
|
23
|
+
- Richard Atkins <mailto:richatkins@atlassian.com>
|
|
24
|
+
- Sergio Cinos <mailto:sergio.cinos@gmail.com>
|
|
25
|
+
- Sérgio Gomes <mailto:mail@sgomes.com>
|
|
26
|
+
- Simon Knox <mailto:psimyn@users.noreply.github.com>
|
|
27
|
+
- Su-Shing Chen <mailto:Shingyx@users.noreply.github.com>
|
|
28
|
+
- Sven <mailto:sventschui@gmail.com>
|
|
29
|
+
- Xianming Zhong <mailto:chinesedfan@qq.com>
|
|
30
|
+
- Yann Pringault <mailto:yann.pringault@gmail.com>
|
package/CHANGELOG.md
CHANGED
|
@@ -2,41 +2,222 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
-
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
6
|
-
|
|
5
|
+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project
|
|
6
|
+
adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
-
## [
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [6.0.1] - 2022-12-11
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Update REAMDE with explicit example of `npx` (#206) (thanks to @karlhorky)
|
|
15
|
+
|
|
16
|
+
### Chores
|
|
17
|
+
|
|
18
|
+
- Configure renovate to run deduplicate
|
|
19
|
+
- Bump vm2 from 3.9.9 to 3.9.13 (#207)
|
|
20
|
+
- Update babel monorepo (#211)
|
|
21
|
+
- Update babel monorepo to ^7.19.1 (#189) (4 hours ago)
|
|
22
|
+
- Update dependency @types/jest to v29 (#184)
|
|
23
|
+
- Update dependency commander to ^9.4.1 (#198)
|
|
24
|
+
- Update dependency eslint to ^8.24.0 (#193)
|
|
25
|
+
- Update dependency eslint to ^8.28.0 (#202)
|
|
26
|
+
- Update dependency eslint to ^8.29.0 (#213)
|
|
27
|
+
- Update dependency eslint-plugin-jest to ^27.0.4 (#190)
|
|
28
|
+
- Update dependency eslint-plugin-jest to ^27.1.5 (#199)
|
|
29
|
+
- Update dependency eslint-plugin-jest to ^27.1.6 (#209)
|
|
30
|
+
- Update dependency jest to ^29.0.3 (#188)
|
|
31
|
+
- Update dependency prettier to ^2.8.1 (#214)
|
|
32
|
+
- Update dependency release-it to ^15.5.1 (#185)
|
|
33
|
+
- Update dependency semver to ^7.3.8 (#200)
|
|
34
|
+
- Update dependency tslib to ^2.4.1 (#208)
|
|
35
|
+
- Update dependency typescript to ^4.8.3 (#191)
|
|
36
|
+
- Update dependency typescript to ^4.9.3 (#196)
|
|
37
|
+
- Update dependency typescript to ^4.9.4 (#212)
|
|
38
|
+
- Update jest monorepo (#197)
|
|
39
|
+
- Update Yarn to v3.3.0 (#203)
|
|
40
|
+
|
|
41
|
+
## [6.0.0] - 2022-08-29
|
|
42
|
+
|
|
43
|
+
### Breaking changes
|
|
44
|
+
|
|
45
|
+
- Drop support for Node 12.x. Minimum supported version is 14.x
|
|
46
|
+
- Drop support for Yarn >= 2. It was never supported because it just doesn't work, but now Yarn
|
|
47
|
+
version is enforced in `engines` entry in `package.json`
|
|
48
|
+
|
|
49
|
+
### Chores
|
|
50
|
+
|
|
51
|
+
- Do not pack Yarn version, rely on `corepack` instead
|
|
52
|
+
- Enable corepack on CI
|
|
53
|
+
- Update dependency @babel/core to ^7.18.13 (#175)
|
|
54
|
+
- Update dependency @types/jest to ^28.1.8 (#174)
|
|
55
|
+
- Update dependency eslint to ^8.23.0 (#180)
|
|
56
|
+
- Update dependency eslint-plugin-jest to v27 (#183)
|
|
57
|
+
- Update dependency jest to v29 (#178)
|
|
58
|
+
- Update dependency release-it to ^15.4.0 (#176)
|
|
59
|
+
- Update dependency typescript to ^4.8.2 (#179)
|
|
60
|
+
- Update Yarn to v3.2.3 (#177)
|
|
61
|
+
|
|
62
|
+
## [5.0.2] - 2022-08-15
|
|
63
|
+
|
|
64
|
+
### Chores
|
|
65
|
+
|
|
66
|
+
- Re-release 5.0.1, it's missing from NPM 🤷
|
|
67
|
+
- Update Yarn to v3.2.2 (#170)
|
|
68
|
+
- Update dependency @release-it/keep-a-changelog to ^3.1.0 (#172)
|
|
69
|
+
- Update dependency commander to ^9.4.0 (#166)
|
|
70
|
+
- Update dependency release-it to ^15.3.0 (#167)
|
|
71
|
+
- Update dependency @types/semver to ^7.3.12 (#171)
|
|
72
|
+
- Update babel monorepo to ^7.18.10 (#169)
|
|
73
|
+
- Update jest monorepo (#164)
|
|
74
|
+
- Update dependency eslint-plugin-jest to ^26.8.2 (#165)
|
|
75
|
+
- Update dependency eslint to ^8.22.0 (#168)
|
|
76
|
+
|
|
77
|
+
## [5.0.1] - 2022-07-05
|
|
78
|
+
|
|
79
|
+
### Chores
|
|
80
|
+
|
|
81
|
+
- Update all transitive dependencies
|
|
82
|
+
- Adds Node 18 to the test matix (#154)
|
|
83
|
+
- Update Yarn to v3.2.1 (#148)
|
|
84
|
+
- Update dependency release-it to v15 (#162)
|
|
85
|
+
- Update dependency @release-it/keep-a-changelog to v3 (#161)
|
|
86
|
+
- Update dependency prettier to ^2.7.1 (#160)
|
|
87
|
+
- Update dependency release-it to ^14.14.3 (#157)
|
|
88
|
+
- Update dependency commander to ^9.3.0 (#158)
|
|
89
|
+
- Update dependency eslint-plugin-prettier to ^4.2.1 (#159)
|
|
90
|
+
- Update dependency semver to ^7.3.7 (#114)
|
|
91
|
+
- Update dependency tslib to ^2.4.0 (#149)
|
|
92
|
+
- Update dependency eslint to ^8.19.0 (#150)
|
|
93
|
+
- Update babel monorepo to ^7.18.6 (#156)
|
|
94
|
+
- Update dependency eslint-plugin-jest to ^26.5.3 (#151)
|
|
95
|
+
- Update dependency @tsconfig/node12 to ^1.0.11 (#155)
|
|
96
|
+
- Update jest monorepo to v28 (major) (#152)
|
|
97
|
+
- Update dependency typescript to ^4.7.4 (#153)
|
|
98
|
+
|
|
99
|
+
## [5.0.0] - 2022-04-23
|
|
100
|
+
|
|
101
|
+
### Breaking
|
|
102
|
+
|
|
103
|
+
- Migration to TypeScript. This is a breacking changes because previously we provided TypeScript
|
|
104
|
+
types, and those have changed. If you were not using the exported types, this change should be
|
|
105
|
+
transparent for you.
|
|
106
|
+
|
|
107
|
+
### Chores
|
|
108
|
+
|
|
109
|
+
- Configured which files goes into npm package
|
|
110
|
+
- Updated dependencies
|
|
111
|
+
|
|
112
|
+
## [4.0.0] - 2022-03-21
|
|
113
|
+
|
|
114
|
+
### Breaking
|
|
115
|
+
|
|
116
|
+
- Dropped support for Node 10
|
|
117
|
+
|
|
118
|
+
### Added
|
|
119
|
+
|
|
120
|
+
- Added `--exclude-scopes` flag to exclude scopes (thanks to @sventschui)
|
|
121
|
+
- Documented `--exclude` flags in `README.md`
|
|
122
|
+
- Added support for Node 16
|
|
123
|
+
|
|
124
|
+
### Fixed
|
|
125
|
+
|
|
126
|
+
- Fixed typo in documentation (thanks to @ChetanGoti)
|
|
127
|
+
- Updated repository information in `package.json`
|
|
128
|
+
- Do not publish test files
|
|
129
|
+
|
|
130
|
+
### Chores
|
|
131
|
+
|
|
132
|
+
- Updated dependencies
|
|
133
|
+
- Rename some directories/files
|
|
134
|
+
- Addded `typescript` 4.6.2 (via peer dependency)
|
|
135
|
+
|
|
136
|
+
## 3.1.0 - 2020-10-25
|
|
137
|
+
|
|
138
|
+
### Chores
|
|
139
|
+
|
|
140
|
+
- Updated dependency `jest` to 26.6.1
|
|
141
|
+
- Updated `yarn` to 1.22.10 (via policy)
|
|
142
|
+
- Updated `eslint-config-prettier` to 6.14.0
|
|
143
|
+
- Updated `prettier` to 2.1.2
|
|
144
|
+
- Updated `eslint-plugin-jest` to 24.1.0
|
|
145
|
+
- Updated `eslint` to 7.12.0
|
|
146
|
+
- Prettify and fix typos in README.md (thanks to @friederbluemle)
|
|
147
|
+
|
|
148
|
+
### Added
|
|
149
|
+
|
|
150
|
+
- Added flag to include pre-release versions in the deduplication process. (thanks to @marcodejongh)
|
|
151
|
+
|
|
152
|
+
## 3.0.0- 2020-10-29
|
|
153
|
+
|
|
154
|
+
### Breaking
|
|
155
|
+
|
|
156
|
+
#### Variadic flags
|
|
157
|
+
|
|
158
|
+
Flags `--packages`, `--scopes` and `--exclude` don't support comma-separated values anymore (eg:
|
|
159
|
+
`--packages libA,libB`). Instead, you can pass multiple values per flag (eg: `--packages libA libB`)
|
|
160
|
+
or pass the flag multiple times (eg: `--packages libA --packages libB`).
|
|
161
|
+
|
|
162
|
+
If you use one of those flags _and_ you want to specify a custom `yarn.lock` file, you need to use
|
|
163
|
+
`--` to separate the arg. Example `--packages libA -- ../project/yarn.lock`
|
|
164
|
+
|
|
165
|
+
### Chores
|
|
166
|
+
|
|
167
|
+
- Updated Commander to 6.1.0
|
|
168
|
+
- Updated eslint to 7.7.0
|
|
169
|
+
- Updated yarn to 1.22.5
|
|
170
|
+
- Updated prettier to 2.1.1
|
|
171
|
+
- Updated jest to 26.4.2
|
|
172
|
+
- Updated eslint-plugin-jest to 23.20.0
|
|
173
|
+
|
|
174
|
+
## 2.1.0- 2020-07-10
|
|
175
|
+
|
|
176
|
+
### Chores
|
|
177
|
+
|
|
178
|
+
- Updated dependencies
|
|
179
|
+
- Move from CircleCI to GitHub actions
|
|
180
|
+
- Clean up and dedupe `yarn.lock`
|
|
181
|
+
|
|
182
|
+
### Added
|
|
183
|
+
|
|
184
|
+
- Option `--scopes` to limit changes to a list of scopes (thanks to @sgomes)
|
|
185
|
+
- Improve documentation for `--strategy` (thanks to @KubaJastrz)
|
|
186
|
+
- Clean up .npmignore (thanks to @bluelovers)
|
|
187
|
+
|
|
188
|
+
## 2.0.0- 2020-02-29
|
|
9
189
|
|
|
10
190
|
### Breaks
|
|
11
191
|
|
|
12
192
|
- Drop support for Node < 10
|
|
13
193
|
|
|
14
|
-
##
|
|
194
|
+
## 1.2.0- 2020-02-29
|
|
15
195
|
|
|
16
|
-
Edit:
|
|
196
|
+
Edit: _Do not use. It breaks Node 8 compatiblity. Use 2.0.0 instead_
|
|
17
197
|
|
|
18
198
|
### Added
|
|
19
199
|
|
|
20
|
-
-
|
|
200
|
+
- TypeScript definitions (thanks to @bluelovers)
|
|
21
201
|
- Info about the source of duplication to README
|
|
22
202
|
- CLI option to exclude packages (thanks to @JacobBlomgren)
|
|
23
203
|
- Updated a bunch of dependencies
|
|
24
204
|
|
|
25
|
-
##
|
|
205
|
+
## 1.1.1- 2019-02-03
|
|
26
206
|
|
|
27
207
|
### Fixed
|
|
28
208
|
|
|
29
209
|
- Fixed typos in doc and CLI (thanks to @ActuallyACat and @Alonski)
|
|
30
210
|
- Moved yarn from `peerDependencies` to `engines`
|
|
31
211
|
|
|
32
|
-
##
|
|
212
|
+
## 1.1.0- 2018-12-22
|
|
33
213
|
|
|
34
214
|
### Added
|
|
35
215
|
|
|
36
|
-
- Option `--fail` to exit the process with an error if there are duplicated packages (thanks to
|
|
216
|
+
- Option `--fail` to exit the process with an error if there are duplicated packages (thanks to
|
|
217
|
+
@amark)
|
|
37
218
|
- If the path to `yarn.lock` is not specified, use `yarn.lock` as the default (thanks to @Joge97)
|
|
38
219
|
|
|
39
|
-
##
|
|
220
|
+
## 1.0.5- 2018-12-15
|
|
40
221
|
|
|
41
222
|
### Changed
|
|
42
223
|
|
|
@@ -44,39 +225,40 @@ Edit: *Do not use. It breaks Node 8 compatiblity. Use 2.0.0 instead*
|
|
|
44
225
|
|
|
45
226
|
### Chores
|
|
46
227
|
|
|
47
|
-
|
|
48
|
-
|
|
228
|
+
- Moved eslint and stricter to devDependencies (thanks @hawkrives)
|
|
229
|
+
- Re-enabled disabled tests (thanks @amark)
|
|
49
230
|
|
|
50
|
-
##
|
|
231
|
+
## 1.0.4- 2018-12-12
|
|
51
232
|
|
|
52
233
|
### Changed
|
|
53
234
|
|
|
54
|
-
- Fixes parsing the strategy. Now specifying `-s fewer` actually does something! (thanks to
|
|
235
|
+
- Fixes parsing the strategy. Now specifying `-s fewer` actually does something! (thanks to
|
|
236
|
+
@leipert)
|
|
55
237
|
|
|
56
238
|
### Chores
|
|
57
239
|
|
|
58
240
|
- Added eslint and prettier to keep the code consistent
|
|
59
241
|
|
|
60
|
-
##
|
|
242
|
+
## 1.0.3- 2018-11-22
|
|
61
243
|
|
|
62
244
|
### Changed
|
|
63
245
|
|
|
64
246
|
- Retain Windows end-of-line (thanks to @Shingyx)
|
|
65
247
|
|
|
66
|
-
##
|
|
248
|
+
## 1.0.2- 2018-11-02
|
|
67
249
|
|
|
68
250
|
### Chores
|
|
69
251
|
|
|
70
252
|
- Added `homepage` to package.json
|
|
71
253
|
|
|
72
|
-
##
|
|
254
|
+
## 1.0.1- 2018-11-02
|
|
73
255
|
|
|
74
256
|
### Chores
|
|
75
257
|
|
|
76
|
-
- Removed unused files (tests, local `.history`) from the
|
|
77
|
-
|
|
258
|
+
- Removed unused files (tests, local `.history`) from the npm package. Only `*.js` and text files
|
|
259
|
+
are included now.
|
|
78
260
|
|
|
79
|
-
##
|
|
261
|
+
## 1.0.0- 2018-10-31
|
|
80
262
|
|
|
81
263
|
### Breaking
|
|
82
264
|
|
|
@@ -101,14 +283,14 @@ Edit: *Do not use. It breaks Node 8 compatiblity. Use 2.0.0 instead*
|
|
|
101
283
|
- Bumped `@yarnpkg/lockfile` to 1.1.0 (thanks to @lukebatchelor)
|
|
102
284
|
- Added 'dedupe' as package keyword (thanks to @gfx)
|
|
103
285
|
|
|
104
|
-
##
|
|
286
|
+
## 0.4.1- 2018-06-05
|
|
105
287
|
|
|
106
288
|
### Changed
|
|
107
289
|
|
|
108
290
|
- Use yarn ^1.0.0 and converted it to a peerDependency (thanks to @bj00rn)
|
|
109
291
|
- Remove deprecated `preferGlobal` in package.json (thanks to bjorn@binovi.se)
|
|
110
292
|
|
|
111
|
-
##
|
|
293
|
+
## 0.4.0- 2018-01-18
|
|
112
294
|
|
|
113
295
|
### Added
|
|
114
296
|
|
|
@@ -116,3 +298,10 @@ Edit: *Do not use. It breaks Node 8 compatiblity. Use 2.0.0 instead*
|
|
|
116
298
|
- This file.
|
|
117
299
|
- Added AUTHORS.
|
|
118
300
|
- Cleaned Markdown files.
|
|
301
|
+
|
|
302
|
+
[unreleased]: https://github.com/scinos/yarn-deduplicate/compare/v6.0.1...HEAD
|
|
303
|
+
[6.0.1]: https://github.com/scinos/yarn-deduplicate/compare/v6.0.0...v6.0.1
|
|
304
|
+
[6.0.0]: https://github.com/scinos/yarn-deduplicate/compare/v5.0.2...v6.0.0
|
|
305
|
+
[5.0.2]: https://github.com/scinos/yarn-deduplicate/compare/v5.0.1...v5.0.2
|
|
306
|
+
[5.0.1]: https://github.com/scinos/yarn-deduplicate/compare/v5.0.0...v5.0.1
|
|
307
|
+
[5.0.0]: https://github.com/scinos/yarn-deduplicate/compare/v4.0.0...v5.0.0
|
package/CODE_OF_CONDUCT.md
CHANGED
|
@@ -1,27 +1,44 @@
|
|
|
1
1
|
# Contributor Code of Conduct
|
|
2
2
|
|
|
3
|
-
As contributors and maintainers of this project, and in the interest of fostering an open and
|
|
3
|
+
As contributors and maintainers of this project, and in the interest of fostering an open and
|
|
4
|
+
welcoming community, we pledge to respect all people who contribute through reporting issues,
|
|
5
|
+
posting feature requests, updating documentation, submitting pull requests or patches, and other
|
|
6
|
+
activities.
|
|
4
7
|
|
|
5
|
-
We are committed to making participation in this project a harassment-free experience for everyone,
|
|
8
|
+
We are committed to making participation in this project a harassment-free experience for everyone,
|
|
9
|
+
regardless of level of experience, gender, gender identity and expression, sexual orientation,
|
|
10
|
+
disability, personal appearance, body size, race, ethnicity, age, religion, or nationality.
|
|
6
11
|
|
|
7
12
|
Examples of unacceptable behavior by participants include:
|
|
8
13
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
14
|
+
- The use of sexualized language or imagery
|
|
15
|
+
- Personal attacks
|
|
16
|
+
- Trolling or insulting/derogatory comments
|
|
17
|
+
- Public or private harassment
|
|
18
|
+
- Publishing other's private information, such as physical or electronic addresses, without explicit
|
|
19
|
+
permission
|
|
20
|
+
- Submitting contributions or comments that you know to violate the intellectual property or privacy
|
|
21
|
+
rights of others
|
|
22
|
+
- Other unethical or unprofessional conduct
|
|
23
|
+
|
|
24
|
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits,
|
|
25
|
+
code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or
|
|
26
|
+
to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate,
|
|
27
|
+
threatening, offensive, or harmful. By adopting this Code of Conduct, project maintainers commit
|
|
28
|
+
themselves to fairly and consistently applying these principles to every aspect of managing this
|
|
29
|
+
project. Project maintainers who do not follow or enforce the Code of Conduct may be permanently
|
|
30
|
+
removed from the project team.
|
|
31
|
+
|
|
32
|
+
This Code of Conduct applies both within project spaces and in public spaces when an individual is
|
|
33
|
+
representing the project or its community.
|
|
34
|
+
|
|
35
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting a
|
|
36
|
+
project maintainer. Complaints will result in a response and be reviewed and investigated in a way
|
|
37
|
+
that is deemed necessary and appropriate to the circumstances. Maintainers are obligated to maintain
|
|
38
|
+
confidentiality with regard to the reporter of an incident.
|
|
39
|
+
|
|
40
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.3.0, available
|
|
41
|
+
at [http://contributor-covenant.org/version/1/3/0/][version]
|
|
25
42
|
|
|
26
43
|
[homepage]: http://contributor-covenant.org
|
|
27
44
|
[version]: http://contributor-covenant.org/version/1/3/0/
|
package/LICENSE.md
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined
|
|
10
|
+
by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is
|
|
13
|
+
granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are
|
|
16
|
+
controlled by, or are under common control with that entity. For the purposes of this definition,
|
|
17
|
+
"control" means (i) the power, direct or indirect, to cause the direction or management of such
|
|
18
|
+
entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
19
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
20
|
+
|
|
21
|
+
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this
|
|
22
|
+
License.
|
|
23
|
+
|
|
24
|
+
"Source" form shall mean the preferred form for making modifications, including but not limited
|
|
25
|
+
to software source code, documentation source, and configuration files.
|
|
26
|
+
|
|
27
|
+
"Object" form shall mean any form resulting from mechanical transformation or translation of a
|
|
28
|
+
Source form, including but not limited to compiled object code, generated documentation, and
|
|
29
|
+
conversions to other media types.
|
|
30
|
+
|
|
31
|
+
"Work" shall mean the work of authorship, whether in Source or Object form, made available under
|
|
32
|
+
the License, as indicated by a copyright notice that is included in or attached to the work (an
|
|
33
|
+
example is provided in the Appendix below).
|
|
34
|
+
|
|
35
|
+
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or
|
|
36
|
+
derived from) the Work and for which the editorial revisions, annotations, elaborations, or other
|
|
37
|
+
modifications represent, as a whole, an original work of authorship. For the purposes of this
|
|
38
|
+
License, Derivative Works shall not include works that remain separable from, or merely link (or
|
|
39
|
+
bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
|
40
|
+
|
|
41
|
+
"Contribution" shall mean any work of authorship, including the original version of the Work and
|
|
42
|
+
any modifications or additions to that Work or Derivative Works thereof, that is intentionally
|
|
43
|
+
submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or
|
|
44
|
+
Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this
|
|
45
|
+
definition, "submitted" means any form of electronic, verbal, or written communication sent to
|
|
46
|
+
the Licensor or its representatives, including but not limited to communication on electronic
|
|
47
|
+
mailing lists, source code control systems, and issue tracking systems that are managed by, or on
|
|
48
|
+
behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding
|
|
49
|
+
communication that is conspicuously marked or otherwise designated in writing by the copyright
|
|
50
|
+
owner as "Not a Contribution."
|
|
51
|
+
|
|
52
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a
|
|
53
|
+
Contribution has been received by Licensor and subsequently incorporated within the Work.
|
|
54
|
+
|
|
55
|
+
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor
|
|
56
|
+
hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
57
|
+
copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform,
|
|
58
|
+
sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
|
59
|
+
|
|
60
|
+
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor
|
|
61
|
+
hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
62
|
+
(except as stated in this section) patent license to make, have made, use, offer to sell, sell,
|
|
63
|
+
import, and otherwise transfer the Work, where such license applies only to those patent claims
|
|
64
|
+
licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or
|
|
65
|
+
by combination of their Contribution(s) with the Work to which such Contribution(s) was
|
|
66
|
+
submitted. If You institute patent litigation against any entity (including a cross-claim or
|
|
67
|
+
counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work
|
|
68
|
+
constitutes direct or contributory patent infringement, then any patent licenses granted to You
|
|
69
|
+
under this License for that Work shall terminate as of the date such litigation is filed.
|
|
70
|
+
|
|
71
|
+
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof
|
|
72
|
+
in any medium, with or without modifications, and in Source or Object form, provided that You
|
|
73
|
+
meet the following conditions:
|
|
74
|
+
|
|
75
|
+
(a) You must give any other recipients of the Work or Derivative Works a copy of this License;
|
|
76
|
+
and
|
|
77
|
+
|
|
78
|
+
(b) You must cause any modified files to carry prominent notices stating that You changed the
|
|
79
|
+
files; and
|
|
80
|
+
|
|
81
|
+
(c) You must retain, in the Source form of any Derivative Works that You distribute, all
|
|
82
|
+
copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding
|
|
83
|
+
those notices that do not pertain to any part of the Derivative Works; and
|
|
84
|
+
|
|
85
|
+
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative
|
|
86
|
+
Works that You distribute must include a readable copy of the attribution notices contained
|
|
87
|
+
within such NOTICE file, excluding those notices that do not pertain to any part of the
|
|
88
|
+
Derivative Works, in at least one of the following places: within a NOTICE text file distributed
|
|
89
|
+
as part of the Derivative Works; within the Source form or documentation, if provided along with
|
|
90
|
+
the Derivative Works; or, within a display generated by the Derivative Works, if and wherever
|
|
91
|
+
such third-party notices normally appear. The contents of the NOTICE file are for informational
|
|
92
|
+
purposes only and do not modify the License. You may add Your own attribution notices within
|
|
93
|
+
Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the
|
|
94
|
+
Work, provided that such additional attribution notices cannot be construed as modifying the
|
|
95
|
+
License.
|
|
96
|
+
|
|
97
|
+
You may add Your own copyright statement to Your modifications and may provide additional or
|
|
98
|
+
different license terms and conditions for use, reproduction, or distribution of Your
|
|
99
|
+
modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and
|
|
100
|
+
distribution of the Work otherwise complies with the conditions stated in this License.
|
|
101
|
+
|
|
102
|
+
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution
|
|
103
|
+
intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms
|
|
104
|
+
and conditions of this License, without any additional terms or conditions. Notwithstanding the
|
|
105
|
+
above, nothing herein shall supersede or modify the terms of any separate license agreement you
|
|
106
|
+
may have executed with Licensor regarding such Contributions.
|
|
107
|
+
|
|
108
|
+
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service
|
|
109
|
+
marks, or product names of the Licensor, except as required for reasonable and customary use in
|
|
110
|
+
describing the origin of the Work and reproducing the content of the NOTICE file.
|
|
111
|
+
|
|
112
|
+
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor
|
|
113
|
+
provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT
|
|
114
|
+
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation,
|
|
115
|
+
any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
116
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or
|
|
117
|
+
redistributing the Work and assume any risks associated with Your exercise of permissions under
|
|
118
|
+
this License.
|
|
119
|
+
|
|
120
|
+
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including
|
|
121
|
+
negligence), contract, or otherwise, unless required by applicable law (such as deliberate and
|
|
122
|
+
grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for
|
|
123
|
+
damages, including any direct, indirect, special, incidental, or consequential damages of any
|
|
124
|
+
character arising as a result of this License or out of the use or inability to use the Work
|
|
125
|
+
(including but not limited to damages for loss of goodwill, work stoppage, computer failure or
|
|
126
|
+
malfunction, or any and all other commercial damages or losses), even if such Contributor has
|
|
127
|
+
been advised of the possibility of such damages.
|
|
128
|
+
|
|
129
|
+
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works
|
|
130
|
+
thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty,
|
|
131
|
+
indemnity, or other liability obligations and/or rights consistent with this License. However, in
|
|
132
|
+
accepting such obligations, You may act only on Your own behalf and on Your sole responsibility,
|
|
133
|
+
not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each
|
|
134
|
+
Contributor harmless for any liability incurred by, or claims asserted against, such Contributor
|
|
135
|
+
by reason of your accepting any such warranty or additional liability.
|
|
136
|
+
|
|
137
|
+
END OF TERMS AND CONDITIONS
|
|
138
|
+
|
|
139
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
140
|
+
|
|
141
|
+
To apply the Apache License to your work, attach the following
|
|
142
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
143
|
+
replaced with your own identifying information. (Don't include
|
|
144
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
145
|
+
comment syntax for the file format. We also recommend that a
|
|
146
|
+
file or class name and description of purpose be included on the
|
|
147
|
+
same "printed page" as the copyright notice for easier
|
|
148
|
+
identification within third-party archives.
|
|
149
|
+
|
|
150
|
+
Copyright [yyyy] [name of copyright owner]
|
|
151
|
+
|
|
152
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
|
|
153
|
+
compliance with the License. You may obtain a copy of the License at
|
|
154
|
+
|
|
155
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
156
|
+
|
|
157
|
+
Unless required by applicable law or agreed to in writing, software distributed under the License is
|
|
158
|
+
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
159
|
+
implied. See the License for the specific language governing permissions and limitations under the
|
|
160
|
+
License.
|