jest-preset-angular 8.3.2 → 8.4.0

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/CHANGELOG.md ADDED
@@ -0,0 +1,440 @@
1
+ # [8.4.0](https://github.com/thymikee/jest-preset-angular/compare/v8.3.2...v8.4.0) (2021-03-04)
2
+
3
+
4
+ ### Features
5
+
6
+ * add `ngcc-jest-processor` util script ([#853](https://github.com/thymikee/jest-preset-angular/issues/853)) ([e8c9689](https://github.com/thymikee/jest-preset-angular/commit/e8c9689fa792fb64634156eef00b06e3b1e604e5))
7
+
8
+
9
+ ### DEPRECATIONS
10
+
11
+ * Import serializer via `'jest-preset-angular/build/AngularNoNgAttributesSnapshotSerializer.js'` is deprecated in favor of `'jest-preset-angular/build/serializers/no-ng-attributes'`
12
+ * Import serializer via `'jest-preset-angular/build/AngularSnapshotSerializer.js'` is deprecated in favor of `'jest-preset-angular/build/serializers/ng-snapshot'`
13
+ * Import serializer via `'jest-preset-angular/build/HTMLCommentSerializer.js'` is deprecated in favor of `'jest-preset-angular/build/serializers/html-comment'`
14
+ * Import setup file via `import 'jest-preset-angular'` is deprecated in favor of `import 'jest-preset-angular/setup-jest'`
15
+
16
+
17
+
18
+ ## [8.3.2](https://github.com/thymikee/jest-preset-angular/compare/v8.3.1...v8.3.2) (2020-10-23)
19
+
20
+
21
+ ### Chores
22
+
23
+ * **config**: switch to `tsconfig` for `jest-preset.js`
24
+
25
+
26
+
27
+ ## [8.3.1](https://github.com/thymikee/jest-preset-angular/compare/v8.2.1...v8.3.1) (2020-08-23)
28
+
29
+
30
+ ### Bug Fixes
31
+
32
+ * Correct wrong published content in **v8.3.0**
33
+
34
+
35
+
36
+
37
+ # [8.3.0](https://github.com/thymikee/jest-preset-angular/compare/v8.2.1...v8.3.0) (2020-08-23)
38
+
39
+
40
+ ### Features
41
+
42
+ * add support for zone.js 0.11.1 ([#448](https://github.com/thymikee/jest-preset-angular/issues/448)) ([3879976](https://github.com/thymikee/jest-preset-angular/commit/3879976f80e2b41533e6a4c564993490d1ab8cc3))
43
+
44
+
45
+ ### Bug Fixes
46
+
47
+ * change `astTransformers` in preset config ([#443](https://github.com/thymikee/jest-preset-angular/pull/443)) ([276784](https://github.com/thymikee/jest-preset-angular/commit/1011d15bb8102c4762f19b3997bd161a2b276784)), closes [#439](https://github.com/thymikee/jest-preset-angular/issues/439)
48
+
49
+
50
+
51
+ ## [8.2.1](https://github.com/thymikee/jest-preset-angular/compare/v8.2.0...v8.2.1) (2020-06-19)
52
+
53
+
54
+ ### Features
55
+
56
+ * support jest 26 ([#374](https://github.com/thymikee/jest-preset-angular/issues/374)) ([5afe077](https://github.com/thymikee/jest-preset-angular/commit/5afe077b7d03dc6bd3f53621bfa1dfaae4054e61))
57
+
58
+
59
+
60
+ # [8.2.0](https://github.com/thymikee/jest-preset-angular/compare/v8.1.3...v8.2.0) (2020-05-07)
61
+
62
+
63
+ ### Features
64
+
65
+ * Merge in class filtering solution from issue [#336](https://github.com/thymikee/jest-preset-angular/issues/366) ([#343](https://github.com/thymikee/jest-preset-angular/issues/343)) ([e443d1b](https://github.com/thymikee/jest-preset-angular/commit/bcb2c22597bc172d8c8219f23e66af11ae443d1b)), closes [#336](https://github.com/thymikee/jest-preset-angular/issues/336)
66
+
67
+
68
+
69
+ ## [8.1.3](https://github.com/thymikee/jest-preset-angular/compare/v8.1.2...v8.1.3) (2020-03-31)
70
+
71
+
72
+ ### Features
73
+
74
+ * make `AngularSnapshotSerializer` compatible with Ivy ([#366](https://github.com/thymikee/jest-preset-angular/issues/366)) ([c648786](https://github.com/thymikee/jest-preset-angular/commit/c6487869e4501bb13a25ab44e6eb5ca53d7cf1cf))
75
+
76
+
77
+
78
+ ## [8.1.2](https://github.com/thymikee/jest-preset-angular/compare/v8.1.1...v8.1.2) (2020-03-15)
79
+
80
+
81
+ ### Bug Fixes
82
+
83
+ * simplify zone patch test method impl ([#361](https://github.com/thymikee/jest-preset-angular/issues/361)) ([4cc8708](https://github.com/thymikee/jest-preset-angular/commit/4cc87089e331d9c8bf63a5fe360ae410e3a2159a))
84
+
85
+
86
+
87
+ ## [8.1.1](https://github.com/thymikee/jest-preset-angular/compare/v8.1.0...v8.1.1) (2020-03-12)
88
+
89
+
90
+ ### Bug Fixes
91
+
92
+ * `zone.js` patch jest should handle done correctly ([#357](https://github.com/thymikee/jest-preset-angular/issues/357)) ([34287f5](https://github.com/thymikee/jest-preset-angular/commit/34287f5bddfbf9192d3191631274f7c60b966b3b))
93
+
94
+
95
+
96
+ # [8.1.0](https://github.com/thymikee/jest-preset-angular/compare/v8.0.0...v8.1.0) (2020-03-10)
97
+
98
+
99
+ ### Bug Fixes
100
+
101
+ * test.each should be in ProxyZone ([#340](https://github.com/thymikee/jest-preset-angular/issues/340)) ([17dc5bf](https://github.com/thymikee/jest-preset-angular/commit/17dc5bf93caf40a6bb469cb54083d86a8f01115b)), closes [#339](https://github.com/thymikee/jest-preset-angular/issues/339)
102
+
103
+
104
+
105
+ # [8.0.0](https://github.com/thymikee/jest-preset-angular/compare/v7.1.1...v8.0.0) (2019-10-21)
106
+
107
+
108
+ ### Features
109
+
110
+ * **breaking:** Refine ast-transformer behavior: only transform `styles`-assignments inside @Component ([#261](https://github.com/thymikee/jest-preset-angular/pull/261)) and TypeScript v2.9 `createStringLiteral` is polyfilled if an older version is used ([#272](https://github.com/thymikee/jest-preset-angular/issues/272)).
111
+ * **breaking:** Restructure project with `src` and `build` folder ([#307](https://github.com/thymikee/jest-preset-angular/pull/307)).
112
+ * **breaking:** Support `tsconfig.spec.json` in root folder by default ([#309](https://github.com/thymikee/jest-preset-angular/pull/309)).
113
+ * **breaking:** Enable `AngularNoAngularNoNgAttributesSnapshotSerializer` (created in [#97](https://github.com/thymikee/jest-preset-angular/pull/97)) by default ([#318](https://github.com/thymikee/jest-preset-angular/pull/318)).
114
+ * Remove `core-js` dependency by using internal, minimal `reflect-metadata` ([#315](https://github.com/thymikee/jest-preset-angular/pull/315)).
115
+
116
+
117
+ ### Chores
118
+
119
+ * Update jsdom to current version 15 ([#318](https://github.com/thymikee/jest-preset-angular/pull/318)).
120
+
121
+
122
+ ### BREAKING CHANGES
123
+
124
+ * If the `astTransformers` are referenced in a custom `jest` config, `[ 'jest-preset-angular/build/InlineFilesTransformer', 'jest-preset-angular/build/StripStylesTransformer']` have to be set instead.
125
+ * Serializers, transformers and `setupJest` have to be referenced from the `jest-preset-angular/build/`-folder in a custom config. Existing references have to be aligned.
126
+ * If your `tsconfig.spec.json` is located in `src`, move it to your root folder and adjust the referenced files and paths inside, or align your jest configuration as discussed in the [README.md](https://github.com/thymikee/jest-preset-angular/blob/master/README.md#custom-tsconfig).
127
+ * In an Angular 8 project or higher, `core-js` should no longer be a dependency declared in `package.json`, unless it's imported manually in the code.
128
+
129
+
130
+
131
+ ## [7.1.0](https://github.com/thymikee/jest-preset-angular/compare/v7.0.0...v7.1.0) (2019-05-20)
132
+
133
+
134
+ ### Features
135
+
136
+ * component serializer without ng-* attributes ([#97](https://github.com/thymikee/jest-preset-angular/issues/97)) ([1079528](https://github.com/thymikee/jest-preset-angular/commit/10795285b9b641ee1f428011e97037050b544011))
137
+ * support `core-js` >=2.0.0 < 4.0.0 ([#246](https://github.com/thymikee/jest-preset-angular/issues/246)) ([239a647](https://github.com/thymikee/jest-preset-angular/commit/239a6471dcbeac9a0c4d4d33e077060c109e0089))
138
+
139
+
140
+ ### Chores
141
+
142
+ * Fixed a CI cache issue in the example app, which would not always use the current version of the preset in the test runs.
143
+
144
+
145
+
146
+ # [7.0.0](https://github.com/thymikee/jest-preset-angular/compare/v6.0.1...v7.0.0) (2019-03-08)
147
+
148
+
149
+ ### Bug Fixes
150
+
151
+ * moved `@types/jest` to `devDependencies` ([#227](https://github.com/thymikee/jest-preset-angular/issues/227)) ([d65fdc9](https://github.com/thymikee/jest-preset-angular/commit/d65fdc9092188bcb6d30bb5afada0afb89c53588))
152
+
153
+
154
+ ### Features
155
+
156
+ * adjust semver range of `jest-zone-patch` ([#209](https://github.com/thymikee/jest-preset-angular/issues/209)) ([1c60de7](https://github.com/thymikee/jest-preset-angular/commit/1c60de799bcfbd22ff7bf79a67bb58c31ac8b53e))
157
+ * Import jest-zone-patch ([#214](https://github.com/thymikee/jest-preset-angular/issues/214)) ([66987ed](https://github.com/thymikee/jest-preset-angular/commit/66987ed0e00ace117b3900e5b0e9b5dbef4f071c)), closes [/github.com/thymikee/jest-zone-patch/pull/9#issuecomment-445772763](https://github.com//github.com/thymikee/jest-zone-patch/pull/9/issues/issuecomment-445772763)
158
+ * Jest 24 ([#224](https://github.com/thymikee/jest-preset-angular/issues/224)) ([7f7d0f4](https://github.com/thymikee/jest-preset-angular/commit/7f7d0f4a7f2fafc699e0f720090fba4547dfaec4)), closes [#223](https://github.com/thymikee/jest-preset-angular/issues/223)
159
+ * jsdom-v13 ([#229](https://github.com/thymikee/jest-preset-angular/issues/229)) ([864440e](https://github.com/thymikee/jest-preset-angular/commit/864440e93172368c60daa9423aa31e4e37c0e3ad)), closes [#216](https://github.com/thymikee/jest-preset-angular/issues/216)
160
+ * **breaking:** Implement `astTransformer` compatible with `ts-jest` 23.10 ([#204](https://github.com/thymikee/jest-preset-angular/issues/204)) ([adad842](https://github.com/thymikee/jest-preset-angular/commit/adad842f3df3bb96c57e9790a74a4ed9bdb7b3b6)), closes [#195](https://github.com/thymikee/jest-preset-angular/issues/195) [#201](https://github.com/thymikee/jest-preset-angular/issues/201) [#201](https://github.com/thymikee/jest-preset-angular/issues/201) [#201](https://github.com/thymikee/jest-preset-angular/issues/201)
161
+
162
+
163
+ ### Chores
164
+
165
+ * Remove template literal character escaping, reverts [#34](https://github.com/thymikee/jest-preset-angular/pull/34)
166
+ * Migrate CI config to CircleCI v2 ([#212](https://github.com/thymikee/jest-preset-angular/pull/212))
167
+ * **docs:** do not use `.babelrc` file but rather `babel.config.js` ([#231](https://github.com/thymikee/jest-preset-angular/pull/231))
168
+ * **docs:** add `astTransformers` in configuration example ([#218](https://github.com/thymikee/jest-preset-angular/pull/218))
169
+
170
+
171
+ ### BREAKING CHANGES
172
+
173
+ * If `global` and `transform` are not set in your configuration in `jest.config.json`, `jest.config.js` or `package.json`, you are done.
174
+ * If the `global` value of the configuration was overridden, adjust
175
+ * The option `"__TRANSFORM_HTML__": true` is not required anymore. Instead the `"stringifyContentPathRegex": "\\.html$"` should be used inside the `ts-jest`-configuration.
176
+ * Change the assignment identifier from `tsConfigFile` to `tsConfig`.
177
+ * Add the `astTransformers: [require.resolve('jest-preset-angular/InlineHtmlStripStylesTransformer')]` so Jest can work with `templateUrl`-assignments in Component decorators.
178
+ * If `transform` was overridden, remove the entry pointing at `preprocessor.js` and add `"^.+\\.(ts|js|html)$": "ts-jest"` to the `transform`-object.
179
+ * If in doubt, check the configuration example in `jest-preset.json`.
180
+
181
+
182
+
183
+ ## [6.0.1](https://github.com/thymikee/jest-preset-angular/compare/v6.0.0...v6.0.1) (2018-09-19)
184
+
185
+
186
+ ### Bug Fixes
187
+
188
+ * restrict version of `ts-jest` to ~23.1.3 ([#196](https://github.com/thymikee/jest-preset-angular/issues/196)) ([62673cf](https://github.com/thymikee/jest-preset-angular/commit/62673cf23e5ecfd77ec293ea23d1ccd55035f22c))
189
+ * support backtick quoted `templateUrl` ([#182](https://github.com/thymikee/jest-preset-angular/issues/182)) ([145c8ea](https://github.com/thymikee/jest-preset-angular/commit/145c8eaa0fb5d28a4031f5aafad4b85087b2da1c))
190
+
191
+
192
+ ### Chores
193
+
194
+ * Add HeroesComponent example with mocked service provider ([#110](https://github.com/thymikee/jest-preset-angular/pull/110))
195
+ * **docs:** Adjust troubleshooting to support configuration with Angular 6 ([#187](https://github.com/thymikee/jest-preset-angular/pull/187))
196
+
197
+
198
+
199
+ # [6.0.0](https://github.com/thymikee/jest-preset-angular/compare/v5.2.3...v6.0.0) (2018-08-03)
200
+
201
+
202
+ ### Features
203
+
204
+ * Compatibility with `jest` v23 ([#173](https://github.com/thymikee/jest-preset-angular/pull/173))
205
+
206
+
207
+
208
+ ## [5.2.3](https://github.com/thymikee/jest-preset-angular/compare/v5.2.2...v5.2.3) (2018-06-26)
209
+
210
+
211
+ ### Bug Fixes
212
+
213
+ * transformer breaking on spaces before colon ([#165](https://github.com/thymikee/jest-preset-angular/issues/165)) ([bd5b569](https://github.com/thymikee/jest-preset-angular/commit/bd5b5692fd6ccc79293edd9608decd2a717cf8bc)), closes [#164](https://github.com/thymikee/jest-preset-angular/issues/164)
214
+
215
+
216
+
217
+ ## [5.2.2](https://github.com/thymikee/jest-preset-angular/compare/v5.2.1...v5.2.2) (2018-04-27)
218
+
219
+
220
+ ### Bug Fixes
221
+
222
+ * update `STYLE_URLS_REGEX` to not break on multiple new lines ([#139](https://github.com/thymikee/jest-preset-angular/pull/139))
223
+
224
+
225
+ ### Chores
226
+
227
+ * specify angular modules as peerDependencies ([#141](https://github.com/thymikee/jest-preset-angular/pull/141))
228
+ * **docs:** add more troubleshooting docs ([#129](https://github.com/thymikee/jest-preset-angular/pull/129))
229
+
230
+
231
+ ## [5.2.1](https://github.com/thymikee/jest-preset-angular/compare/v5.2.0...v5.2.1) (2018-03-08)
232
+
233
+
234
+ ### Bug Fixes
235
+
236
+ * update `ts-jest` to `22.4.1` – urgent fix for `enableTsDiagnostics` ([#130](https://github.com/thymikee/jest-preset-angular/pull/130))
237
+
238
+
239
+ ### Chores
240
+
241
+ * Change `testRegex` to `testMatch` ([#131](https://github.com/thymikee/jest-preset-angular/pull/131))
242
+
243
+
244
+
245
+ # [5.2.0](https://github.com/thymikee/jest-preset-angular/compare/v5.1.0...v5.2.0) (2018-02-26)
246
+
247
+
248
+ ### Chores
249
+
250
+ * Upgrade ts-jest and remove `mapCoverage` from `jest-preset` (requires `jest@^22.4.0` as a dependency now) ([#127](https://github.com/thymikee/jest-preset-angular/pull/127))
251
+
252
+
253
+
254
+ # [5.1.0](https://github.com/thymikee/jest-preset-angular/compare/v5.0.0...v5.1.0) (2018-02-22)
255
+
256
+
257
+ ### Features
258
+
259
+ * Simplify installation by adding @types/jest as a package dependency ([#116](https://github.com/thymikee/jest-preset-angular/pull/116))
260
+ * Move serializers setup to jest config to be possible to override them ([#126](https://github.com/thymikee/jest-preset-angular/pull/126))
261
+
262
+
263
+ ### Chores
264
+
265
+ * **docs:** Add a configuration section with vendor libraries like jQuery ([#117](https://github.com/thymikee/jest-preset-angular/pull/117))
266
+
267
+ # [5.0.0](https://github.com/thymikee/jest-preset-angular/compare/v4.0.2...v5.0.0) (2017-12-21)
268
+
269
+
270
+ ### Chores
271
+
272
+ * Get rid of explicit `jsdom` dependency and custom test environment
273
+
274
+
275
+ ### BREAKING CHANGES
276
+
277
+ * Upgrade Jest to 22 ([#109](https://github.com/thymikee/jest-preset-angular/pull/109))
278
+ * Upgrade `ts-jest` to 22 ([#109](https://github.com/thymikee/jest-preset-angular/pull/109))
279
+
280
+
281
+
282
+ ## [4.0.2](https://github.com/thymikee/jest-preset-angular/compare/v4.0.0...v4.0.2) (2017-12-11)
283
+
284
+
285
+ ### BREAKING CHANGES
286
+
287
+ * Change to MIT license ([#102](https://github.com/thymikee/jest-preset-angular/pull/102))
288
+
289
+
290
+
291
+ # [4.0.1](https://github.com/thymikee/jest-preset-angular/compare/v4.0.0...v4.0.1) (2017-10-08)
292
+
293
+
294
+ ### Bug Fixes
295
+
296
+ * Add doctype to test envrionment ([#78](https://github.com/thymikee/jest-preset-angular/pull/78))
297
+
298
+
299
+
300
+ # [4.0.0](https://github.com/thymikee/jest-preset-angular/compare/v4.0.0-alpha.1...v4.0.0) (2017-10-03)
301
+
302
+
303
+ ### Bug Fixes
304
+
305
+ * `fakeAsync` not working with `zone.js` >= 0.8.11
306
+
307
+
308
+ ### Features
309
+
310
+ * Custom test environment with newest version of `jsdom` ([#75](https://github.com/thymikee/jest-preset-angular/pull/75))
311
+ * Use universal `zone.js` instead of node-specific one ([#76](https://github.com/thymikee/jest-preset-angular/pull/76))
312
+
313
+
314
+ ### BREAKING CHANGES
315
+
316
+ * Drop Node 4 support (because of `jsdom` upgrade
317
+
318
+
319
+
320
+ ## [3.0.2](https://github.com/thymikee/jest-preset-angular/compare/v3.0.0...v3.0.2) (2017-09-21)
321
+
322
+
323
+ ### Bug Fixes
324
+
325
+ * issues with `moduleNameMapper` not overriding mappings ([#53](https://github.com/thymikee/jest-preset-angular/pull/53))
326
+
327
+
328
+ ### BREAKING CHANGES
329
+
330
+ * Upgrade `jest` to 21
331
+ * Upgrade `ts-jest` to 21
332
+ * `moduleNameMapper` no longer maps absolute paths to `src` by default, you need to declare the mappings explicitly ([#53](https://github.com/thymikee/jest-preset-angular/pull/53))
333
+
334
+
335
+
336
+ ## [2.0.5](https://github.com/thymikee/jest-preset-angular/compare/v2.0.4...v2.0.5) (2017-07-07)
337
+
338
+
339
+ ### Bug Fixes
340
+
341
+ * Bump to `ts-jest` 20.0.7
342
+
343
+
344
+
345
+ ## [2.0.4](https://github.com/thymikee/jest-preset-angular/compare/v2.0.3...v2.0.4) (2017-06-13)
346
+
347
+
348
+ ### Bug Fixes
349
+
350
+ * Angular injection errors are now visible
351
+ * scape template literals special chars ([#34](https://github.com/thymikee/jest-preset-angular/pull/34))
352
+
353
+
354
+
355
+ # [2.0.0](https://github.com/thymikee/jest-preset-angular/compare/v1.2.1...v2.0.0) (2017-05-07)
356
+
357
+
358
+ ### BREAKING CHANGES
359
+
360
+ * Upgrade to Jest 20
361
+ * Better snapshot rendering
362
+
363
+
364
+
365
+ # [1.2.0](https://github.com/thymikee/jest-preset-angular/compare/v1.1.3...v1.2.0) (2017-04-29)
366
+
367
+
368
+ ### Features
369
+
370
+ * Support absolute URLs in `templateUrl`
371
+
372
+
373
+
374
+ # [1.1.0](https://github.com/thymikee/jest-preset-angular/compare/v1.0.0...v1.1.0) (2017-04-22)
375
+
376
+
377
+ ### Features
378
+
379
+ * Support snapshot testing ([#24](https://github.com/thymikee/jest-preset-angular/pull/24))
380
+
381
+
382
+
383
+ # [1.0.0](https://github.com/thymikee/jest-preset-angular/compare/v1.0.0-alpha...v1.0.0) (2017-04-13)
384
+
385
+
386
+ ### BREAKING CHANGES
387
+
388
+ * `rxjs` is no longer auto included ([#18](https://github.com/thymikee/jest-preset-angular/pull/18))
389
+
390
+
391
+
392
+ ## [0.0.14](https://github.com/thymikee/jest-preset-angular/compare/v0.0.13...v0.0.14) (2017-04-12)
393
+
394
+
395
+ ### Bug Fixes
396
+
397
+ * Bump `jest-zone-patch` version with `zone.js` peer dependency
398
+
399
+
400
+
401
+ ## [0.0.13](https://github.com/thymikee/jest-preset-angular/compare/v0.0.12...v0.0.13) (2017-04-05)
402
+
403
+
404
+ ### Bug Fixes
405
+
406
+ * Overhaul regex for styleUrls ([#10](https://github.com/thymikee/jest-preset-angular/pull/10))
407
+
408
+
409
+
410
+ ## [0.0.10](https://github.com/thymikee/jest-preset-angular/compare/v0.0.9...v0.0.10) (2017-04-04)
411
+
412
+
413
+ ### Bug Fixes
414
+
415
+ * Improve global mocks
416
+
417
+
418
+
419
+ ## [0.0.9](https://github.com/thymikee/jest-preset-angular/compare/v0.0.8...v0.0.9) (2017-04-04)
420
+
421
+
422
+ ### Features
423
+
424
+ * Allow all folders within src for module resolution ([#6](https://github.com/thymikee/jest-preset-angular/pull/6))
425
+
426
+
427
+
428
+ ## [0.0.8](https://github.com/thymikee/jest-preset-angular/compare/v0.0.5...v0.0.8) (2017-04-04)
429
+
430
+
431
+ ### Bug Fixes
432
+
433
+ * Use `tsconfig.spec.json` instead of `tsconfig.app.json` as TS configuration for tests
434
+
435
+
436
+
437
+ ## 0.0.1 (2017-03-30)
438
+
439
+
440
+
package/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017 Michał Pierzchała
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.