MCPcopy
hub / github.com/webpack/webpack / deserialize

Method deserialize

lib/Module.js:1306–1322  ·  view source on GitHub ↗

* Restores this instance from the provided deserializer context. * @param {ObjectDeserializerContext} context context

(context)

Source from the content-addressed store, hash-verified

1304 * @param {ObjectDeserializerContext} context context
1305 */
1306 deserialize(context) {
1307 const { read } = context;
1308 this.type = read();
1309 this.layer = read();
1310 this.context = read();
1311 this.resolveOptions = read();
1312 this.factoryMeta = read();
1313 this.useSourceMap = read();
1314 this.useSimpleSourceMap = read();
1315 this._warnings = read();
1316 this._errors = read();
1317 this.buildMeta = read();
1318 this.buildInfo = read();
1319 this.presentationalDependencies = read();
1320 this.codeGenerationDependencies = read();
1321 super.deserialize(context);
1322 }
1323
1324 // TODO remove in webpack 6
1325 /**

Calls 1

readFunction · 0.50

Tested by

no test coverage detected