We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af7c2cf commit c66afa9Copy full SHA for c66afa9
tests/test.js
@@ -1,7 +1,6 @@
1
-//var inspector = require('inspector'); inspector.open(9330, null, true); debugger
2
import * as msgpackr from '../index.js'
3
import chai from 'chai'
4
-//import('./test.mjs')
+//import inspector from 'inspector'; inspector.open(9330, null, true); debugger
5
import sampleData from './example4.json'
6
function tryRequire(module) {
7
try {
@@ -20,7 +19,6 @@ var pack = msgpackr.pack
20
19
var DECIMAL_FIT = msgpackr.FLOAT32_OPTIONS.DECIMAL_FIT
21
22
var addExtension = msgpackr.addExtension
23
-
24
var zlib = tryRequire('zlib')
25
var deflateSync = zlib.deflateSync
26
var inflateSync = zlib.inflateSync
0 commit comments