文件操作 - class-registry.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/superjson/dist/class-registry.js
编辑文件内容
import { Registry } from './registry.js'; export class ClassRegistry extends Registry { constructor() { super(c => c.name); this.classToAllowedProps = new Map(); } register(value, options) { if (typeof options === 'object') { if (options.allowProps) { this.classToAllowedProps.set(value, options.allowProps); } super.register(value, options.identifier); } else { super.register(value, options); } } getAllowedProps(value) { return this.classToAllowedProps.get(value); } } //# sourceMappingURL=class-registry.js.map
修改文件时间
将文件时间修改为当前时间的前一年
删除文件