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

Method deserialize

lib/DependenciesBlock.js:114–120  ·  view source on GitHub ↗

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

({ read })

Source from the content-addressed store, hash-verified

112 * @param {ObjectDeserializerContext} context context
113 */
114 deserialize({ read }) {
115 this.dependencies = read();
116 this.blocks = read();
117 for (const block of this.blocks) {
118 block.parent = this;
119 }
120 }
121}
122
123makeSerializable(DependenciesBlock, "webpack/lib/DependenciesBlock");

Callers

nothing calls this directly

Calls 1

readFunction · 0.50

Tested by

no test coverage detected