apply suggestions from code review
This commit is contained in:
12
.cspell.json
12
.cspell.json
@@ -47,17 +47,5 @@
|
|||||||
"mixins",
|
"mixins",
|
||||||
"Explorerdmg",
|
"Explorerdmg",
|
||||||
"heapsnapshot",
|
"heapsnapshot",
|
||||||
"noconflict",
|
|
||||||
"sparkplugb",
|
|
||||||
"protojson",
|
|
||||||
"protobuf",
|
|
||||||
"tahu",
|
|
||||||
"Protobufs",
|
|
||||||
"propertyset",
|
|
||||||
"datatypes",
|
|
||||||
"ldelim",
|
|
||||||
"propertysets",
|
|
||||||
"protoc",
|
|
||||||
"cirruslink"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,7 +45,6 @@ class ValueRenderer extends React.Component<Props, State> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const str = Base64Message.toUnicodeString(msg)
|
const str = Base64Message.toUnicodeString(msg)
|
||||||
|
|
||||||
try {
|
try {
|
||||||
JSON.parse(str)
|
JSON.parse(str)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
@@ -71,17 +71,6 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
test: /\.proto$/,
|
|
||||||
use: [
|
|
||||||
{
|
|
||||||
loader: 'file-loader',
|
|
||||||
options: {
|
|
||||||
esModule: false,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
]
|
|
||||||
},
|
|
||||||
// {
|
// {
|
||||||
// test: /\.node$/,
|
// test: /\.node$/,
|
||||||
// use: {
|
// use: {
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
import { Base64 } from 'js-base64'
|
import { Base64 } from 'js-base64'
|
||||||
import { Decoder } from './Decoder'
|
import { Decoder } from './Decoder'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user