fix: VIP session-status stale token; add missing API routes (popups, jiahao, update-config, /api/version)

This commit is contained in:
Stevenma
2026-05-10 17:28:14 +08:00
parent e711e1329d
commit 111e61431b
2151 changed files with 900047 additions and 109 deletions

15
node_modules/object-inspect/test/has.js generated vendored Normal file
View File

@@ -0,0 +1,15 @@
'use strict';
var inspect = require('../');
var test = require('tape');
var mockProperty = require('mock-property');
test('when Object#hasOwnProperty is deleted', function (t) {
t.plan(1);
var arr = [1, , 3]; // eslint-disable-line no-sparse-arrays
t.teardown(mockProperty(Array.prototype, 1, { value: 2 })); // this is needed to account for "in" vs "hasOwnProperty"
t.teardown(mockProperty(Object.prototype, 'hasOwnProperty', { 'delete': true }));
t.equal(inspect(arr), '[ 1, , 3 ]');
});