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

passkit-generator

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

passkit-generator - npm Package Compare versions

Comparing version 3.1.4 to 3.1.5

10

lib/FieldsArray.js

@@ -46,7 +46,11 @@ "use strict";

let validItems = [];
for (let i = items.length, field; (field = items[--i]);) {
for (const field of items) {
if (!field) {
console.warn(Messages.format(Messages.FIELDS.INVALID, field));
continue;
}
try {
Schemas.assertValidity(Schemas.Field, field, Messages.FIELDS.INVALID);
if (instance[sharedKeysPoolSymbol].has(field.key)) {
throw Messages.format(Messages.FIELDS.REPEATED_KEY, field.key);
throw new TypeError(Messages.format(Messages.FIELDS.REPEATED_KEY, field.key));
}

@@ -57,3 +61,3 @@ instance[sharedKeysPoolSymbol].add(field.key);

catch (err) {
console.warn(err);
console.warn(err.message ? err.message : err);
}

@@ -60,0 +64,0 @@ }

{
"name": "passkit-generator",
"version": "3.1.4",
"version": "3.1.5",
"description": "The easiest way to generate custom Apple Wallet passes in Node.js",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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