文件操作 - inherits.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/@babel/types/lib/modifications/inherits.js
编辑文件内容
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = inherits; var _index = require("../constants/index.js"); var _inheritsComments = require("../comments/inheritsComments.js"); function inherits(child, parent) { if (!child || !parent) return child; for (const key of _index.INHERIT_KEYS.optional) { if (child[key] == null) { child[key] = parent[key]; } } for (const key of Object.keys(parent)) { if (key[0] === "_" && key !== "__clone") { child[key] = parent[key]; } } for (const key of _index.INHERIT_KEYS.force) { child[key] = parent[key]; } (0, _inheritsComments.default)(child, parent); return child; } //# sourceMappingURL=inherits.js.map
修改文件时间
将文件时间修改为当前时间的前一年
删除文件