@tamtamchik/app-store-receipt-parser 1.0.0 → 1.0.1

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
@@ -19,3 +19,36 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.
22
+
23
+ --- Third Party Licenses
24
+
25
+ Copyright (c) 2014, GMO GlobalSign
26
+ Copyright (c) 2015-2022, Peculiar Ventures
27
+ All rights reserved.
28
+
29
+ Author 2014-2019, Yury Strozhevsky
30
+
31
+ Redistribution and use in source and binary forms, with or without modification,
32
+ are permitted provided that the following conditions are met:
33
+
34
+ * Redistributions of source code must retain the above copyright notice, this
35
+ list of conditions and the following disclaimer.
36
+
37
+ * Redistributions in binary form must reproduce the above copyright notice, this
38
+ list of conditions and the following disclaimer in the documentation and/or
39
+ other materials provided with the distribution.
40
+
41
+ * Neither the name of the copyright holder nor the names of its
42
+ contributors may be used to endorse or promote products derived from
43
+ this software without specific prior written permission.
44
+
45
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
46
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
47
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
48
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
49
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
50
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
51
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
52
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
53
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
54
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/README.md CHANGED
@@ -2,7 +2,9 @@
2
2
 
3
3
  [![Buy Me A Coffee][ico-coffee]][link-coffee]
4
4
  [![Latest Version on NPM][ico-version]][link-npm]
5
- [![CircleCI][ico-circleci]][link-circleci]
5
+ [![Scrutinizer build][ico-scrutinizer-build]][link-scrutinizer]
6
+ [![Scrutinizer quality][ico-scrutinizer-quality]][link-scrutinizer]
7
+ [![Scrutinizer coverage][ico-scrutinizer-coverage]][link-scrutinizer]
6
8
  [![Software License][ico-license]](./LICENSE)
7
9
  [![Total Downloads][ico-downloads]][link-downloads]
8
10
 
@@ -60,13 +62,19 @@ Pull requests are always welcome. If you have bigger changes in mind, please ope
60
62
 
61
63
  Apple Receipt Parser is [MIT licensed](./LICENSE).
62
64
 
65
+ ## Third-Party Licenses
66
+
67
+ This project uses `ASN1.js`, which is licensed under the BSD-3-Clause License. The license text can be found in [LICENSE](./LICENSE).
68
+
63
69
  [ico-coffee]: https://img.shields.io/badge/Buy%20Me%20A-Coffee-%236F4E37.svg?style=flat-square
64
70
  [ico-version]: https://img.shields.io/npm/v/@tamtamchik/app-store-receipt-parser.svg?style=flat-square
65
71
  [ico-license]: https://img.shields.io/npm/l/@tamtamchik/app-store-receipt-parser.svg?style=flat-square
66
72
  [ico-downloads]: https://img.shields.io/npm/dt/@tamtamchik/app-store-receipt-parser.svg?style=flat-square
67
- [ico-circleci]: https://img.shields.io/circleci/build/github/tamtamchik/app-store-receipt-parser.svg?style=flat-square
73
+ [ico-scrutinizer-build]: https://img.shields.io/scrutinizer/build/g/tamtamchik/app-store-receipt-parser/main.svg?style=flat-square
74
+ [ico-scrutinizer-quality]: https://img.shields.io/scrutinizer/quality/g/tamtamchik/app-store-receipt-parser/main.svg?style=flat-square
75
+ [ico-scrutinizer-coverage]: https://img.shields.io/scrutinizer/coverage/g/tamtamchik/app-store-receipt-parser/main.svg?style=flat-square
68
76
 
69
77
  [link-coffee]: https://www.buymeacoffee.com/tamtamchik
70
78
  [link-npm]: https://www.npmjs.com/package/@tamtamchik/app-store-receipt-parser
71
79
  [link-downloads]: https://www.npmjs.com/package/@tamtamchik/app-store-receipt-parser
72
- [link-circleci]: https://app.circleci.com/pipelines/github/tamtamchik/app-store-receipt-parser?branch=main
80
+ [link-scrutinizer]: https://scrutinizer-ci.com/g/tamtamchik/app-store-receipt-parser/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamtamchik/app-store-receipt-parser",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A lightweight TypeScript library for extracting transaction IDs from Apple's ASN.1 encoded receipts.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -34,15 +34,15 @@
34
34
  "asn1js": "3.0.5"
35
35
  },
36
36
  "devDependencies": {
37
- "@types/jest": "29.5.3",
38
- "@types/node": "20.5.1",
39
- "@typescript-eslint/eslint-plugin": "6.4.0",
40
- "@typescript-eslint/parser": "6.4.0",
41
- "eslint": "8.47.0",
42
- "jest": "29.6.2",
37
+ "@types/jest": "29.5.8",
38
+ "@types/node": "20.9.0",
39
+ "@typescript-eslint/eslint-plugin": "6.11.0",
40
+ "@typescript-eslint/parser": "6.11.0",
41
+ "eslint": "8.53.0",
42
+ "jest": "29.7.0",
43
43
  "ts-jest": "29.1.1",
44
44
  "tsup": "7.2.0",
45
- "typescript": "5.1.6"
45
+ "typescript": "5.2.2"
46
46
  },
47
47
  "scripts": {
48
48
  "build": "tsup src/index.ts --format cjs,esm --clean",
package/tsconfig.json ADDED
@@ -0,0 +1,20 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "esnext",
4
+ "module": "esnext",
5
+ "strict": true,
6
+ "esModuleInterop": true,
7
+ "declaration": true,
8
+ "outDir": "./dist",
9
+ "rootDir": "./src",
10
+ "moduleResolution": "node"
11
+ },
12
+ "include": [
13
+ "src/**/*.ts",
14
+ "test/**/*.ts"
15
+ ],
16
+ "exclude": [
17
+ "node_modules",
18
+ "dist"
19
+ ]
20
+ }