New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@microsoft/mgt-element

Package Overview
Dependencies
Maintainers
2
Versions
836
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/mgt-element - npm Package Compare versions

Comparing version

to
2.2.0-preview.95603a4

2

dist/es6/components/templatedComponent.d.ts

@@ -17,2 +17,4 @@ /**

* @extends {MgtBaseComponent}
*
* @fires templateRendered - fires when a template is rendered
*/

@@ -19,0 +21,0 @@ export declare abstract class MgtTemplatedComponent extends MgtBaseComponent {

@@ -18,2 +18,4 @@ /**

* @extends {MgtBaseComponent}
*
* @fires templateRendered - fires when a template is rendered
*/

@@ -20,0 +22,0 @@ export class MgtTemplatedComponent extends MgtBaseComponent {

@@ -130,2 +130,5 @@ /**

}
else if (r.headers['Content-Type'].includes('image/pjpeg')) {
response.content = 'data:image/pjpeg;base64,' + r.body;
}
else {

@@ -132,0 +135,0 @@ response.content = r.body;

2

package.json
{
"name": "@microsoft/mgt-element",
"version": "2.2.0-preview.94da467",
"version": "2.2.0-preview.95603a4",
"description": "Microsoft Graph Toolkit base classes",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/microsoftgraph/microsoft-graph-toolkit",

@@ -38,2 +38,4 @@ /**

* @extends {MgtBaseComponent}
*
* @fires templateRendered - fires when a template is rendered
*/

@@ -40,0 +42,0 @@ export abstract class MgtTemplatedComponent extends MgtBaseComponent {

@@ -190,2 +190,4 @@ /**

response.content = 'data:image/jpeg;base64,' + r.body;
} else if (r.headers['Content-Type'].includes('image/pjpeg')) {
response.content = 'data:image/pjpeg;base64,' + r.body;
} else {

@@ -192,0 +194,0 @@ response.content = r.body;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet