Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

azure-devops-symbols-webpack-plugin

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.6.1 to 1.7.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.7.0",
"tag": "azure-devops-symbols-webpack-plugin_v1.7.0",
"comments": {
"minor": [
{
"author": "dannyvv@microsoft.com",
"package": "azure-devops-symbols-webpack-plugin",
"commit": "af48bc46413b0affc05d4e8497b281a22f6cc7ce",
"comment": "Enable silent option/mode for CLI and webpack plugins"
},
{
"author": "beachball",
"package": "azure-devops-symbols-webpack-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-webpack-plugin_v1.6.1",

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

# Change Log - azure-devops-symbols-webpack-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.7.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.6.1
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;
}

@@ -10,4 +11,6 @@ export declare class AzureDevOpsSymbolsPlugin {

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

@@ -20,7 +20,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) {

@@ -69,3 +76,3 @@ // ensure proper runtime version of webpack is used below

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.

@@ -98,3 +105,3 @@ (0, azure_devops_symbols_sourcemap_1.setClientKeyOnSourceMap)(clientKey, sourceMap);

!this.useEdgePAT) {
console.log(`Adding SourceMap comment to ${asset.name}`);
this.log(`Adding SourceMap comment to ${asset.name}`);
const content = asset.info.related.sourceMapLineToAppend;

@@ -101,0 +108,0 @@ compilation.updateAsset(file, (source) => new webpack.sources.ConcatSource(source, content), undefined);

4

package.json
{
"name": "azure-devops-symbols-webpack-plugin",
"version": "1.6.1",
"version": "1.7.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": "^3.2.3"

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

@@ -16,2 +16,3 @@ // Only use the static one for types, so that we can use the dynamic version of webpack we get from the plugin intialization

useEdgePAT?: boolean;
silent?: boolean;
}

@@ -22,2 +23,3 @@

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

@@ -28,5 +30,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) {

@@ -84,3 +93,3 @@ // ensure proper runtime version of webpack is used below

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

@@ -138,3 +147,3 @@ );

) {
console.log(`Adding SourceMap comment to ${asset.name}`);
this.log(`Adding SourceMap comment to ${asset.name}`);
const content = <string>asset.info.related.sourceMapLineToAppend;

@@ -141,0 +150,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