bulltrackers-module 1.0.998 → 1.0.1000

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.
@@ -11,12 +11,12 @@ const { VERIFICATION: VerifCodes } = require('../../../verification/ErrorCodes')
11
11
  describe('Log quota', () => {
12
12
  describe('verification: LOG_QUOTA_EXCEEDED', () => {
13
13
  it('fails dry_run when ctx.log() output exceeds limit', async () => {
14
- // Log lines of ~100 bytes each; 100 lines = 10k bytes > 8192
14
+ // Log lines of ~120 bytes each; 12000 lines ~ 1.4MB > 1MB quota
15
15
  const code = `
16
16
  module.exports = {
17
17
  config: { name: 'LogFlood', skills: ['lib'] },
18
18
  process: (ctx) => {
19
- for (let i = 0; i < 100; i++) {
19
+ for (let i = 0; i < 12000; i++) {
20
20
  ctx.log('line ' + i + ' xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
21
21
  }
22
22
  return { ok: true };
@@ -98,4 +98,4 @@ describe('Log quota', () => {
98
98
  assert.ok(logBuffer.length >= 2);
99
99
  });
100
100
  });
101
- });
101
+ });
@@ -1 +1 @@
1
- const version = 4.0
1
+ const version = 5.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bulltrackers-module",
3
- "version": "1.0.998",
3
+ "version": "1.0.1000",
4
4
  "description": "Helper Functions for Bulltrackers.",
5
5
  "main": "index.js",
6
6
  "files": [