hx-ext-amz-content-sha256 1.0.1 → 1.0.3

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 (3) hide show
  1. package/LICENSE +18 -11
  2. package/README.md +1 -1
  3. package/package.json +2 -1
package/LICENSE CHANGED
@@ -1,14 +1,21 @@
1
- BSD Zero Clause License
1
+ MIT License
2
2
 
3
- Copyright (c) 2023, Alexander Petros
3
+ Copyright (c) 2024, Felipe Gené de Faria
4
4
 
5
- Permission to use, copy, modify, and/or distribute this software for any
6
- purpose with or without fee is hereby granted.
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:
7
11
 
8
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9
- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10
- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11
- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12
- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13
- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14
- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
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.
package/README.md CHANGED
@@ -36,7 +36,7 @@ This issue can occur when using Lambda Function URLs behind CloudFront, as expla
36
36
  _Example_:
37
37
 
38
38
  ```html
39
- <script src="unpkg.com/hx-ext-amz-content-sha256@latest/min.js"></script>
39
+ <script defer src="https://unpkg.com/hx-ext-amz-content-sha256/min.js"></script>
40
40
  ```
41
41
 
42
42
  ```html
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "hx-ext-amz-content-sha256",
3
3
  "main": "main.js",
4
- "version": "1.0.1",
4
+ "version": "1.0.3",
5
5
  "scripts": {
6
6
  "lint": "eslint test/ext test",
7
7
  "lint-fix": "eslint test/ext test --fix",
8
8
  "format": "eslint --fix test/ext test",
9
9
  "test": "mocha-chrome test/index.html"
10
10
  },
11
+ "license": "MIT",
11
12
  "repository": {
12
13
  "type": "git",
13
14
  "url": "git+https://github.com/felipegenef/amz-content-sha256.git"