Socket
Socket
Sign inDemoInstall

monaco-editor-webpack-plugin

Package Overview
Dependencies
82
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.0.0 to 7.0.1

0

out/index.d.ts

@@ -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';

8

out/loaders/include.js
"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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc