diff-grok 1.0.8

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.
Files changed (136) hide show
  1. package/.eslintrc.json +45 -0
  2. package/.github/scripts/bump-js-api-version.sh +106 -0
  3. package/.github/scripts/check-output.sh +20 -0
  4. package/.github/scripts/iac-cfn-deploy.sh +90 -0
  5. package/.github/scripts/slack_api_request.sh +65 -0
  6. package/.github/scripts/test_package.sh +270 -0
  7. package/.github/workflows/libraries.yaml +305 -0
  8. package/LICENSE +21 -0
  9. package/README.MD +396 -0
  10. package/eslintrc.json +45 -0
  11. package/images/acid-prod.gif +0 -0
  12. package/index.js +6 -0
  13. package/index.js.map +1 -0
  14. package/index.ts +15 -0
  15. package/package.json +45 -0
  16. package/src/examples/basic-use.js +40 -0
  17. package/src/examples/basic-use.js.map +1 -0
  18. package/src/examples/basic-use.ts +44 -0
  19. package/src/examples/check-methods.js +45 -0
  20. package/src/examples/check-methods.js.map +1 -0
  21. package/src/examples/check-methods.ts +62 -0
  22. package/src/examples/corr-probs.js +130 -0
  23. package/src/examples/corr-probs.js.map +1 -0
  24. package/src/examples/corr-probs.ts +151 -0
  25. package/src/examples/cyclic-model.js +100 -0
  26. package/src/examples/cyclic-model.js.map +1 -0
  27. package/src/examples/cyclic-model.ts +110 -0
  28. package/src/examples/e5.js +30 -0
  29. package/src/examples/e5.js.map +1 -0
  30. package/src/examples/e5.ts +29 -0
  31. package/src/examples/hires.js +29 -0
  32. package/src/examples/hires.js.map +1 -0
  33. package/src/examples/hires.ts +29 -0
  34. package/src/examples/index.js +17 -0
  35. package/src/examples/index.js.map +1 -0
  36. package/src/examples/index.ts +18 -0
  37. package/src/examples/model-updates.js +112 -0
  38. package/src/examples/model-updates.js.map +1 -0
  39. package/src/examples/model-updates.ts +122 -0
  40. package/src/examples/orego.js +19 -0
  41. package/src/examples/orego.js.map +1 -0
  42. package/src/examples/orego.ts +19 -0
  43. package/src/examples/pipeline-use.js +87 -0
  44. package/src/examples/pipeline-use.js.map +1 -0
  45. package/src/examples/pipeline-use.ts +98 -0
  46. package/src/examples/pollution.js +110 -0
  47. package/src/examples/pollution.js.map +1 -0
  48. package/src/examples/pollution.ts +110 -0
  49. package/src/examples/robertson.js +14 -0
  50. package/src/examples/robertson.js.map +1 -0
  51. package/src/examples/robertson.ts +13 -0
  52. package/src/examples/scripting.js +31 -0
  53. package/src/examples/scripting.js.map +1 -0
  54. package/src/examples/scripting.ts +36 -0
  55. package/src/examples/vdpol.js +13 -0
  56. package/src/examples/vdpol.js.map +1 -0
  57. package/src/examples/vdpol.ts +12 -0
  58. package/src/pipeline/basic-pipeline-creator.js +21 -0
  59. package/src/pipeline/basic-pipeline-creator.js.map +1 -0
  60. package/src/pipeline/basic-pipeline-creator.ts +24 -0
  61. package/src/pipeline/constants.js +21 -0
  62. package/src/pipeline/constants.js.map +1 -0
  63. package/src/pipeline/constants.ts +21 -0
  64. package/src/pipeline/index.js +8 -0
  65. package/src/pipeline/index.js.map +1 -0
  66. package/src/pipeline/index.ts +7 -0
  67. package/src/pipeline/input.js +45 -0
  68. package/src/pipeline/input.js.map +1 -0
  69. package/src/pipeline/input.ts +55 -0
  70. package/src/pipeline/loops-pipeline-creator.js +107 -0
  71. package/src/pipeline/loops-pipeline-creator.js.map +1 -0
  72. package/src/pipeline/loops-pipeline-creator.ts +138 -0
  73. package/src/pipeline/output.js +146 -0
  74. package/src/pipeline/output.js.map +1 -0
  75. package/src/pipeline/output.ts +196 -0
  76. package/src/pipeline/pipeline-creator.js +10 -0
  77. package/src/pipeline/pipeline-creator.js.map +1 -0
  78. package/src/pipeline/pipeline-creator.ts +16 -0
  79. package/src/pipeline/pipeline.js +71 -0
  80. package/src/pipeline/pipeline.js.map +1 -0
  81. package/src/pipeline/pipeline.ts +104 -0
  82. package/src/pipeline/updates-pipeline-creator.js +98 -0
  83. package/src/pipeline/updates-pipeline-creator.js.map +1 -0
  84. package/src/pipeline/updates-pipeline-creator.ts +125 -0
  85. package/src/scripting-tools/constants.js +53 -0
  86. package/src/scripting-tools/constants.js.map +1 -0
  87. package/src/scripting-tools/constants.ts +51 -0
  88. package/src/scripting-tools/index.js +4 -0
  89. package/src/scripting-tools/index.js.map +1 -0
  90. package/src/scripting-tools/index.ts +7 -0
  91. package/src/scripting-tools/model-error.js +17 -0
  92. package/src/scripting-tools/model-error.js.map +1 -0
  93. package/src/scripting-tools/model-error.ts +19 -0
  94. package/src/scripting-tools/scripting-tools.js +1032 -0
  95. package/src/scripting-tools/scripting-tools.js.map +1 -0
  96. package/src/scripting-tools/scripting-tools.ts +1375 -0
  97. package/src/solver-tools/callbacks/callback-base.js +10 -0
  98. package/src/solver-tools/callbacks/callback-base.js.map +1 -0
  99. package/src/solver-tools/callbacks/callback-base.ts +8 -0
  100. package/src/solver-tools/callbacks/callback-tools.js +14 -0
  101. package/src/solver-tools/callbacks/callback-tools.js.map +1 -0
  102. package/src/solver-tools/callbacks/callback-tools.ts +20 -0
  103. package/src/solver-tools/callbacks/iter-checker-callback.js +16 -0
  104. package/src/solver-tools/callbacks/iter-checker-callback.js.map +1 -0
  105. package/src/solver-tools/callbacks/iter-checker-callback.ts +21 -0
  106. package/src/solver-tools/callbacks/time-checker-callback.js +17 -0
  107. package/src/solver-tools/callbacks/time-checker-callback.js.map +1 -0
  108. package/src/solver-tools/callbacks/time-checker-callback.ts +19 -0
  109. package/src/solver-tools/index.js +6 -0
  110. package/src/solver-tools/index.js.map +1 -0
  111. package/src/solver-tools/index.ts +6 -0
  112. package/src/solver-tools/lin-alg-tools.js +56 -0
  113. package/src/solver-tools/lin-alg-tools.js.map +1 -0
  114. package/src/solver-tools/lin-alg-tools.ts +75 -0
  115. package/src/solver-tools/mrt-method.js +210 -0
  116. package/src/solver-tools/mrt-method.js.map +1 -0
  117. package/src/solver-tools/mrt-method.ts +269 -0
  118. package/src/solver-tools/ros34prw-method.js +257 -0
  119. package/src/solver-tools/ros34prw-method.js.map +1 -0
  120. package/src/solver-tools/ros34prw-method.ts +335 -0
  121. package/src/solver-tools/ros3prw-method.js +233 -0
  122. package/src/solver-tools/ros3prw-method.js.map +1 -0
  123. package/src/solver-tools/ros3prw-method.ts +304 -0
  124. package/src/solver-tools/solver-defs.js +58 -0
  125. package/src/solver-tools/solver-defs.js.map +1 -0
  126. package/src/solver-tools/solver-defs.ts +100 -0
  127. package/src/worker-tools/index.js +3 -0
  128. package/src/worker-tools/index.js.map +1 -0
  129. package/src/worker-tools/index.ts +2 -0
  130. package/src/worker-tools/scripting.js +68 -0
  131. package/src/worker-tools/scripting.js.map +1 -0
  132. package/src/worker-tools/scripting.ts +95 -0
  133. package/src/worker-tools/solving.js +48 -0
  134. package/src/worker-tools/solving.js.map +1 -0
  135. package/src/worker-tools/solving.ts +60 -0
  136. package/tsconfig.json +71 -0
@@ -0,0 +1,305 @@
1
+ name: Libraries
2
+ on:
3
+ workflow_dispatch:
4
+
5
+ push:
6
+ branches:
7
+ - main
8
+ pull_request:
9
+ branches:
10
+ - main
11
+
12
+ jobs:
13
+ common-check:
14
+ name: Common checks
15
+ uses: datagrok-ai/public/.github/workflows/common_check.yaml@master
16
+ with:
17
+ run_trigger: ${{ github.event_name }}
18
+ metadata:
19
+ name: Check changes
20
+ needs: common-check
21
+ runs-on: ubuntu-22.04
22
+ if: needs.common-check.outputs.continue == 'true'
23
+ outputs:
24
+ publish_matrix: ${{ steps.generate-matrix.outputs.publish_matrix }}
25
+ continue: ${{ steps.generate-matrix.outputs.continue }}
26
+ steps:
27
+ - name: Set git fetch depth
28
+ run: |
29
+ if [[ ${{ github.event_name }} != 'pull_request' ]]; then
30
+ echo "FETCH_DEPTH=2" >> "$GITHUB_ENV"
31
+ else
32
+ echo "FETCH_DEPTH=0" >> "$GITHUB_ENV"
33
+ fi
34
+ - name: Checkout
35
+ uses: actions/checkout@v4
36
+ with:
37
+ fetch-depth: ${{ env.FETCH_DEPTH }}
38
+ - name: Generate matrix
39
+ id: generate-matrix
40
+ run: |
41
+ MATRIX_PUBLISH_JSON="["
42
+
43
+
44
+ if [ -f "./package.json" ]; then
45
+ MATRIX_PUBLISH_JSON+="{\"project\": \"ds-tools\""
46
+ current_version="$(jq -r '.version' "./package.json")"
47
+ MATRIX_PUBLISH_JSON+=", \"version\": \"${current_version}\""
48
+
49
+ scripts="$(jq '. | select( has("scripts") == true ).scripts' "./package.json")"
50
+ dependencies="$(jq '(. | select( has("dependencies") == true ).dependencies) * (. | select( has("devDependencies") == true ).devDependencies)' "./package.json")"
51
+
52
+ job_name='Check'
53
+ if [ ! -z "$(jq '. | select( has("build") == true )' <<< "$scripts")" ]; then
54
+ MATRIX_PUBLISH_JSON+=", \"build\": \"build\""
55
+ job_name='Build'
56
+ fi
57
+ if [ ! -z "$(jq '. | select( has("test") == true )' <<< "$scripts")" ]; then
58
+ MATRIX_PUBLISH_JSON+=", \"test\": \"test\""
59
+ job_name='Build, test'
60
+ fi
61
+
62
+ name="$(jq -r .name "./package.json")"
63
+ npm_version="$(curl --retry 3 -s "https://registry.npmjs.org/${name}/${current_version}" | jq -r '.? | select( has("version") == true ).version')"
64
+ unpublished_deps="$(jq -r '. | to_entries | map(select(.value | match("\\.\\./.*")))[] | "\(.key)=\(.value)"' <<<$dependencies | tr '\n' ' ')"
65
+ MATRIX_PUBLISH_JSON+=", \"unpublished_deps\": \"$unpublished_deps\""
66
+ if [[ "${{ github.event_name }}" != "pull_request" ]]; then
67
+ if [[ $npm_version != ${current_version} ]]; then
68
+ if [[ $unpublished_deps == "" ]] && [[ ${{ github.ref }} == 'refs/heads/main' ]]; then
69
+ MATRIX_PUBLISH_JSON+=", \"publish\": \"publish\""
70
+ packages=$(grep -l "$name" packages/*/package.json | awk -F'/' '{printf ("%s ", $2)}' | sort -u)
71
+ MATRIX_PUBLISH_JSON+=", \"packages\": \"$packages\""
72
+ job_name+=' and publish to NPM'
73
+ else
74
+ echo "Library $LIB version ${current_version} has unpublished dependencies: $unpublished_deps"
75
+ echo "::notice title=ds-tools::Version ${current_version} has unpublished dependencies and is not going to be published"
76
+ fi
77
+ else
78
+ echo "Library $LIB version ${current_version} is already published"
79
+ echo "::notice title=ds-tools::Version ${current_version} is already published"
80
+ fi
81
+ else
82
+ echo "It is an actions for PR. Publish will be skipped."
83
+ echo "::notice title=ds-tools::It is an actions for PR. Publish will be skipped."
84
+ fi
85
+
86
+ MATRIX_PUBLISH_JSON+=", \"job_name\": \"${job_name}\""
87
+ MATRIX_PUBLISH_JSON+="}"
88
+ fi
89
+
90
+ MATRIX_PUBLISH_JSON="${MATRIX_PUBLISH_JSON//\}\{/\}, \{}"
91
+ MATRIX_PUBLISH_JSON+="]"
92
+ PUBLISH_JSON="{\"include\": ${MATRIX_PUBLISH_JSON}}"
93
+
94
+ CONTINUE_JOB="no"
95
+ if [[ "${MATRIX_PUBLISH_JSON}" != "[]" ]]; then
96
+ CONTINUE_JOB="yes"
97
+ fi
98
+ echo "continue=${CONTINUE_JOB}" >> $GITHUB_OUTPUT
99
+ echo "publish_matrix=${PUBLISH_JSON}" >> $GITHUB_OUTPUT
100
+
101
+ - name: Output
102
+ run: |
103
+ echo -e "publish_matrix: ${{ steps.generate-matrix.outputs.publish_matrix }}"
104
+ echo -e "continue: ${{ steps.generate-matrix.outputs.continue }}"
105
+
106
+ publish:
107
+ name: "${{ matrix.project }}: ${{ matrix.job_name }}"
108
+ needs: [ metadata, common-check ]
109
+ runs-on: ubuntu-22.04
110
+ strategy:
111
+ fail-fast: false
112
+ matrix: ${{ fromJson(needs.metadata.outputs.publish_matrix) }}
113
+ steps:
114
+ - uses: actions/checkout@v4
115
+ - uses: actions/setup-node@v4
116
+ with:
117
+ node-version: '18.x'
118
+ registry-url: 'https://registry.npmjs.org'
119
+ cache: 'npm'
120
+ cache-dependency-path: |
121
+ ./package-lock.json
122
+ - name: Upgrade npm
123
+ run: npm install -g npm@x
124
+ - name: npm version
125
+ run: npm version
126
+ - name: unpublished dependencies
127
+ if: ${{ matrix.unpublished_deps != '' }}
128
+ run: |
129
+ crnt=$(pwd)
130
+ for dep in $(echo -e ${{ matrix.unpublished_deps }}); do
131
+ cd $(awk -F'=' '{print $2}' <<<$dep)
132
+ unpublished_deps_deep="$(jq -r '. | to_entries | map(select(.value | match("\\.\\./.*")))[] | "\(.key)=\(.value)"' <<<$dependencies | tr '\n' ' ')"
133
+ for dep_deep in $(echo -e ${unpublished_deps_deep}); do
134
+ crnt_deep=$(pwd)
135
+ echo "Install dependencies for $(awk -F'=' '{print $2}' <<<$dep_deep)"
136
+ cd $(awk -F'=' '{print $2}' <<<$dep_deep)
137
+ npm install
138
+ npm run build
139
+ cd $crnt_deep
140
+ done
141
+ echo "Install dependencies for $(awk -F'=' '{print $2}' <<<$dep)"
142
+ npm install
143
+ npm run build
144
+ cd $crnt
145
+ done
146
+
147
+ - name: unpublished dependencies in package-lock.json
148
+ id: package-lock
149
+ if: ${{ matrix.unpublished_deps == '' }}
150
+ run: grep -q '\.\./\.\./' package-lock.json && rm -f package-lock.json || true
151
+
152
+ - name: npm install
153
+ run: npm install
154
+
155
+ - name: npm run build
156
+ run: npm run build
157
+ if: ${{ matrix.build == 'build' }}
158
+ # - id: datagrok-tools
159
+ # run: npm install -g datagrok-tools@latest
160
+ # - run: grok check
161
+ # id: grok_check
162
+ #
163
+ # - run: npm run test
164
+ #
165
+ # if: ${{ matrix.test == 'test' }}
166
+ - name: npm publish
167
+ id: publish
168
+ run: npm publish --access public
169
+ if: matrix.publish == 'publish'
170
+ env:
171
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
172
+
173
+ - name: Get actors slack
174
+ id: actor
175
+ uses: datagrok-ai/public/.github/actions/slack-user-action@master
176
+ with:
177
+ slack-token: ${{ secrets.SLACKBOT_TOKEN }}
178
+ email-mapping: ${{ secrets.EMAIL_SLACK_ID }}
179
+ - name: Get owner email
180
+ run: echo "owner=$(jq -r .author.email package.json)" >> $GITHUB_OUTPUT
181
+ id: owner-email
182
+
183
+ - name: Get owners slack
184
+ id: owner
185
+ uses: datagrok-ai/public/.github/actions/slack-user-action@master
186
+ with:
187
+ slack-token: ${{ secrets.SLACKBOT_TOKEN }}
188
+ emails: ${{ steps.owner-email.outputs.owner }}
189
+ - name: Prepare Slack Message
190
+ id: slack-prepare
191
+ if: steps.publish.outcome == 'success'
192
+ shell: bash
193
+ run: |
194
+ mentions=$(echo -e "${{ steps.actor.outputs.user-ids }}\n${{ steps.owner.outputs.user-ids }}" | sort -u)
195
+ header="Library *${{ matrix.project }}* version *${{ matrix.version }}* published to <https://www.npmjs.com/package/$(jq -r .name "./package.json")/v/${{ matrix.version }}|NPM>\n$(for value in $mentions; do echo -n "<@$value> "; done) FYI"
196
+ echo "SLACK_MESSAGE_HEADER=$header" >> $GITHUB_ENV
197
+ - name: Send to Slack
198
+ id: slack
199
+ if: steps.slack-prepare.outcome == 'success'
200
+ uses: datagrok-ai/public/.github/actions/slack-post-action@master
201
+ with:
202
+ channel: '#build'
203
+ slack-token: ${{ secrets.SLACKBOT_TOKEN }}
204
+ message: ${{ env.SLACK_MESSAGE_HEADER }}
205
+
206
+ # - name: Commit package-lock.json
207
+ # continue-on-error: true
208
+ # if: steps.publish.outcome == 'success' || steps.package-lock.outcome == 'success'
209
+ # run: |
210
+ # if [ -n "$(git status -s ./package-lock.json)" ]; then
211
+ # git config --global user.name 'github-actions[bot]'
212
+ # git config --global user.email 'github-actions[bot]@users.noreply.github.com'
213
+ # git pull
214
+ # git add ./package-lock.json
215
+ # skip_ci=""
216
+ # if [ ${{ github.ref }} == 'refs/heads/main' ]; then
217
+ # skip_ci="[skip ci]"
218
+ # fi
219
+ # git commit -m "GitHub Actions: Update package-lock.json $skip_ci
220
+ #
221
+ # Workflow ${{ github.workflow }} ${{ github.run_number }}
222
+ # https://github.com/datagrok-ai/public/actions/runs/${{ github.run_id }}"
223
+ # count=0
224
+ # retries=10
225
+ # until git push; do
226
+ # exit=$?
227
+ # wait=$((2 ** count))
228
+ # count=$((count + 1))
229
+ # if [ $count -lt "$retries" ]; then
230
+ # echo "Retry $count/$retries exited $exit, retrying 'git push' in $wait seconds..."
231
+ # sleep $wait
232
+ # git pull --rebase
233
+ # else
234
+ # echo "Retry $count/$retries exited $exit, no more retries left for 'git push'."
235
+ # exit $exit
236
+ # fi
237
+ # done
238
+ # fi
239
+ # - name: Check packages
240
+ # if: ${{ matrix.packages != '' }}
241
+ # id: commit
242
+ # run: |
243
+ # name="$(jq -r '.name' "./package.json")"
244
+ # echo "name=$name" >> $GITHUB_OUTPUT
245
+ # author="$(jq -r '.author.email' "./package.json")"
246
+ # echo "author=$author" >> $GITHUB_OUTPUT
247
+ # crnt=$(pwd)
248
+ # git config --global user.name 'github-actions[bot]'
249
+ # git config --global user.email 'github-actions[bot]@users.noreply.github.com'
250
+ # git pull
251
+ # changed=""
252
+ # for package in ${{ matrix.packages }}; do
253
+ # cd packages/$package
254
+ # sed -i -e 's#"${name}": "../../libraries/${{ matrix.project }}"#"${name}": "^${{ matrix.version }}"#g' package.json
255
+ # if [ -n "$(git status -s package.json)" ]; then
256
+ # changed+="$package "
257
+ # npm install
258
+ # git add package.json
259
+ # git add package-lock.json
260
+ # git commit -m "GitHub Actions: Update package $package ${name} dependency
261
+ #
262
+ # Workflow ${{ github.workflow }} ${{ github.run_number }}
263
+ # https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
264
+ # fi
265
+ # cd $crnt
266
+ # done
267
+ # echo "changed=$changed" >> $GITHUB_OUTPUT
268
+ # if [ -n "$(git log @{u}..)" ]; then
269
+ # count=0
270
+ # until git push; do
271
+ # exit=$?
272
+ # wait=$((2 ** count))
273
+ # count=$((count + 1))
274
+ # if [ $count -lt "10" ]; then
275
+ # echo "Retry $count/$retries exited $exit, retrying 'git push' in $wait seconds..."
276
+ # sleep $wait
277
+ # git pull --rebase
278
+ # else
279
+ # echo "Retry $count/$retries exited $exit, no more retries left for 'git push'."
280
+ # exit $exit
281
+ # fi
282
+ # done
283
+ # fi
284
+ - name: Send mail
285
+ if: always() && steps.commit.outcome == 'failure'
286
+ uses: dawidd6/action-send-mail@v3
287
+ with:
288
+ server_address: smtp.mailgun.org
289
+ server_port: 587
290
+ secure: true
291
+ username: ${{ secrets.MAIL_USERNAME }}
292
+ password: ${{ secrets.MAIL_PASSWORD }}
293
+ subject: "Github Actions: Failed update for library ${{ matrix.project }}"
294
+ to: ${{ steps.commit.outputs.author }}
295
+ from: monitoring@grok.datagrok.ai
296
+ body: "Failed to update library ${{ matrix.project }} (${{ steps.commit.outputs.name }}) for packages ${{ steps.commit.outputs.changed }}. Update the dependency manually to version '^${{ needs.version.outputs.current_version }}'\nFailed in Workflow ${{ github.workflow }} ${{ github.run_number }}: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
297
+ reply_to: monitoring@datagrok.ai
298
+ # - name: Slack Failed Notification
299
+ # if: failure()
300
+ # uses: act10ns/slack@v2.1.0
301
+ # with:
302
+ # status: ${{ job.status }}
303
+ # steps: ${{ toJson(steps) }}
304
+ # config: ".github/config/slack.yml"
305
+ # webhook-url: ${{ secrets.SLACK_WEBHOOK_REPORT }}
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Datagrok
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.