@dotenvx/primitives 0.7.0 → 0.7.1

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/dist/index.cjs +3 -0
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -5951,6 +5951,9 @@ var require_encrypted = __commonJS({
5951
5951
  "src/encrypted.js"(exports2, module2) {
5952
5952
  var PREFIX = "encrypted:";
5953
5953
  function encrypted2(value) {
5954
+ if (!value) {
5955
+ return false;
5956
+ }
5954
5957
  return value.startsWith(PREFIX);
5955
5958
  }
5956
5959
  module2.exports = encrypted2;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.7.0",
2
+ "version": "0.7.1",
3
3
  "name": "@dotenvx/primitives",
4
4
  "description": "a secure dotenv–from the creator of `dotenv`",
5
5
  "author": "@motdotla",