@luxonis/visualizer-protobuf 2.0.1 → 2.0.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.
@@ -968,6 +968,8 @@ const dart = clike({
968
968
  blockKeywords: words("try catch finally do else for if switch while"),
969
969
  builtin: words("void bool num int double dynamic var String Null Never"),
970
970
  atoms: words("true false null"),
971
+ // clike numbers without the suffixes, and with '_' separators.
972
+ number: /^(?:0x[a-f\d_]+|(?:[\d_]+\.?[\d_]*|\.[\d_]+)(?:e[-+]?[\d_]+)?)/i,
971
973
  hooks: {
972
974
  "@": function(stream) {
973
975
  stream.eatWhile(/[\w\$_\.]/);
@@ -115,10 +115,8 @@ function tokenBaseUntilBrace() {
115
115
 
116
116
  function tokenVariableDeref(stream, state) {
117
117
  var next = stream.match(/^(\.|[\w\$_]+)/);
118
- if (!next) {
119
- state.tokenize.pop();
120
- return state.tokenize[state.tokenize.length-1](stream, state)
121
- }
118
+ if (!next || !stream.match(next[0] == "." ? /^[\w$_]/ : /^\./)) state.tokenize.pop();
119
+ if (!next) return state.tokenize[state.tokenize.length-1](stream, state)
122
120
  return next[0] == "." ? null : "variable"
123
121
  }
124
122
 
@@ -1,4 +1,4 @@
1
- import { aq as styleTags, ar as tags, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aB as foldInside, aH as defineCSSCompletionSource, at as LanguageSupport, av as LRParser, au as ExternalTokenizer } from './index-D_KeDxU5.js';
1
+ import { aq as styleTags, ar as tags, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aB as foldInside, aH as defineCSSCompletionSource, at as LanguageSupport, av as LRParser, au as ExternalTokenizer } from './index-B68UDyAv.js';
2
2
  import './worker-utils-BNThsbdN.js';
3
3
  import 'hydrated-ws';
4
4
  import 'ms';
@@ -17,6 +17,7 @@ import 'react/jsx-runtime';
17
17
  import 'react-dom';
18
18
  import 'react-syntax-highlighter/dist/esm/styles/prism';
19
19
  import 'react-syntax-highlighter';
20
+ import 'rehype-sanitize';
20
21
  import 'extend';
21
22
  import 'react-icons';
22
23
  import '@pandacss/dev';