@mojaloop/ml-number 11.2.5 → 11.2.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.
@@ -77,7 +77,7 @@ defaults_configure_nvm: &defaults_configure_nvm
77
77
 
78
78
  if [ -f "$NVM_DIR" ]; then
79
79
  echo "==> $NVM_DIR exists. Skipping steps 2-4!"
80
- else
80
+ else
81
81
  echo "==> $NVM_DIR does not exists. Executing steps 2-4!"
82
82
 
83
83
  echo "2. Installing NVM"
@@ -206,8 +206,8 @@ jobs:
206
206
  key: dependency-cache-{{ .Environment.CIRCLE_SHA1 }}
207
207
  - run:
208
208
  # This is needed for legacy core tests. Remove this once 'tape' is fully deprecated.
209
- name: Install tape, tapes and tap-xunit
210
- command: npm install tape tapes tap-xunit
209
+ name: Install tape and tap-xunit
210
+ command: npm install tape tap-xunit
211
211
  - run:
212
212
  name: Create dir for test results
213
213
  command: mkdir -p ./test/results
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- 18.17.1
1
+ 18.20.4
package/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [11.2.6](https://github.com/mojaloop/ml-number/compare/v11.2.5...v11.2.6) (2025-01-24)
6
+
5
7
  ### [11.2.5](https://github.com/mojaloop/ml-number/compare/v11.2.4...v11.2.5) (2025-01-08)
6
8
 
7
9
  ### [11.2.4](https://github.com/mojaloop/ml-number/compare/v11.2.3...v11.2.4) (2024-04-24)
package/CODEOWNERS CHANGED
@@ -6,7 +6,7 @@
6
6
  ## @global-owner1 and @global-owner2 will be requested for
7
7
  ## review when someone opens a pull request.
8
8
  #* @global-owner1 @global-owner2
9
- * @vijayg10 @mdebarros @elnyry-sam-k @lewisdaly
9
+ * @elnyry-sam-k @bushjames @shashi165 @gibaros
10
10
 
11
11
  ## Order is important; the last matching pattern takes the most
12
12
  ## precedence. When someone opens a pull request that only
package/LICENSE.md CHANGED
@@ -1,10 +1,9 @@
1
1
  # LICENSE
2
2
 
3
- Copyright © 2020 Mojaloop Foundation
3
+ Copyright © 2020-2024 Mojaloop Foundation
4
4
 
5
- The Mojaloop files are made available by the Mojaloop Foundation under the Apache License, Version 2.0
6
- (the "License") and you may not use these files except in compliance with the [License](http://www.apache.org/licenses/LICENSE-2.0).
5
+ The Mojaloop files are made available by the Mojaloop Foundation under the Apache License, Version 2.0 (the "License") and you may not use these files except in compliance with the License.
7
6
 
8
- You may obtain a copy of the License at [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
7
+ You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
9
8
 
10
- Unless required by applicable law or agreed to in writing, the Mojaloop files are distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the [License](http://www.apache.org/licenses/LICENSE-2.0).
9
+ Unless required by applicable law or agreed to in writing, the Mojaloop files are distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/ml-number",
3
- "version": "11.2.5",
3
+ "version": "11.2.6",
4
4
  "description": "Mojaloop Number Library implementation that handles decimal processing of amounts/numbers",
5
5
  "author": "ModusBox",
6
6
  "contributors": [
@@ -29,9 +29,9 @@
29
29
  "standard:fix": "npx standard --fix",
30
30
  "lint": "npm run standard",
31
31
  "lint:fix": "npm run standard:fix",
32
- "test:unit": "tapes 'test/unit/**/**.test.js'",
32
+ "test:unit": "tape 'test/unit/**/**.test.js'",
33
33
  "test:xunit": "npm run test:unit | tap-xunit",
34
- "test:coverage": "nyc --reporter=lcov --reporter=text-summary tapes -- 'test/unit/**/**.test.js'",
34
+ "test:coverage": "nyc --reporter=lcov --reporter=text-summary tape -- 'test/unit/**/**.test.js'",
35
35
  "test:coverage-check": "npm run test:coverage && nyc check-coverage",
36
36
  "audit:fix": "npm audit fix",
37
37
  "audit:check": "npx audit-ci --config ./audit-ci.jsonc",
@@ -50,16 +50,15 @@
50
50
  },
51
51
  "devDependencies": {
52
52
  "audit-ci": "^7.1.0",
53
- "eslint": "9.17.0",
53
+ "eslint": "9.18.0",
54
54
  "faucet": "0.0.4",
55
- "npm-check-updates": "17.1.13",
55
+ "npm-check-updates": "17.1.14",
56
56
  "nyc": "17.1.0",
57
57
  "pre-commit": "1.2.2",
58
58
  "standard": "17.1.2",
59
59
  "standard-version": "^9.5.0",
60
60
  "tap-xunit": "2.4.1",
61
- "tape": "5.9.0",
62
- "tapes": "4.1.0"
61
+ "tape": "5.9.0"
63
62
  },
64
63
  "overrides": {
65
64
  "cross-spawn": "7.0.6"
@@ -26,10 +26,10 @@
26
26
  ******/
27
27
  'use strict'
28
28
 
29
- const Test = require('tapes')(require('tape'))
29
+ const test = require('tape')
30
30
  const MLNumber = require('../../src')
31
31
 
32
- Test('MLNumber', mlNumberTest => {
32
+ test('MLNumber', mlNumberTest => {
33
33
  mlNumberTest.test('sumList should add a list of numbers', test => {
34
34
  const sum = new MLNumber().sumList([1, 2, 3])
35
35
  test.equal(sum.toString(), '6')