diff --git a/package.json b/package.json index a92ecf8..daee31f 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "index.js", "type": "module", "scripts": { - "build": "deno build.ts --tagName 1.71.1rc0 > ubo.js", + "build": "deno build.ts --tagName 1.72.1b0 > ubo.js", "test": "node --test" }, "author": { diff --git a/ubo.js b/ubo.js index 3ebe736..fa540ec 100644 --- a/ubo.js +++ b/ubo.js @@ -2181,7 +2181,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -3030,7 +3030,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -3879,7 +3879,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -4728,7 +4728,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -5577,7 +5577,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -6453,7 +6453,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -7329,7 +7329,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -8188,7 +8188,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -9019,7 +9019,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -9848,7 +9848,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -10677,7 +10677,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -11509,7 +11509,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -12391,7 +12391,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -13270,7 +13270,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -14071,7 +14071,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -14904,7 +14904,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -15737,7 +15737,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -16553,7 +16553,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -17286,7 +17286,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -18233,7 +18233,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -19180,7 +19180,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -20124,7 +20124,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -21173,7 +21173,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -22020,7 +22020,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -22784,7 +22784,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { @@ -23758,7 +23758,7 @@ class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) {