axj-ab_ 1.0.4 → 1.0.5

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.
Files changed (2) hide show
  1. package/index.js +6 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1231,11 +1231,13 @@ try {
1231
1231
  }
1232
1232
 
1233
1233
  try {
1234
- if (globalThis.ab_) {
1235
- ab_ = globalThis.ab_
1234
+ if (globalThis) {
1235
+ if (globalThis.ab_) {
1236
+ ab_ = globalThis.ab_
1236
1237
 
1237
- } else {
1238
- globalThis.ab_ = ab_
1238
+ } else {
1239
+ globalThis.ab_ = ab_
1240
+ }
1239
1241
  }
1240
1242
 
1241
1243
  } catch (e) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "axj-ab_",
3
3
  "type": "commonjs",
4
- "version": "1.0.4",
4
+ "version": "1.0.5",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {