@ellipticltd/aml-utils 0.15.5 → 0.15.6

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 (38) hide show
  1. package/.snyk +12 -0
  2. package/package.json +11 -7
  3. package/.nyc_output/14c71e42-4ce7-487c-be9f-95228038c7ec.json +0 -1
  4. package/.nyc_output/43e358d0-76a0-402c-b32e-26a347513bb4.json +0 -1
  5. package/.nyc_output/470a2eff-bd46-45ef-bfd6-70c01fe4c9b3.json +0 -1
  6. package/.nyc_output/f8c694f5-2b17-4e37-9079-32079e715296.json +0 -1
  7. package/.nyc_output/processinfo/14c71e42-4ce7-487c-be9f-95228038c7ec.json +0 -1
  8. package/.nyc_output/processinfo/43e358d0-76a0-402c-b32e-26a347513bb4.json +0 -1
  9. package/.nyc_output/processinfo/470a2eff-bd46-45ef-bfd6-70c01fe4c9b3.json +0 -1
  10. package/.nyc_output/processinfo/f8c694f5-2b17-4e37-9079-32079e715296.json +0 -1
  11. package/.nyc_output/processinfo/index.json +0 -1
  12. package/coverage/base.css +0 -224
  13. package/coverage/block-navigation.js +0 -79
  14. package/coverage/errors/errors.js.html +0 -228
  15. package/coverage/errors/errors.spec.js.html +0 -180
  16. package/coverage/errors/index.html +0 -110
  17. package/coverage/file-parser/__tests/file-parser.spec.js.html +0 -390
  18. package/coverage/file-parser/__tests/index.html +0 -123
  19. package/coverage/file-parser/__tests/parse-row.spec.js.html +0 -174
  20. package/coverage/file-parser/__tests/sanitize-rows.spec.js.html +0 -333
  21. package/coverage/formatting/formatting.js.html +0 -123
  22. package/coverage/formatting/formatting.spec.js.html +0 -204
  23. package/coverage/formatting/index.html +0 -110
  24. package/coverage/index.html +0 -175
  25. package/coverage/middleware/index.html +0 -97
  26. package/coverage/middleware/middleware.js.html +0 -144
  27. package/coverage/orm-helpers/index.html +0 -110
  28. package/coverage/orm-helpers/ormHelpers.js.html +0 -123
  29. package/coverage/orm-helpers/ormHelpers.spec.js.html +0 -192
  30. package/coverage/prettify.css +0 -1
  31. package/coverage/prettify.js +0 -2
  32. package/coverage/sort-arrow-sprite.png +0 -0
  33. package/coverage/sorter.js +0 -170
  34. package/coverage/types/index.html +0 -97
  35. package/coverage/types/types.js.html +0 -708
  36. package/coverage/validations/index.html +0 -110
  37. package/coverage/validations/validations.js.html +0 -1299
  38. package/coverage/validations/validations.spec.js.html +0 -1536
package/.snyk ADDED
@@ -0,0 +1,12 @@
1
+ # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2
+ version: v1.25.0
3
+ ignore: {}
4
+ # patches apply the minimum changes required to fix a vulnerability
5
+ patch:
6
+ SNYK-JS-LODASH-567746:
7
+ - stellar-sdk > lodash:
8
+ patched: '2022-11-24T10:44:51.115Z'
9
+ - stellar-sdk > stellar-base > lodash:
10
+ patched: '2022-11-24T10:44:51.115Z'
11
+ - stellar-sdk > stellar-base > js-xdr > lodash:
12
+ patched: '2022-11-24T10:44:51.115Z'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ellipticltd/aml-utils",
3
- "version": "0.15.5",
3
+ "version": "0.15.6",
4
4
  "description": "Utilities, helpers, validations, type-checking, etc",
5
5
  "engines": {
6
6
  "node": "10.1.0",
@@ -19,20 +19,23 @@
19
19
  "prepublishOnly": "npm run build",
20
20
  "lint": "./node_modules/.bin/eslint --color 'lib/**/*.{js,ts}' 'test/**/*.js' ",
21
21
  "test": "nyc npm run test:unit && nyc report --reporter=html",
22
- "coverage": "nyc npm run test:unit && nyc report --reporter=lcov --reporter=text-lcov | codecov --pipe"
22
+ "coverage": "nyc npm run test:unit && nyc report --reporter=lcov --reporter=text-lcov | codecov --pipe",
23
+ "prepare": "npm run snyk-protect",
24
+ "snyk-protect": "snyk-protect"
23
25
  },
24
26
  "author": "Adam Joyce <adam@ellipitc.co>",
25
27
  "license": "MIT",
26
28
  "dependencies": {
27
29
  "@zilliqa-js/util": "^0.8.8",
28
- "bitcore-lib": "^8.10.1",
30
+ "bitcore-lib": "^8.22.2",
29
31
  "create-error": "0.3.1",
30
- "lodash": "^4.17.15",
32
+ "lodash": "^4.17.20",
31
33
  "multicoin-address-validator": "^0.5.2",
32
34
  "stellar-sdk": "4.0.2",
33
35
  "type-check": "0.3.2",
34
36
  "validator": "10.10.0",
35
- "web3-utils": "1.0.0"
37
+ "web3-utils": "1.0.0",
38
+ "@snyk/protect": "latest"
36
39
  },
37
40
  "devDependencies": {
38
41
  "@commitlint/cli": "^11.0.0",
@@ -62,5 +65,6 @@
62
65
  "ts-mocha": "^8.0.0",
63
66
  "ts-node": "^9.0.0",
64
67
  "typescript": "^4.0.5"
65
- }
66
- }
68
+ },
69
+ "snyk": true
70
+ }