Add barcode-detector-api-polyfill dependency and update environment variable declarations in SvelteKit project
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
export declare function getArrayVal(idxVal: number | number[]): number[];
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
export function getArrayVal(idxVal) {
|
||||
return Array.isArray(idxVal) ? idxVal : [idxVal];
|
||||
}
|
||||
//# sourceMappingURL=getArrayVal.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"getArrayVal.js","sourceRoot":"","sources":["../../../src/helper/getArrayVal.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,WAAW,CAAC,MAAyB;IACnD,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;AACnD,CAAC"}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export declare function getGlobalScope(): any;
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
export function getGlobalScope() {
|
||||
if (typeof global !== 'undefined')
|
||||
return global;
|
||||
if (typeof window !== 'undefined')
|
||||
return window;
|
||||
if (typeof self !== 'undefined')
|
||||
return self;
|
||||
return;
|
||||
}
|
||||
//# sourceMappingURL=getGlobalScope.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"getGlobalScope.js","sourceRoot":"","sources":["../../../src/helper/getGlobalScope.ts"],"names":[],"mappings":"AAGA,MAAM,UAAU,cAAc;IAC5B,IAAI,OAAO,MAAM,KAAK,WAAW;QAAE,OAAO,MAAM,CAAC;IACjD,IAAI,OAAO,MAAM,KAAK,WAAW;QAAE,OAAO,MAAM,CAAC;IACjD,IAAI,OAAO,IAAI,KAAK,WAAW;QAAE,OAAO,IAAI,CAAC;IAC7C,OAAO;AACT,CAAC"}
|
||||
Reference in New Issue
Block a user