MCPcopy
hub / github.com/webpack/webpack / get

Method get

lib/json/JsonData.js:36–41  ·  view source on GitHub ↗

* Returns raw JSON data. * @returns {JsonValue | undefined} Raw JSON data

()

Source from the content-addressed store, hash-verified

34 * @returns {JsonValue | undefined} Raw JSON data
35 */
36 get() {
37 if (this._data === undefined && this._buffer !== undefined) {
38 this._data = JSON.parse(this._buffer.toString());
39 }
40 return this._data;
41 }
42
43 /**
44 * Updates the hash with the data contributed by this instance.

Callers 15

getEnabledTypesFunction · 0.45
getEnabledTypesFunction · 0.45
applyMethod · 0.45
renderStartupMethod · 0.45
renderModuleContentMethod · 0.45
embedInRuntimeBailoutMethod · 0.45
_parseOptionsCachedMethod · 0.45
serializeFunction · 0.45
keyMethod · 0.45
getCachedKeysFunction · 0.45
getSerializerForMethod · 0.45
getDeserializerForMethod · 0.45

Calls 2

parseMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected