文件操作 - index.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/own-keys/index.js
编辑文件内容
'use strict'; var GetIntrinsic = require('get-intrinsic'); var safePushApply = require('safe-push-apply'); var $ownKeys = GetIntrinsic('%Reflect.ownKeys%', true); var $gOPN = GetIntrinsic('%Object.getOwnPropertyNames%', true); var $gOPS = GetIntrinsic('%Object.getOwnPropertySymbols%', true); var keys = require('object-keys'); /** @type {import('.')} */ module.exports = $ownKeys || function ownKeys(source) { /** @type {(keyof typeof source)[]} */ var sourceKeys = ($gOPN || keys)(source); if ($gOPS) { safePushApply(sourceKeys, $gOPS(source)); } return sourceKeys; };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件