monaco-editor-webpack-plugin
Advanced tools
Comparing version 7.0.0 to 7.0.1
@@ -0,0 +0,0 @@ import type * as webpack from 'webpack'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import type { PitchLoaderDefinitionFunction } from 'webpack'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.pitch = void 0; | ||
const loaderUtils = require("loader-utils"); | ||
const pitch = function pitch(remainingRequest) { | ||
const { globals = undefined, pre = [], post = [] } = this.getOptions() || {}; | ||
const { globals = undefined, pre = [], post = [] } = this.query || {}; | ||
// HACK: NamedModulesPlugin overwrites existing modules when requesting the same module via | ||
@@ -13,3 +14,6 @@ // different loaders, so we need to circumvent this by appending a suffix to make the name unique | ||
const stringifyRequest = (request) => { | ||
return JSON.stringify(this.utils.contextify(this.context || this.rootContext, request)); | ||
if (this.utils) { | ||
return JSON.stringify(this.utils.contextify(this.context || this.rootContext, request)); | ||
} | ||
return loaderUtils.stringifyRequest(this, request); | ||
}; | ||
@@ -16,0 +20,0 @@ return [ |
@@ -0,0 +0,0 @@ import type * as webpack from 'webpack'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export interface IWorkerDefinition { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
{ | ||
"name": "monaco-editor-webpack-plugin", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"description": "A webpack plugin for the Monaco Editor", | ||
@@ -46,4 +46,4 @@ "main": "out/index.js", | ||
"dependencies": { | ||
"loader-utils": "^3.2.0" | ||
"loader-utils": "^2.0.2" | ||
} | ||
} |
23796
12
392
+ Addedbig.js@5.2.2(transitive)
+ Addedemojis-list@3.0.0(transitive)
+ Addedjson5@2.2.3(transitive)
+ Addedloader-utils@2.0.4(transitive)
- Removedloader-utils@3.2.2(transitive)
Updatedloader-utils@^2.0.2