File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 5
5
6
6
import { isEqual } from "./gleam.mjs" ;
7
7
8
- const referenceMap = new WeakMap ( ) ;
9
- const tempDataView = new DataView ( new ArrayBuffer ( 8 ) ) ;
8
+ const referenceMap = /* @__PURE__ */ new WeakMap ( ) ;
9
+ const tempDataView = /* @__PURE__ */ new DataView (
10
+ /* @__PURE__ */ new ArrayBuffer ( 8 ) ,
11
+ ) ;
10
12
let referenceUID = 0 ;
11
13
/**
12
14
* hash the object by reference using a weak map and incrementing uid
@@ -988,4 +990,4 @@ export default class Dict {
988
990
989
991
// This is thrown internally in Dict.equals() so that it returns false as soon
990
992
// as a non-matching key is found
991
- const unequalDictSymbol = Symbol ( ) ;
993
+ const unequalDictSymbol = /* @__PURE__ */ Symbol ( ) ;
Original file line number Diff line number Diff line change @@ -302,8 +302,10 @@ const unicode_whitespaces = [
302
302
"\u2029" , // Paragraph separator
303
303
] . join ( "" ) ;
304
304
305
- const trim_start_regex = new RegExp ( `^[${ unicode_whitespaces } ]*` ) ;
306
- const trim_end_regex = new RegExp ( `[${ unicode_whitespaces } ]*$` ) ;
305
+ const trim_start_regex = /* @__PURE__ */ new RegExp (
306
+ `^[${ unicode_whitespaces } ]*` ,
307
+ ) ;
308
+ const trim_end_regex = /* @__PURE__ */ new RegExp ( `[${ unicode_whitespaces } ]*$` ) ;
307
309
308
310
export function trim_start ( string ) {
309
311
return string . replace ( trim_start_regex , "" ) ;
You can’t perform that action at this time.
0 commit comments