@devicefarmer/stf-device-db 2.0.1 → 2.0.2

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/LICENSE CHANGED
@@ -1,32 +1,4 @@
1
- Copyright © DeviceFarmer and contributors.
2
-
3
- Dual License Notice
4
- ===================
5
-
6
- 1. Data License (`dist/devices.json`):
7
- The compiled device database is licensed under the Creative Commons
8
- Attribution-ShareAlike 4.0 International License (CC-BY-SA-4.0)
9
- (https://creativecommons.org/licenses/by-sa/4.0/).
10
- It is adapted and normalized from:
11
- - LineageOS Wiki Device Data (https://github.com/LineageOS/lineage_wiki):
12
- Creative Commons Attribution-ShareAlike 3.0 Unported (CC-BY-SA-3.0,
13
- https://creativecommons.org/licenses/by-sa/3.0/), whose Section 4(b)
14
- permits adaptations under a later version with the same License Elements.
15
- - Wikidata (https://query.wikidata.org/):
16
- Creative Commons CC0 1.0 Universal Public Domain Dedication (CC0,
17
- https://creativecommons.org/publicdomain/zero/1.0/)
18
- It also contains factual device identifiers (retail brand, marketing name,
19
- device codename and model) taken from the Google Play Supported Devices
20
- List (https://storage.googleapis.com/play_public/supported_devices.csv),
21
- which Google publishes without a stated license. The CC-BY-SA-4.0 grant
22
- covers only DeviceFarmer's selection and arrangement of that information,
23
- not the identifiers themselves.
24
-
25
- 2. Code License (`index.js`, `index.d.ts`, `brands.js`, `scripts/*`, `test/*`):
26
- All source code, TypeScript definitions, build scripts, and tests in this
27
- repository are licensed under the Apache License, Version 2.0 (Apache-2.0).
28
-
29
- ------------------------------------------------------------------------------
1
+
30
2
  Apache License
31
3
  Version 2.0, January 2004
32
4
  http://www.apache.org/licenses/
@@ -204,112 +176,27 @@ Dual License Notice
204
176
 
205
177
  END OF TERMS AND CONDITIONS
206
178
 
207
- ------------------------------------------------------------------------------
208
- Creative Commons Attribution-ShareAlike 4.0 International
209
-
210
- Creative Commons Corporation (“Creative Commons”) is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an “as-is” basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible.
211
-
212
- Using Creative Commons Public Licenses
213
-
214
- Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses.
215
-
216
- Considerations for licensors: Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. More considerations for licensors.
217
- Considerations for the public: By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensor’s permission is not necessary for any reason–for example, because of any applicable exception or limitation to copyright–then that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. More considerations for the public.
218
- Creative Commons Attribution-ShareAlike 4.0 International Public License
219
-
220
- By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-ShareAlike 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.
221
-
222
- Section 1 – Definitions.
223
-
224
- Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image.
225
- Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.
226
- BY-SA Compatible License means a license listed at creativecommons.org/compatiblelicenses, approved by Creative Commons as essentially the equivalent of this Public License.
227
- Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
228
- Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements.
229
- Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.
230
- License Elements means the license attributes listed in the name of a Creative Commons Public License. The License Elements of this Public License are Attribution and ShareAlike.
231
- Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License.
232
- Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.
233
- Licensor means the individual(s) or entity(ies) granting rights under this Public License.
234
- Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.
235
- Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.
236
- You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning.
237
- Section 2 – Scope.
238
-
239
- License grant.
240
- Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:
241
- reproduce and Share the Licensed Material, in whole or in part; and
242
- produce, reproduce, and Share Adapted Material.
243
- Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.
244
- Term. The term of this Public License is specified in Section 6(a).
245
- Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.
246
- Downstream recipients.
247
- Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.
248
- Additional offer from the Licensor – Adapted Material. Every recipient of Adapted Material from You automatically receives an offer from the Licensor to exercise the Licensed Rights in the Adapted Material under the conditions of the Adapter’s License You apply.
249
- No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.
250
- No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i).
251
- Other rights.
252
-
253
- Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.
254
- Patent and trademark rights are not licensed under this Public License.
255
- To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties.
256
- Section 3 – License Conditions.
257
-
258
- Your exercise of the Licensed Rights is expressly made subject to the following conditions.
259
-
260
- Attribution.
261
-
262
- If You Share the Licensed Material (including in modified form), You must:
263
-
264
- retain the following if it is supplied by the Licensor with the Licensed Material:
265
- identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
266
- a copyright notice;
267
- a notice that refers to this Public License;
268
- a notice that refers to the disclaimer of warranties;
269
- a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
270
- indicate if You modified the Licensed Material and retain an indication of any previous modifications; and
271
- indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.
272
- You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.
273
- If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable.
274
- ShareAlike.
275
- In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply.
276
-
277
- The Adapter’s License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-SA Compatible License.
278
- You must include the text of, or the URI or hyperlink to, the Adapter's License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material.
279
- You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter's License You apply.
280
- Section 4 – Sui Generis Database Rights.
281
-
282
- Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:
283
-
284
- for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database;
285
- if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material, including for purposes of Section 3(b); and
286
- You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.
287
- For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights.
288
- Section 5 – Disclaimer of Warranties and Limitation of Liability.
289
-
290
- Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.
291
- To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.
292
- The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.
293
- Section 6 – Term and Termination.
294
-
295
- This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.
296
- Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:
297
-
298
- automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or
299
- upon express reinstatement by the Licensor.
300
- For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.
301
- For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.
302
- Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
303
- Section 7 – Other Terms and Conditions.
304
-
305
- The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.
306
- Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.
307
- Section 8 – Interpretation.
308
-
309
- For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.
310
- To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.
311
- No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.
312
- Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.
313
- Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” The text of the Creative Commons public licenses is dedicated to the public domain under the CC0 Public Domain Dedication. Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses.
314
-
315
- Creative Commons may be contacted at creativecommons.org.
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/NOTICE ADDED
@@ -0,0 +1,11 @@
1
+ stf-device-db
2
+ Copyright © DeviceFarmer and contributors.
3
+
4
+ Licensed under the Apache License, Version 2.0 (Apache-2.0); see LICENSE.
5
+ The exception is the device database (dist/devices.json), which is licensed
6
+ under the Creative Commons Attribution-ShareAlike 4.0 International License
7
+ (CC-BY-SA-4.0); see dist/LICENSE for its sources and the full license text.
8
+
9
+ Brand, device and model names in the database are trademarks of their
10
+ respective owners. They are used only to identify devices and do not imply
11
+ any affiliation with or endorsement by those owners.
package/README.md CHANGED
@@ -117,11 +117,13 @@ See [CONTRIBUTING.md](CONTRIBUTING.md).
117
117
 
118
118
  ## License
119
119
 
120
+ * **Code**: Everything in this repository except the device database is licensed under [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0).
120
121
  * **Data (`dist/devices.json`)**: Licensed under [CC-BY-SA-4.0](https://creativecommons.org/licenses/by-sa/4.0/), adapted from the LineageOS Wiki (CC-BY-SA-3.0) and Wikidata (CC0).
121
- * **Code (`index.js`, `index.d.ts`, `brands.js`, `scripts/*`, `test/*`)**: Licensed under [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0).
122
+
123
+ Brand, device and model names in the database are trademarks of their respective owners. They are used only to identify devices and do not imply any affiliation with or endorsement by those owners.
122
124
 
123
125
  ### Google Play device identifiers
124
126
 
125
127
  The brand, marketing name, codename and model of every device come from the [Google Play Supported Devices](https://support.google.com/googleplay/answer/1727131) list, which Google publishes without a stated license. They are used deliberately: no openly licensed source maps Android model numbers to marketing names at this scale, and LineageOS alone would cover about 2% of the models. Only these factual identifiers are taken. The CC-BY-SA-4.0 grant covers DeviceFarmer's selection and arrangement of them, not the identifiers themselves, and does not license the Google Play list as a whole.
126
128
 
127
- See [LICENSE](LICENSE) for full details.
129
+ See [LICENSE](LICENSE) for the code license, [dist/LICENSE](dist/LICENSE) for the data license and the sources of the data, and [NOTICE](NOTICE) for the copyright notice.
package/dist/LICENSE ADDED
@@ -0,0 +1,448 @@
1
+ Data License (`dist/devices.json`):
2
+ The compiled device database is licensed under the Creative Commons
3
+ Attribution-ShareAlike 4.0 International License (CC-BY-SA-4.0)
4
+ (https://creativecommons.org/licenses/by-sa/4.0/).
5
+ It is adapted and normalized from:
6
+ - LineageOS Wiki Device Data (https://github.com/LineageOS/lineage_wiki):
7
+ Creative Commons Attribution-ShareAlike 3.0 Unported (CC-BY-SA-3.0,
8
+ https://creativecommons.org/licenses/by-sa/3.0/), whose Section 4(b)
9
+ permits adaptations under a later version with the same License Elements.
10
+ - Wikidata (https://query.wikidata.org/):
11
+ Creative Commons CC0 1.0 Universal Public Domain Dedication (CC0,
12
+ https://creativecommons.org/publicdomain/zero/1.0/)
13
+ It also contains factual device identifiers (retail brand, marketing name,
14
+ device codename and model) taken from the Google Play Supported Devices
15
+ List (https://storage.googleapis.com/play_public/supported_devices.csv),
16
+ which Google publishes without a stated license. The CC-BY-SA-4.0 grant
17
+ covers only DeviceFarmer's selection and arrangement of that information,
18
+ not the identifiers themselves.
19
+
20
+ ------------------------------------------------------------------------------
21
+ Attribution-ShareAlike 4.0 International
22
+
23
+ =======================================================================
24
+
25
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
26
+ does not provide legal services or legal advice. Distribution of
27
+ Creative Commons public licenses does not create a lawyer-client or
28
+ other relationship. Creative Commons makes its licenses and related
29
+ information available on an "as-is" basis. Creative Commons gives no
30
+ warranties regarding its licenses, any material licensed under their
31
+ terms and conditions, or any related information. Creative Commons
32
+ disclaims all liability for damages resulting from their use to the
33
+ fullest extent possible.
34
+
35
+ Using Creative Commons Public Licenses
36
+
37
+ Creative Commons public licenses provide a standard set of terms and
38
+ conditions that creators and other rights holders may use to share
39
+ original works of authorship and other material subject to copyright
40
+ and certain other rights specified in the public license below. The
41
+ following considerations are for informational purposes only, are not
42
+ exhaustive, and do not form part of our licenses.
43
+
44
+ Considerations for licensors: Our public licenses are
45
+ intended for use by those authorized to give the public
46
+ permission to use material in ways otherwise restricted by
47
+ copyright and certain other rights. Our licenses are
48
+ irrevocable. Licensors should read and understand the terms
49
+ and conditions of the license they choose before applying it.
50
+ Licensors should also secure all rights necessary before
51
+ applying our licenses so that the public can reuse the
52
+ material as expected. Licensors should clearly mark any
53
+ material not subject to the license. This includes other CC-
54
+ licensed material, or material used under an exception or
55
+ limitation to copyright. More considerations for licensors:
56
+ wiki.creativecommons.org/Considerations_for_licensors
57
+
58
+ Considerations for the public: By using one of our public
59
+ licenses, a licensor grants the public permission to use the
60
+ licensed material under specified terms and conditions. If
61
+ the licensor's permission is not necessary for any reason--for
62
+ example, because of any applicable exception or limitation to
63
+ copyright--then that use is not regulated by the license. Our
64
+ licenses grant only permissions under copyright and certain
65
+ other rights that a licensor has authority to grant. Use of
66
+ the licensed material may still be restricted for other
67
+ reasons, including because others have copyright or other
68
+ rights in the material. A licensor may make special requests,
69
+ such as asking that all changes be marked or described.
70
+ Although not required by our licenses, you are encouraged to
71
+ respect those requests where reasonable. More considerations
72
+ for the public:
73
+ wiki.creativecommons.org/Considerations_for_licensees
74
+
75
+ =======================================================================
76
+
77
+ Creative Commons Attribution-ShareAlike 4.0 International Public
78
+ License
79
+
80
+ By exercising the Licensed Rights (defined below), You accept and agree
81
+ to be bound by the terms and conditions of this Creative Commons
82
+ Attribution-ShareAlike 4.0 International Public License ("Public
83
+ License"). To the extent this Public License may be interpreted as a
84
+ contract, You are granted the Licensed Rights in consideration of Your
85
+ acceptance of these terms and conditions, and the Licensor grants You
86
+ such rights in consideration of benefits the Licensor receives from
87
+ making the Licensed Material available under these terms and
88
+ conditions.
89
+
90
+
91
+ Section 1 -- Definitions.
92
+
93
+ a. Adapted Material means material subject to Copyright and Similar
94
+ Rights that is derived from or based upon the Licensed Material
95
+ and in which the Licensed Material is translated, altered,
96
+ arranged, transformed, or otherwise modified in a manner requiring
97
+ permission under the Copyright and Similar Rights held by the
98
+ Licensor. For purposes of this Public License, where the Licensed
99
+ Material is a musical work, performance, or sound recording,
100
+ Adapted Material is always produced where the Licensed Material is
101
+ synched in timed relation with a moving image.
102
+
103
+ b. Adapter's License means the license You apply to Your Copyright
104
+ and Similar Rights in Your contributions to Adapted Material in
105
+ accordance with the terms and conditions of this Public License.
106
+
107
+ c. BY-SA Compatible License means a license listed at
108
+ creativecommons.org/compatiblelicenses, approved by Creative
109
+ Commons as essentially the equivalent of this Public License.
110
+
111
+ d. Copyright and Similar Rights means copyright and/or similar rights
112
+ closely related to copyright including, without limitation,
113
+ performance, broadcast, sound recording, and Sui Generis Database
114
+ Rights, without regard to how the rights are labeled or
115
+ categorized. For purposes of this Public License, the rights
116
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
117
+ Rights.
118
+
119
+ e. Effective Technological Measures means those measures that, in the
120
+ absence of proper authority, may not be circumvented under laws
121
+ fulfilling obligations under Article 11 of the WIPO Copyright
122
+ Treaty adopted on December 20, 1996, and/or similar international
123
+ agreements.
124
+
125
+ f. Exceptions and Limitations means fair use, fair dealing, and/or
126
+ any other exception or limitation to Copyright and Similar Rights
127
+ that applies to Your use of the Licensed Material.
128
+
129
+ g. License Elements means the license attributes listed in the name
130
+ of a Creative Commons Public License. The License Elements of this
131
+ Public License are Attribution and ShareAlike.
132
+
133
+ h. Licensed Material means the artistic or literary work, database,
134
+ or other material to which the Licensor applied this Public
135
+ License.
136
+
137
+ i. Licensed Rights means the rights granted to You subject to the
138
+ terms and conditions of this Public License, which are limited to
139
+ all Copyright and Similar Rights that apply to Your use of the
140
+ Licensed Material and that the Licensor has authority to license.
141
+
142
+ j. Licensor means the individual(s) or entity(ies) granting rights
143
+ under this Public License.
144
+
145
+ k. Share means to provide material to the public by any means or
146
+ process that requires permission under the Licensed Rights, such
147
+ as reproduction, public display, public performance, distribution,
148
+ dissemination, communication, or importation, and to make material
149
+ available to the public including in ways that members of the
150
+ public may access the material from a place and at a time
151
+ individually chosen by them.
152
+
153
+ l. Sui Generis Database Rights means rights other than copyright
154
+ resulting from Directive 96/9/EC of the European Parliament and of
155
+ the Council of 11 March 1996 on the legal protection of databases,
156
+ as amended and/or succeeded, as well as other essentially
157
+ equivalent rights anywhere in the world.
158
+
159
+ m. You means the individual or entity exercising the Licensed Rights
160
+ under this Public License. Your has a corresponding meaning.
161
+
162
+
163
+ Section 2 -- Scope.
164
+
165
+ a. License grant.
166
+
167
+ 1. Subject to the terms and conditions of this Public License,
168
+ the Licensor hereby grants You a worldwide, royalty-free,
169
+ non-sublicensable, non-exclusive, irrevocable license to
170
+ exercise the Licensed Rights in the Licensed Material to:
171
+
172
+ a. reproduce and Share the Licensed Material, in whole or
173
+ in part; and
174
+
175
+ b. produce, reproduce, and Share Adapted Material.
176
+
177
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
178
+ Exceptions and Limitations apply to Your use, this Public
179
+ License does not apply, and You do not need to comply with
180
+ its terms and conditions.
181
+
182
+ 3. Term. The term of this Public License is specified in Section
183
+ 6(a).
184
+
185
+ 4. Media and formats; technical modifications allowed. The
186
+ Licensor authorizes You to exercise the Licensed Rights in
187
+ all media and formats whether now known or hereafter created,
188
+ and to make technical modifications necessary to do so. The
189
+ Licensor waives and/or agrees not to assert any right or
190
+ authority to forbid You from making technical modifications
191
+ necessary to exercise the Licensed Rights, including
192
+ technical modifications necessary to circumvent Effective
193
+ Technological Measures. For purposes of this Public License,
194
+ simply making modifications authorized by this Section 2(a)
195
+ (4) never produces Adapted Material.
196
+
197
+ 5. Downstream recipients.
198
+
199
+ a. Offer from the Licensor -- Licensed Material. Every
200
+ recipient of the Licensed Material automatically
201
+ receives an offer from the Licensor to exercise the
202
+ Licensed Rights under the terms and conditions of this
203
+ Public License.
204
+
205
+ b. Additional offer from the Licensor -- Adapted Material.
206
+ Every recipient of Adapted Material from You
207
+ automatically receives an offer from the Licensor to
208
+ exercise the Licensed Rights in the Adapted Material
209
+ under the conditions of the Adapter's License You apply.
210
+
211
+ c. No downstream restrictions. You may not offer or impose
212
+ any additional or different terms or conditions on, or
213
+ apply any Effective Technological Measures to, the
214
+ Licensed Material if doing so restricts exercise of the
215
+ Licensed Rights by any recipient of the Licensed
216
+ Material.
217
+
218
+ 6. No endorsement. Nothing in this Public License constitutes or
219
+ may be construed as permission to assert or imply that You
220
+ are, or that Your use of the Licensed Material is, connected
221
+ with, or sponsored, endorsed, or granted official status by,
222
+ the Licensor or others designated to receive attribution as
223
+ provided in Section 3(a)(1)(A)(i).
224
+
225
+ b. Other rights.
226
+
227
+ 1. Moral rights, such as the right of integrity, are not
228
+ licensed under this Public License, nor are publicity,
229
+ privacy, and/or other similar personality rights; however, to
230
+ the extent possible, the Licensor waives and/or agrees not to
231
+ assert any such rights held by the Licensor to the limited
232
+ extent necessary to allow You to exercise the Licensed
233
+ Rights, but not otherwise.
234
+
235
+ 2. Patent and trademark rights are not licensed under this
236
+ Public License.
237
+
238
+ 3. To the extent possible, the Licensor waives any right to
239
+ collect royalties from You for the exercise of the Licensed
240
+ Rights, whether directly or through a collecting society
241
+ under any voluntary or waivable statutory or compulsory
242
+ licensing scheme. In all other cases the Licensor expressly
243
+ reserves any right to collect such royalties.
244
+
245
+
246
+ Section 3 -- License Conditions.
247
+
248
+ Your exercise of the Licensed Rights is expressly made subject to the
249
+ following conditions.
250
+
251
+ a. Attribution.
252
+
253
+ 1. If You Share the Licensed Material (including in modified
254
+ form), You must:
255
+
256
+ a. retain the following if it is supplied by the Licensor
257
+ with the Licensed Material:
258
+
259
+ i. identification of the creator(s) of the Licensed
260
+ Material and any others designated to receive
261
+ attribution, in any reasonable manner requested by
262
+ the Licensor (including by pseudonym if
263
+ designated);
264
+
265
+ ii. a copyright notice;
266
+
267
+ iii. a notice that refers to this Public License;
268
+
269
+ iv. a notice that refers to the disclaimer of
270
+ warranties;
271
+
272
+ v. a URI or hyperlink to the Licensed Material to the
273
+ extent reasonably practicable;
274
+
275
+ b. indicate if You modified the Licensed Material and
276
+ retain an indication of any previous modifications; and
277
+
278
+ c. indicate the Licensed Material is licensed under this
279
+ Public License, and include the text of, or the URI or
280
+ hyperlink to, this Public License.
281
+
282
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
283
+ reasonable manner based on the medium, means, and context in
284
+ which You Share the Licensed Material. For example, it may be
285
+ reasonable to satisfy the conditions by providing a URI or
286
+ hyperlink to a resource that includes the required
287
+ information.
288
+
289
+ 3. If requested by the Licensor, You must remove any of the
290
+ information required by Section 3(a)(1)(A) to the extent
291
+ reasonably practicable.
292
+
293
+ b. ShareAlike.
294
+
295
+ In addition to the conditions in Section 3(a), if You Share
296
+ Adapted Material You produce, the following conditions also apply.
297
+
298
+ 1. The Adapter's License You apply must be a Creative Commons
299
+ license with the same License Elements, this version or
300
+ later, or a BY-SA Compatible License.
301
+
302
+ 2. You must include the text of, or the URI or hyperlink to, the
303
+ Adapter's License You apply. You may satisfy this condition
304
+ in any reasonable manner based on the medium, means, and
305
+ context in which You Share Adapted Material.
306
+
307
+ 3. You may not offer or impose any additional or different terms
308
+ or conditions on, or apply any Effective Technological
309
+ Measures to, Adapted Material that restrict exercise of the
310
+ rights granted under the Adapter's License You apply.
311
+
312
+
313
+ Section 4 -- Sui Generis Database Rights.
314
+
315
+ Where the Licensed Rights include Sui Generis Database Rights that
316
+ apply to Your use of the Licensed Material:
317
+
318
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
319
+ to extract, reuse, reproduce, and Share all or a substantial
320
+ portion of the contents of the database;
321
+
322
+ b. if You include all or a substantial portion of the database
323
+ contents in a database in which You have Sui Generis Database
324
+ Rights, then the database in which You have Sui Generis Database
325
+ Rights (but not its individual contents) is Adapted Material,
326
+ including for purposes of Section 3(b); and
327
+
328
+ c. You must comply with the conditions in Section 3(a) if You Share
329
+ all or a substantial portion of the contents of the database.
330
+
331
+ For the avoidance of doubt, this Section 4 supplements and does not
332
+ replace Your obligations under this Public License where the Licensed
333
+ Rights include other Copyright and Similar Rights.
334
+
335
+
336
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
337
+
338
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
339
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
340
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
341
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
342
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
343
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
344
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
345
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
346
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
347
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
348
+
349
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
350
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
351
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
352
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
353
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
354
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
355
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
356
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
357
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
358
+
359
+ c. The disclaimer of warranties and limitation of liability provided
360
+ above shall be interpreted in a manner that, to the extent
361
+ possible, most closely approximates an absolute disclaimer and
362
+ waiver of all liability.
363
+
364
+
365
+ Section 6 -- Term and Termination.
366
+
367
+ a. This Public License applies for the term of the Copyright and
368
+ Similar Rights licensed here. However, if You fail to comply with
369
+ this Public License, then Your rights under this Public License
370
+ terminate automatically.
371
+
372
+ b. Where Your right to use the Licensed Material has terminated under
373
+ Section 6(a), it reinstates:
374
+
375
+ 1. automatically as of the date the violation is cured, provided
376
+ it is cured within 30 days of Your discovery of the
377
+ violation; or
378
+
379
+ 2. upon express reinstatement by the Licensor.
380
+
381
+ For the avoidance of doubt, this Section 6(b) does not affect any
382
+ right the Licensor may have to seek remedies for Your violations
383
+ of this Public License.
384
+
385
+ c. For the avoidance of doubt, the Licensor may also offer the
386
+ Licensed Material under separate terms or conditions or stop
387
+ distributing the Licensed Material at any time; however, doing so
388
+ will not terminate this Public License.
389
+
390
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
391
+ License.
392
+
393
+
394
+ Section 7 -- Other Terms and Conditions.
395
+
396
+ a. The Licensor shall not be bound by any additional or different
397
+ terms or conditions communicated by You unless expressly agreed.
398
+
399
+ b. Any arrangements, understandings, or agreements regarding the
400
+ Licensed Material not stated herein are separate from and
401
+ independent of the terms and conditions of this Public License.
402
+
403
+
404
+ Section 8 -- Interpretation.
405
+
406
+ a. For the avoidance of doubt, this Public License does not, and
407
+ shall not be interpreted to, reduce, limit, restrict, or impose
408
+ conditions on any use of the Licensed Material that could lawfully
409
+ be made without permission under this Public License.
410
+
411
+ b. To the extent possible, if any provision of this Public License is
412
+ deemed unenforceable, it shall be automatically reformed to the
413
+ minimum extent necessary to make it enforceable. If the provision
414
+ cannot be reformed, it shall be severed from this Public License
415
+ without affecting the enforceability of the remaining terms and
416
+ conditions.
417
+
418
+ c. No term or condition of this Public License will be waived and no
419
+ failure to comply consented to unless expressly agreed to by the
420
+ Licensor.
421
+
422
+ d. Nothing in this Public License constitutes or may be interpreted
423
+ as a limitation upon, or waiver of, any privileges and immunities
424
+ that apply to the Licensor or You, including from the legal
425
+ processes of any jurisdiction or authority.
426
+
427
+
428
+ =======================================================================
429
+
430
+ Creative Commons is not a party to its public
431
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
432
+ its public licenses to material it publishes and in those instances
433
+ will be considered the “Licensor.” The text of the Creative Commons
434
+ public licenses is dedicated to the public domain under the CC0 Public
435
+ Domain Dedication. Except for the limited purpose of indicating that
436
+ material is shared under a Creative Commons public license or as
437
+ otherwise permitted by the Creative Commons policies published at
438
+ creativecommons.org/policies, Creative Commons does not authorize the
439
+ use of the trademark "Creative Commons" or any other trademark or logo
440
+ of Creative Commons without its prior written consent including,
441
+ without limitation, in connection with any unauthorized modifications
442
+ to any of its public licenses or any other arrangements,
443
+ understandings, or agreements concerning use of licensed material. For
444
+ the avoidance of doubt, this paragraph does not form part of the
445
+ public licenses.
446
+
447
+ Creative Commons may be contacted at creativecommons.org.
448
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devicefarmer/stf-device-db",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "A smartphone/device database for STF.",
5
5
  "keywords": [
6
6
  "stf"
@@ -20,7 +20,9 @@
20
20
  "index.js",
21
21
  "index.d.ts",
22
22
  "brands.js",
23
- "dist/devices.json"
23
+ "dist/devices.json",
24
+ "dist/LICENSE",
25
+ "NOTICE"
24
26
  ],
25
27
  "repository": {
26
28
  "type": "git",