@noya-app/noya-utils
Advanced tools
Comparing version 0.0.5 to 0.0.6
# @noya-app/noya-utils | ||
## 0.0.6 | ||
### Patch Changes | ||
- Use globalThis instead of global | ||
## 0.0.5 | ||
@@ -4,0 +10,0 @@ |
@@ -238,3 +238,3 @@ "use strict"; | ||
} | ||
return global.btoa(binary); | ||
return globalThis.btoa(binary); | ||
} | ||
@@ -241,0 +241,0 @@ var Base64 = { |
{ | ||
"name": "@noya-app/noya-utils", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "./dist/index.mjs", |
@@ -6,3 +6,3 @@ import { beforeAll, expect, test } from "bun:test"; | ||
beforeAll(() => { | ||
global.TextEncoder = global.TextEncoder ?? util.TextEncoder; | ||
globalThis.TextEncoder = globalThis.TextEncoder ?? util.TextEncoder; | ||
}); | ||
@@ -9,0 +9,0 @@ |
@@ -24,3 +24,3 @@ // A simple, unoptimized decoder for small images | ||
return global.btoa(binary); | ||
return globalThis.btoa(binary); | ||
} | ||
@@ -27,0 +27,0 @@ |
{ | ||
"compilerOptions": { | ||
"esModuleInterop": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"isolatedModules": true, | ||
"module": "ESNext", | ||
"moduleResolution": "Bundler", | ||
"preserveWatchOutput": true, | ||
"skipLibCheck": true, | ||
"noEmit": true, | ||
"strict": true, | ||
"types": ["bun-types"] | ||
}, | ||
"exclude": ["node_modules"] | ||
"extends": "@repo/typescript-config/library.json" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
207650
3341