cborg 1.9.1 → 1.9.2

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.
@@ -6,7 +6,6 @@ var process = require('process');
6
6
  var path = require('path');
7
7
  var os = require('os');
8
8
  var url = require('url');
9
- require('../lib/bin.js');
10
9
 
11
10
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
12
11
 
@@ -0,0 +1,4 @@
1
+ 'use strict';
2
+
3
+ require('../lib/bin.js');
4
+
@@ -6,7 +6,6 @@ var process = require('process');
6
6
  var path = require('path');
7
7
  var os = require('os');
8
8
  var url = require('url');
9
- require('../lib/bin.js');
10
9
 
11
10
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
12
11
 
@@ -0,0 +1,4 @@
1
+ 'use strict';
2
+
3
+ require('../lib/bin.js');
4
+
@@ -4,7 +4,6 @@ import process from 'process';
4
4
  import path from 'path';
5
5
  import { platform } from 'os';
6
6
  import { fileURLToPath } from 'url';
7
- import bin from '../lib/bin.js';
8
7
  const {assert} = chai;
9
8
  const fixture1JsonString = '{"a":1,"b":[2,3],"smile":"\uD83D\uDE00"}';
10
9
  const fixture1JsonPrettyString = `{
@@ -0,0 +1 @@
1
+ import bin from '../lib/bin.js';
@@ -4,7 +4,6 @@ import process from 'process';
4
4
  import path from 'path';
5
5
  import { platform } from 'os';
6
6
  import { fileURLToPath } from 'url';
7
- import bin from '../lib/bin.js';
8
7
  const {assert} = chai;
9
8
  const fixture1JsonString = '{"a":1,"b":[2,3],"smile":"\uD83D\uDE00"}';
10
9
  const fixture1JsonPrettyString = `{
@@ -0,0 +1 @@
1
+ import bin from '../lib/bin.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cborg",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "Fast CBOR with a focus on strictness",
5
5
  "main": "./cjs/cborg.js",
6
6
  "bin": {
@@ -36,8 +36,8 @@
36
36
  "chai": "^4.3.4",
37
37
  "ipjs": "^5.2.0",
38
38
  "ipld-garbage": "^4.0.10",
39
- "mocha": "^9.1.3",
40
- "polendina": "~2.0.1",
39
+ "mocha": "^10.0.0",
40
+ "polendina": "~3.1.0",
41
41
  "standard": "^17.0.0",
42
42
  "typescript": "~4.6.2"
43
43
  },
@@ -6,8 +6,6 @@ import process from 'process'
6
6
  import path from 'path'
7
7
  import { platform } from 'os'
8
8
  import { fileURLToPath } from 'url'
9
- // included here for ipjs compile tree
10
- import bin from '../lib/bin.js' // eslint-disable-line
11
9
 
12
10
  const { assert } = chai
13
11
 
@@ -0,0 +1,3 @@
1
+ // file included so ipjs will compile ../lib/bin.js
2
+ // this test file is not intended to be run or loaded
3
+ import bin from '../lib/bin.js' // eslint-disable-line