@shuo-li/i18n 1.0.5 → 1.0.6
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.
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/dist/mp/index.cjs +2 -2
- package/dist/mp/index.js +2 -2
- package/dist/native/index.cjs +2 -2
- package/dist/native/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
package/dist/mp/index.cjs
CHANGED
|
@@ -113,9 +113,9 @@ var WxSQLiteAdapter = class {
|
|
|
113
113
|
`SELECT key FROM ${resourceTable(store.name)}
|
|
114
114
|
WHERE key NOT LIKE 'UNLOGIN_%' AND key NOT LIKE '__meta__:%' LIMIT 1`
|
|
115
115
|
);
|
|
116
|
-
if (result.rows.length
|
|
116
|
+
if (result.rows.length === 0) return false;
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return true;
|
|
119
119
|
}
|
|
120
120
|
};
|
|
121
121
|
function rowToRecord(row) {
|
package/dist/mp/index.js
CHANGED
|
@@ -113,9 +113,9 @@ var WxSQLiteAdapter = class {
|
|
|
113
113
|
`SELECT key FROM ${resourceTable(store.name)}
|
|
114
114
|
WHERE key NOT LIKE 'UNLOGIN_%' AND key NOT LIKE '__meta__:%' LIMIT 1`
|
|
115
115
|
);
|
|
116
|
-
if (result.rows.length
|
|
116
|
+
if (result.rows.length === 0) return false;
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return true;
|
|
119
119
|
}
|
|
120
120
|
};
|
|
121
121
|
function rowToRecord(row) {
|
package/dist/native/index.cjs
CHANGED
|
@@ -88,9 +88,9 @@ var SQLiteAdapter = class {
|
|
|
88
88
|
`SELECT key FROM ${resourceTable(store.name)}
|
|
89
89
|
WHERE key NOT LIKE 'UNLOGIN_%' AND key NOT LIKE '__meta__:%' LIMIT 1`
|
|
90
90
|
);
|
|
91
|
-
if (rows.length
|
|
91
|
+
if (rows.length === 0) return false;
|
|
92
92
|
}
|
|
93
|
-
return
|
|
93
|
+
return true;
|
|
94
94
|
}
|
|
95
95
|
};
|
|
96
96
|
function rowToRecord(row) {
|
package/dist/native/index.js
CHANGED
|
@@ -88,9 +88,9 @@ var SQLiteAdapter = class {
|
|
|
88
88
|
`SELECT key FROM ${resourceTable(store.name)}
|
|
89
89
|
WHERE key NOT LIKE 'UNLOGIN_%' AND key NOT LIKE '__meta__:%' LIMIT 1`
|
|
90
90
|
);
|
|
91
|
-
if (rows.length
|
|
91
|
+
if (rows.length === 0) return false;
|
|
92
92
|
}
|
|
93
|
-
return
|
|
93
|
+
return true;
|
|
94
94
|
}
|
|
95
95
|
};
|
|
96
96
|
function rowToRecord(row) {
|