Skip to content

Commit 2ecfb8b

Browse files
authored
feat: add the eslint-scope package (#615)
* feat: add the eslint-scope package * chor: fix lint & test scripts * chore: update release-please configs * chore: update issue templates & README * chore: add license meta data * chore: refactor eslint config & remove chai from espree dev dep * chore: rename file to licenses-meta-data.json * chore: apply suggestions
1 parent d68da6d commit 2ecfb8b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+10269
-3
lines changed

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ body:
1111
options:
1212
- label: "`espree`"
1313
required: false
14+
- label: "`eslint-scope`"
15+
required: false
1416
- type: textarea
1517
attributes:
1618
label: Environment

.github/ISSUE_TEMPLATE/change.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ body:
1010
options:
1111
- label: "`espree`"
1212
required: false
13+
- label: "`eslint-scope`"
14+
required: false
1315
- type: textarea
1416
attributes:
1517
label: What problem do you want to solve?

.github/ISSUE_TEMPLATE/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ body:
1010
options:
1111
- label: "`espree`"
1212
required: false
13+
- label: "`eslint-scope`"
14+
required: false
1315
- type: textarea
1416
attributes:
1517
label: What documentation issue do you want to solve?

.github/workflows/release-please.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,29 @@ jobs:
7272
env:
7373
MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }}
7474
MASTODON_HOST: ${{ secrets.MASTODON_HOST }}
75+
76+
#-----------------------------------------------------------------------------
77+
# eslint-scope
78+
#-----------------------------------------------------------------------------
79+
80+
- name: Publish eslint-scope package to npm
81+
run: npm publish -w packages/eslint-scope --provenance
82+
if: ${{ steps.release.outputs['packages/eslint-scope--release_created'] }}
83+
env:
84+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
85+
86+
- name: Tweet Release Announcement
87+
run: npx @humanwhocodes/tweet "eslint-scope v${{ steps.release.outputs['packages/eslint-scope--major'] }}.${{ steps.release.outputs['packages/eslint-scope--minor'] }}.${{ steps.release.outputs['packages/eslint-scope--patch'] }} has been released!\n\n${{ github.event.repository.html_url }}/releases/tag/${{ steps.release.outputs['packages/eslint-scope--tag_name'] }}"
88+
if: ${{ steps.release.outputs['packages/eslint-scope--release_created'] }}
89+
env:
90+
TWITTER_CONSUMER_KEY: ${{ secrets.TWITTER_CONSUMER_KEY }}
91+
TWITTER_CONSUMER_SECRET: ${{ secrets.TWITTER_CONSUMER_SECRET }}
92+
TWITTER_ACCESS_TOKEN_KEY: ${{ secrets.TWITTER_ACCESS_TOKEN_KEY }}
93+
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
94+
95+
- name: Toot Release Announcement
96+
run: npx @humanwhocodes/toot "eslint-scope v${{ steps.release.outputs['packages/eslint-scope--major'] }}.${{ steps.release.outputs['packages/eslint-scope--minor'] }}.${{ steps.release.outputs['packages/eslint-scope--patch'] }} has been released!\n\n${{ github.event.repository.html_url }}/releases/tag/${{ steps.release.outputs['packages/eslint-scope--tag_name'] }}"
97+
if: ${{ steps.release.outputs['packages/eslint-scope--release_created'] }}
98+
env:
99+
MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }}
100+
MASTODON_HOST: ${{ secrets.MASTODON_HOST }}

.release-please-manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"packages/espree": "10.1.0"
2+
"packages/espree": "10.1.0",
3+
"packages/eslint-scope": "8.0.2"
34
}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Monorepo for the JS language tools.
77
This repository is the home of the following packages:
88

99
- [`espree`](packages/espree)
10+
- [`eslint-scope`](packages/eslint-scope)
1011

1112
## Security Policy
1213

eslint.config.js

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import eslintConfigESLint from "eslint-config-eslint";
22
import eslintConfigESLintFormatting from "eslint-config-eslint/formatting";
3+
import eslintPluginChaiFriendly from "eslint-plugin-chai-friendly";
34
import globals from "globals";
45

56
export default [
@@ -14,13 +15,46 @@ export default [
1415
...eslintConfigESLint,
1516
eslintConfigESLintFormatting,
1617
{
17-
files: ["**/tests/lib/**"],
18+
files: ["packages/espree/tests/lib/**"],
1819
languageOptions: {
1920
globals: {
2021
...globals.mocha
2122
}
2223
}
2324
},
25+
{
26+
files: ["packages/eslint-scope/tests/**"],
27+
languageOptions: {
28+
globals: {
29+
...globals.mocha
30+
}
31+
},
32+
plugins: {
33+
"chai-friendly": eslintPluginChaiFriendly
34+
},
35+
rules: {
36+
"no-unused-expressions": "off",
37+
"chai-friendly/no-unused-expressions": "error"
38+
}
39+
},
40+
{
41+
files: ["packages/eslint-scope/lib/**"],
42+
rules: {
43+
"no-underscore-dangle": "off"
44+
}
45+
},
46+
{
47+
files: ["packages/eslint-scope/Makefile.js"],
48+
languageOptions: {
49+
globals: {
50+
...globals.shelljs,
51+
target: false
52+
}
53+
},
54+
rules: {
55+
"no-console": "off"
56+
}
57+
},
2458
{
2559
files: ["**/tools/**"],
2660
rules: {

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"common-tags": "^1.8.2",
2626
"eslint": "^9.4.0",
2727
"eslint-config-eslint": "^11.0.0",
28+
"eslint-plugin-chai-friendly": "^1.0.0",
2829
"globals": "^15.1.0",
2930
"got": "^14.4.1",
3031
"lint-staged": "^15.2.0",

packages/eslint-scope/CHANGELOG.md

Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
# Changelog
2+
3+
## [8.0.2](https://github.com/eslint/eslint-scope/compare/v8.0.1...v8.0.2) (2024-07-08)
4+
5+
6+
### Bug Fixes
7+
8+
* `Definition#name` in catch patterns should be `Identifier` node ([#127](https://github.com/eslint/eslint-scope/issues/127)) ([8082caa](https://github.com/eslint/eslint-scope/commit/8082caa1a0f9aae0894a0a01fef9efa7a5e509f6))
9+
10+
## [8.0.1](https://github.com/eslint/eslint-scope/compare/v8.0.0...v8.0.1) (2024-03-20)
11+
12+
13+
### Documentation
14+
15+
* document Security Policy ([#122](https://github.com/eslint/eslint-scope/issues/122)) ([0d03700](https://github.com/eslint/eslint-scope/commit/0d0370035c3fcd3846bcfed25e2de1c90c204cc8))
16+
17+
18+
### Chores
19+
20+
* switch to eslint flat config ([#121](https://github.com/eslint/eslint-scope/issues/121)) ([59b1606](https://github.com/eslint/eslint-scope/commit/59b160624bd725a1254024bcbbd28b7529c04c64))
21+
* upgrade [email protected], [email protected] ([#119](https://github.com/eslint/eslint-scope/issues/119)) ([6f95a94](https://github.com/eslint/eslint-scope/commit/6f95a9406e321ba519bbf635ebb8b1ae4b8861e7))
22+
23+
## [8.0.0](https://github.com/eslint/eslint-scope/compare/v7.2.2...v8.0.0) (2024-01-04)
24+
25+
26+
### ⚠ BREAKING CHANGES
27+
28+
* use ESTree `directive` property when searching for `"use strict"` ([#118](https://github.com/eslint/eslint-scope/issues/118))
29+
* class `extends` is evaluated in the class scope ([#116](https://github.com/eslint/eslint-scope/issues/116))
30+
* Require Node.js ^18.18.0 || ^20.9.0 || >=21.1.0 ([#115](https://github.com/eslint/eslint-scope/issues/115))
31+
32+
### Features
33+
34+
* Require Node.js ^18.18.0 || ^20.9.0 || >=21.1.0 ([#115](https://github.com/eslint/eslint-scope/issues/115)) ([ed67857](https://github.com/eslint/eslint-scope/commit/ed678573aca7b00815ecb3c5dc4eee913b53a162))
35+
* use ESTree `directive` property when searching for `"use strict"` ([#118](https://github.com/eslint/eslint-scope/issues/118)) ([23fe81f](https://github.com/eslint/eslint-scope/commit/23fe81f5861ade17a2f17f9518fdde376dd2395f))
36+
37+
38+
### Bug Fixes
39+
40+
* class `extends` is evaluated in the class scope ([#116](https://github.com/eslint/eslint-scope/issues/116)) ([42ef7a9](https://github.com/eslint/eslint-scope/commit/42ef7a995771f0700fc6af7eee03bab977f272c6))
41+
42+
43+
### Documentation
44+
45+
* Update README with analyze() options ([#111](https://github.com/eslint/eslint-scope/issues/111)) ([2122fdb](https://github.com/eslint/eslint-scope/commit/2122fdb237cc0c115cd2473f383f741b1f055791)), closes [#110](https://github.com/eslint/eslint-scope/issues/110)
46+
47+
48+
### Chores
49+
50+
* Remove add-to-triage ([#106](https://github.com/eslint/eslint-scope/issues/106)) ([dc75851](https://github.com/eslint/eslint-scope/commit/dc75851b92b47eb37ed617448c0291129db676e1))
51+
* run tests in Node.js 21 ([#109](https://github.com/eslint/eslint-scope/issues/109)) ([957748e](https://github.com/eslint/eslint-scope/commit/957748e7fb741dd23f521af0c124ce6da0848997))
52+
* standardize npm script names ([#105](https://github.com/eslint/eslint-scope/issues/105)) ([115ded3](https://github.com/eslint/eslint-scope/commit/115ded3cb6f768a37f0dcb17bb16e2299849e16f))
53+
54+
## [7.2.2](https://github.com/eslint/eslint-scope/compare/v7.2.1...v7.2.2) (2023-07-27)
55+
56+
57+
### Chores
58+
59+
* Add PRs to triage ([#104](https://github.com/eslint/eslint-scope/issues/104)) ([a4dd888](https://github.com/eslint/eslint-scope/commit/a4dd8884726758ed513210a6b537105a07e8bf70))
60+
* generate provenance statements when release ([#102](https://github.com/eslint/eslint-scope/issues/102)) ([a27ce6b](https://github.com/eslint/eslint-scope/commit/a27ce6bbf70d7ba5af763a4d1650bfd87eee8136))
61+
62+
## [7.2.1](https://github.com/eslint/eslint-scope/compare/v7.2.0...v7.2.1) (2023-05-31)
63+
64+
65+
### Chores
66+
67+
* run tests on Node.js v20 ([#97](https://github.com/eslint/eslint-scope/issues/97)) ([675f7de](https://github.com/eslint/eslint-scope/commit/675f7de78c312546441fa9b204734c26376710f7))
68+
* set up release-please ([#99](https://github.com/eslint/eslint-scope/issues/99)) ([6bc2619](https://github.com/eslint/eslint-scope/commit/6bc2619fff2aa401fe43d3fda60e0c127d2d39a8))
69+
70+
v7.2.0 - April 13, 2023
71+
72+
* [`70c8db1`](https://github.com/eslint/eslint-scope/commit/70c8db16962830f20e27765cd4d1fd0e29b93c08) feat: Add isGlobalReturn method on scopeManager. (#96) (Nicholas C. Zakas)
73+
* [`3dbad80`](https://github.com/eslint/eslint-scope/commit/3dbad80d98e5bb2453423dc3882500a7d76d6259) chore: add triage action (#95) (Milos Djermanovic)
74+
* [`34ffedc`](https://github.com/eslint/eslint-scope/commit/34ffedc9645f3e5bf2111f766931efb0ff33040f) ci: add Node v19 (#94) (Milos Djermanovic)
75+
* [`4c00534`](https://github.com/eslint/eslint-scope/commit/4c005347cd556b4fa97ba0b626decdd0fce95962) ci: update Github actions (#93) (Deepshika S)
76+
* [`6c8ccf2`](https://github.com/eslint/eslint-scope/commit/6c8ccf223952daff78295907316d8d8c1e93cf89) chore: add funding field (#92) (Deepshika S)
77+
* [`a8811b8`](https://github.com/eslint/eslint-scope/commit/a8811b89b93a8b6bb6ac7089d893d5686dabbeb8) build: add node v18 (#91) (唯然)
78+
* [`25abacf`](https://github.com/eslint/eslint-scope/commit/25abacffe690b6141f19d59dc8c0e09599671508) docs: add badges (#89) (Milos Djermanovic)
79+
80+
v7.1.1 - February 11, 2022
81+
82+
* [`8938109`](https://github.com/eslint/eslint-scope/commit/89381090cef60d8d47aeba111e04f859e063ae41) chore: upgrade [email protected] [email protected] (#88) (Milos Djermanovic)
83+
* [`4e1d24c`](https://github.com/eslint/eslint-scope/commit/4e1d24ca4a747c14b37f059543cf08d1e1820b2d) fix: ignore `"use strict"` directives in ES3 (#87) (Milos Djermanovic)
84+
* [`ceb8bdd`](https://github.com/eslint/eslint-scope/commit/ceb8bdd2cc31f67255e37a961096f9e3320abac6) ci: use node v16 (#84) (Nitin Kumar)
85+
* [`62e147b`](https://github.com/eslint/eslint-scope/commit/62e147be60c1eb84a40c1918913755acbc2d3a3d) test: add tests with year-based `ecmaVersion` (#83) (Milos Djermanovic)
86+
87+
v7.1.0 - November 20, 2021
88+
89+
* [`d756f1e`](https://github.com/eslint/eslint-scope/commit/d756f1ea974093c3ed7121d17f858254036b9690) feat: Add sourceType:commonjs support (#81) (Nicholas C. Zakas)
90+
91+
v7.0.0 - November 16, 2021
92+
93+
* [`22a55c0`](https://github.com/eslint/eslint-scope/commit/22a55c01d1a28fd3ffd45c8818b49e65bd3e5005) feat!: support class static blocks (#80) (Milos Djermanovic)
94+
* [`4aafb61`](https://github.com/eslint/eslint-scope/commit/4aafb616212adc39af37064932da912bdc7d9226) build: upgrade eslint-release to v3.2.0 to support conventional commits (#79) (Milos Djermanovic)
95+
* [`263c762`](https://github.com/eslint/eslint-scope/commit/263c762432c5a3995e30fa814d02b0ed358b0e68) Build: add node v17 (#76) (唯然)
96+
97+
v6.0.0 - July 23, 2021
98+
99+
* [`4ee1d80`](https://github.com/eslint/eslint-scope/commit/4ee1d80ce7dab961d9a158bc664d781bb663b570) Fix: Ensure correct version in package (#73) (Nicholas C. Zakas)
100+
* [`82a7e6d`](https://github.com/eslint/eslint-scope/commit/82a7e6d9de8f4fca48e99779e9573dd46adbc18c) Breaking: Switch to ESM (fixes #70) (#71) (Brett Zamir)
101+
* [`0b4a5f1`](https://github.com/eslint/eslint-scope/commit/0b4a5f132fb65520eee31bcd166078656b6e158e) Update: support class fields (refs eslint/eslint#14343) (#69) (Toru Nagashima)
102+
* [`39f8cfc`](https://github.com/eslint/eslint-scope/commit/39f8cfc026d9b9b7c02e07368323350e74698f29) Chore: upgrade estraverse to version 5 (#68) (Rouven Weßling)
103+
* [`ae27ff3`](https://github.com/eslint/eslint-scope/commit/ae27ff3692ab13cf62075b8659f0e17dfa44acd1) Docs: Add range to espree options in README (fixes #66) (#67) (Alan Liang)
104+
105+
v5.1.1 - September 12, 2020
106+
107+
* [`9b528d7`](https://github.com/eslint/eslint-scope/commit/9b528d778c381718c12dabfb7f1c0e0dc6b36e49) Upgrade: esrecurse version to ^4.3.0 (#64) (Timofey Kachalov)
108+
* [`f758bbc`](https://github.com/eslint/eslint-scope/commit/f758bbc3d49b9b9ea2289a5d6a6bba8dcf2c4903) Chore: fix definiton -> definition typo in comments (#63) (Kevin Kirsche)
109+
* [`7513734`](https://github.com/eslint/eslint-scope/commit/751373473375b3f2edc4eaf1c8d2763d8435bb72) Chore: move to GitHub Actions (#62) (Kai Cataldo)
110+
111+
v5.1.0 - June 4, 2020
112+
113+
* [`d4a3764`](https://github.com/eslint/eslint-scope/commit/d4a376434b16289c1a428d7e304576e997520873) Update: support new export syntax (#56) (Toru Nagashima)
114+
115+
v5.0.0 - July 20, 2019
116+
117+
* [`e9fa22e`](https://github.com/eslint/eslint-scope/commit/e9fa22ea412c26cf2761fa98af7e715644bdb464) Upgrade: update dependencies after dropping support for Node <8 (#53) (Kai Cataldo)
118+
* [`ee9f7c1`](https://github.com/eslint/eslint-scope/commit/ee9f7c12721aa195ba7e0e69551f49bfdb479951) Breaking: drop support for Node v6 (#54) (Kai Cataldo)
119+
120+
v4.0.3 - March 15, 2019
121+
122+
* [`299df64`](https://github.com/eslint/eslint-scope/commit/299df64bdafb30b4d9372e4b7af0cf51a3818c4a) Fix: arrow function scope strictness (take 2) (#52) (futpib)
123+
124+
v4.0.2 - March 1, 2019
125+
126+
* [`c925600`](https://github.com/eslint/eslint-scope/commit/c925600a684ae0f71b96f85339437a43b4d50d99) Revert "Fix: Arrow function scope strictness (fixes #49) (#50)" (#51) (Teddy Katz)
127+
128+
v4.0.1 - March 1, 2019
129+
130+
* [`2533966`](https://github.com/eslint/eslint-scope/commit/2533966faf317df5a3847fab937ba462c16808b8) Fix: Arrow function scope strictness (fixes #49) (#50) (futpib)
131+
* [`0cbeea5`](https://github.com/eslint/eslint-scope/commit/0cbeea51dfb66ab88ea34b0e3b4ad5e6cc210f2f) Chore: add supported Node.js versions to CI (#47) (Kai Cataldo)
132+
* [`b423057`](https://github.com/eslint/eslint-scope/commit/b42305760638b8edf4667acf1445e450869bd983) Upgrade: [email protected] (#46) (Teddy Katz)
133+
134+
v4.0.0 - June 21, 2018
135+
136+
137+
138+
v4.0.0-rc.0 - June 9, 2018
139+
140+
* 3b919b8 Build: Adding rc release script to package.json (#38) (Kevin Partington)
141+
* 137732a Chore: avoid creating package-lock.json files (#37) (Teddy Katz)
142+
143+
v4.0.0-alpha.0 - April 27, 2018
144+
145+
* 7cc3769 Upgrade: eslint-release ^0.11.1 (#36) (Teddy Katz)
146+
* c9f6967 Breaking: remove TDZScope (refs eslint/eslint#10245) (#35) (Toru Nagashima)
147+
* 982a71f Fix: wrong resolution about default parameters (#33) (Toru Nagashima)
148+
* 57889f1 Docs: Remove extra header line from LICENSE (#32) (Gyandeep Singh)
149+
150+
v3.7.1 - April 12, 2017
151+
152+
* ced6262 Fix: restore previous Scope API exports from escope (#31) (Vitor Balocco)
153+
* 5c3d966 Fix: Remove and Modify tests that contain invalid ES6 syntax (#29) (Reyad Attiyat)
154+
155+
v3.7.0 - March 17, 2017
156+
157+
* 9e27835 Chore: Add files section to package.json (#24) (Ilya Volodin)
158+
* 3e4d123 Upgrade: eslint-config-eslint to 4.0.0 (#21) (Teddy Katz)
159+
* 38c50fb Chore: Rename src to lib and test to tests (#20) (Corbin Uselton)
160+
* f4cd920 Chore: Remove esprima (#19) (Corbin Uselton)
161+
* f81fad5 Revert "Chore: Remove esprima" (#18) (James Henry)
162+
* 31b0085 Chore: Remove es6-map and es6-weakmap as they are included in node4 (#10) (#13) (Corbin Uselton)
163+
* 12a1ca1 Add Makefile.js and eslint (#15) (Reyad Attiyat)
164+
* 7d23f8e Chore: Remove es6-map and es6-weakmap as they are included in node4 (#10) (Corbin Uselton)
165+
* 019441e Chore: Convert to ES6 that is supported on Node 4, commonjs modules and remove Babel (#14) (Corbin Uselton)
166+
* c647f65 Update: Add check for node.body in referencer (#2) (Corbin Uselton)
167+
* eb5c9db Remove browserify and jsdoc (#12) (Corbin Uselton)
168+
* cf38df0 Chore: Update README.md (#3) (James Henry)
169+
* 8a142ca Chore: Add eslint-release scripts (#6) (James Henry)
170+
* e60d8cb Chore: Remove unused bower.json (#5) (James Henry)
171+
* 049c545 Chore: Fix tests for eslint-scope (#4) (James Henry)
172+
* f026aab Chore: Update package.json for eslint fork (#1) (James Henry)
173+
* a94d281 Chore: Update license with JSF copyright (Nicholas C. Zakas)

packages/eslint-scope/CONTRIBUTING.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## Project license: \<BSD-2-Clause\>
2+
3+
- You will only Submit Contributions where You have authored 100% of the content.
4+
- You will only Submit Contributions to which You have the necessary rights. This means that if You are employed You have received the necessary permissions from Your employer to make the Contributions.
5+
- Whatever content You Contribute will be provided under the Project License.

packages/eslint-scope/LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Copyright JS Foundation and other contributors, https://js.foundation
2+
Copyright (C) 2012-2013 Yusuke Suzuki (twitter: @Constellation) and other contributors.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are met:
6+
7+
* Redistributions of source code must retain the above copyright
8+
notice, this list of conditions and the following disclaimer.
9+
* Redistributions in binary form must reproduce the above copyright
10+
notice, this list of conditions and the following disclaimer in the
11+
documentation and/or other materials provided with the distribution.
12+
13+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
14+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16+
ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
17+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
18+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
19+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
20+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22+
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

0 commit comments

Comments
 (0)