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

@metamask-previews/base-controller

Package Overview
Dependencies
Maintainers
2
Versions
533
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask-previews/base-controller - npm Package Compare versions

Comparing version 3.2.3-preview.7cc5454 to 3.2.3-preview.7f750b2

8

dist/BaseController.js

@@ -85,5 +85,5 @@ "use strict";

: Object.assign(this.internalConfig, config);
for (const key in this.internalConfig) {
if (typeof this.internalConfig[key] !== 'undefined') {
this[key] = this.internalConfig[key];
for (const [key, value] of Object.entries(this.internalConfig)) {
if (value !== undefined) {
this[key] = value;
}

@@ -93,3 +93,3 @@ }

else {
for (const key in config) {
for (const key of Object.keys(config)) {
/* istanbul ignore else */

@@ -96,0 +96,0 @@ if (typeof this.internalConfig[key] !== 'undefined') {

{
"name": "@metamask-previews/base-controller",
"version": "3.2.3-preview.7cc5454",
"version": "3.2.3-preview.7f750b2",
"description": "Provides scaffolding for controllers as well a communication system for all controllers",

@@ -36,3 +36,3 @@ "keywords": [

"devDependencies": {
"@metamask/auto-changelog": "^3.1.0",
"@metamask/auto-changelog": "^3.4.2",
"@types/jest": "^27.4.1",

@@ -39,0 +39,0 @@ "@types/sinon": "^9.0.10",

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