Socket
Socket
Sign inDemoInstall

azure-devops-symbols-webpack4-plugin

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azure-devops-symbols-webpack4-plugin - npm Package Compare versions

Comparing version 1.1.3 to 1.2.0

23

CHANGELOG.json

@@ -5,3 +5,24 @@ {

{
"date": "Wed, 15 Feb 2023 22:22:48 GMT",
"date": "Wed, 17 Jan 2024 21:09:12 GMT",
"version": "1.2.0",
"tag": "azure-devops-symbols-webpack4-plugin_v1.2.0",
"comments": {
"minor": [
{
"author": "dannyvv@microsoft.com",
"package": "azure-devops-symbols-webpack4-plugin",
"commit": "af48bc46413b0affc05d4e8497b281a22f6cc7ce",
"comment": "Enable silent option/mode for CLI and webpack plugins"
},
{
"author": "beachball",
"package": "azure-devops-symbols-webpack4-plugin",
"comment": "Bump azure-devops-symbols-sourcemap to v1.6.0",
"commit": "not available"
}
]
}
},
{
"date": "Wed, 15 Feb 2023 22:22:55 GMT",
"tag": "azure-devops-symbols-webpack4-plugin_v1.1.3",

@@ -8,0 +29,0 @@ "version": "1.1.3",

# Change Log - azure-devops-symbols-webpack4-plugin
This log was last generated on Wed, 15 Feb 2023 22:22:48 GMT and should not be manually modified.
This log was last generated on Wed, 17 Jan 2024 21:09:12 GMT and should not be manually modified.
<!-- Start content -->
## 1.2.0
Wed, 17 Jan 2024 21:09:12 GMT
### Minor changes
- Enable silent option/mode for CLI and webpack plugins (dannyvv@microsoft.com)
- Bump azure-devops-symbols-sourcemap to v1.6.0
## 1.1.3
Wed, 15 Feb 2023 22:22:48 GMT
Wed, 15 Feb 2023 22:22:55 GMT

@@ -11,0 +20,0 @@ ### Patches

@@ -5,2 +5,3 @@ import * as webpackTypes from "webpack";

useEdgePAT?: boolean;
silent?: boolean;
}

@@ -13,4 +14,6 @@ /**

useEdgePAT: boolean;
silent: boolean;
constructor(options?: AzureDevOpsSymbolsPluginOptions);
private log;
apply(compiler: webpackTypes.Compiler): void;
}

@@ -16,7 +16,14 @@ "use strict";

this.useEdgePAT = false;
this.silent = false;
if (options) {
this.organization = options.organization;
this.useEdgePAT = !!options.useEdgePAT;
this.silent = !!options.silent;
}
}
log(...args) {
if (!this.silent) {
console.log(...args);
}
}
apply(compiler) {

@@ -28,3 +35,3 @@ const options = compiler.options;

!options.devtool.includes("source-map")) {
console.log(`${pluginName}: returning since there's no source-map devtool`);
this.log(`${pluginName}: returning since there's no source-map devtool`);
return;

@@ -66,3 +73,3 @@ }

const clientKey = hash.digest("hex");
console.log(`Tagging sourcemap with ${clientKey} to ${asset.name}`);
this.log(`Tagging sourcemap with ${clientKey} to ${asset.name}`);
// Add the sourcemap client id field to the sourcemap json object.

@@ -69,0 +76,0 @@ (0, azure_devops_symbols_sourcemap_1.setClientKeyOnSourceMap)(clientKey, sourceMap);

4

package.json
{
"name": "azure-devops-symbols-webpack4-plugin",
"version": "1.1.3",
"version": "1.2.0",
"license": "MIT",

@@ -16,3 +16,3 @@ "main": "lib/plugin.js",

"dependencies": {
"azure-devops-symbols-sourcemap": "^1.5.0",
"azure-devops-symbols-sourcemap": "^1.6.0",
"webpack-sources": "^2.1.0"

@@ -19,0 +19,0 @@ },

@@ -17,2 +17,3 @@ import * as webpackTypes from "webpack";

useEdgePAT?: boolean;
silent?: boolean;
}

@@ -26,2 +27,3 @@

useEdgePAT: boolean = false;
silent: boolean = false;

@@ -32,5 +34,12 @@ constructor(options?: AzureDevOpsSymbolsPluginOptions) {

this.useEdgePAT = !!options.useEdgePAT;
this.silent = !!options.silent;
}
}
private log(...args: Parameters<Console["log"]>): void {
if (!this.silent) {
console.log(...args);
}
}
apply(compiler: webpackTypes.Compiler) {

@@ -44,3 +53,3 @@ const options = compiler.options;

) {
console.log(
this.log(
`${pluginName}: returning since there's no source-map devtool`

@@ -93,3 +102,3 @@ );

console.log(
this.log(
`Tagging sourcemap with ${clientKey} to ${asset.name}`

@@ -96,0 +105,0 @@ );

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc