Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/local/lib/node_modules/strapi/node_modules/@sailshq/lodash/ drwxr-xr-x | |
| Viewing file: Select action/file-type: /**
* Module dependencies
*/
var assert = require('assert');
var l = require('./');
// Check that lodash is working
assert.equal(typeof l, 'function');
assert.equal(typeof l.map([1,2], function(i){ return i+1;}), 'object');
assert.deepEqual(l.map([1,2], function(i){ return i+1;}), [2,3]);
// Check that it didn't globalize anything.
assert.equal(typeof _, 'undefined');
assert.equal(typeof global._, 'undefined');
assert.equal(typeof process._, 'undefined');
assert.equal(typeof module._, 'undefined');
assert.equal(typeof window, 'undefined');
assert.equal(typeof global.window, 'undefined');
// console.log('-------');
// console.log('typeof _', typeof _);
// console.log('typeof global._', typeof global._);
// console.log('typeof process._', typeof process._);
// console.log('typeof module._', typeof module._);
console.log('ok looks good.');
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0037 ]-- |