Socket
Socket
Sign inDemoInstall

@metamask/snaps-registry

Package Overview
Dependencies
Maintainers
12
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/snaps-registry - npm Package Compare versions

Comparing version 3.0.1 to 3.1.0

14

CHANGELOG.md

@@ -9,2 +9,13 @@ # Changelog

## [3.1.0]
### Added
- Add screenshots field ([#505](https://github.com/MetaMask/snaps-registry/pull/505))
### Changed
- Bump @metamask/utils from 8.3.0 to 8.4.0 ([#499](https://github.com/MetaMask/snaps-registry/pull/499))
- Bump @metamask/snaps-controllers from 6.0.2 to 6.0.3 ([#488](https://github.com/MetaMask/snaps-registry/pull/488))
- Bump @metamask/snaps-utils from 7.0.2 to 7.0.3 ([#486](https://github.com/MetaMask/snaps-registry/pull/486))
- Bump @metamask/safe-event-emitter from 3.0.0 to 3.1.1 ([#487](https://github.com/MetaMask/snaps-registry/pull/487))
- Bump @metamask/snaps-sdk from 3.1.0 to 3.1.1 ([#489](https://github.com/MetaMask/snaps-registry/pull/489))
## [3.0.1]

@@ -66,3 +77,4 @@ ### Changed

[Unreleased]: https://github.com/MetaMask/snaps-registry/compare/v3.0.1...HEAD
[Unreleased]: https://github.com/MetaMask/snaps-registry/compare/v3.1.0...HEAD
[3.1.0]: https://github.com/MetaMask/snaps-registry/compare/v3.0.1...v3.1.0
[3.0.1]: https://github.com/MetaMask/snaps-registry/compare/v3.0.0...v3.0.1

@@ -69,0 +81,0 @@ [3.0.0]: https://github.com/MetaMask/snaps-registry/compare/v2.1.1...v3.0.0

@@ -37,2 +37,3 @@ import type { Infer } from 'superstruct';

}>;
export declare const ImagePathStruct: import("superstruct").Struct<string, null>;
export declare const VerifiedSnapStruct: import("superstruct").Struct<{

@@ -72,2 +73,3 @@ id: string;

}[] | undefined;
screenshots?: string[] | undefined;
};

@@ -111,2 +113,3 @@ versions: Record<import("@metamask/utils").SemVerVersion, {

}[] | undefined;
screenshots?: string[] | undefined;
}, {

@@ -171,2 +174,3 @@ name: import("superstruct").Struct<string, null>;

}>>;
screenshots: import("superstruct").Struct<string[] | undefined, import("superstruct").Struct<string, null>>;
}>;

@@ -235,2 +239,3 @@ versions: import("superstruct").Struct<Record<import("@metamask/utils").SemVerVersion, {

}[] | undefined;
screenshots?: string[] | undefined;
};

@@ -290,2 +295,3 @@ versions: Record<import("@metamask/utils").SemVerVersion, {

}[] | undefined;
screenshots?: string[] | undefined;
};

@@ -292,0 +298,0 @@ versions: Record<import("@metamask/utils").SemVerVersion, {

4

dist/index.js

@@ -17,3 +17,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.SnapsRegistryDatabaseStruct = exports.BlockedSnapStruct = exports.BlockReasonStruct = exports.VerifiedSnapStruct = exports.AdditionalSourceCodeStruct = exports.SupportStruct = exports.AuditStruct = exports.AuthorStruct = void 0;
exports.SnapsRegistryDatabaseStruct = exports.BlockedSnapStruct = exports.BlockReasonStruct = exports.VerifiedSnapStruct = exports.ImagePathStruct = exports.AdditionalSourceCodeStruct = exports.SupportStruct = exports.AuditStruct = exports.AuthorStruct = void 0;
const utils_1 = require("@metamask/utils");

@@ -44,2 +44,3 @@ const superstruct_1 = require("superstruct");

});
exports.ImagePathStruct = (0, superstruct_1.pattern)((0, superstruct_1.string)(), /\.\/images\/.*\/\d+\.(?:png|jpe?g)$/u);
exports.VerifiedSnapStruct = (0, superstruct_1.object)({

@@ -70,2 +71,3 @@ id: NpmIdStruct,

additionalSourceCode: (0, superstruct_1.optional)((0, superstruct_1.array)(exports.AdditionalSourceCodeStruct)),
screenshots: (0, superstruct_1.optional)((0, superstruct_1.size)((0, superstruct_1.array)(exports.ImagePathStruct), 3, 3)),
}),

@@ -72,0 +74,0 @@ versions: (0, superstruct_1.record)(utils_1.VersionStruct, VerifiedSnapVersionStruct),

{
"name": "@metamask/snaps-registry",
"version": "3.0.1",
"version": "3.1.0",
"description": "A registry containing metadata about verified and blocked Snaps.",

@@ -62,2 +62,3 @@ "repository": {

"fast-deep-equal": "^3.1.3",
"image-size": "^1.1.1",
"jest": "^28.1.3",

@@ -64,0 +65,0 @@ "jest-it-up": "^2.0.2",

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