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 1.6.5 to 1.6.6

src/abstract.js

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Changelog

## 1.6.6
[ [#f37f978e2](/commit/f37f978e2c614d3eb9df001bd059a056ff1b6952) ]
Fixed problem with fieldsArray: fields were being added even if the keys check was failing
___

@@ -8,0 +14,0 @@ ## 1.6.5

2

package.json
{
"name": "passkit-generator",
"version": "1.6.5",
"version": "1.6.6",
"description": "The easiest way to generate custom Apple Wallet passes in Node.js",

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

@@ -15,2 +15,4 @@ <div align="center">

> **v2.0.0 beta** is now available! It introduces a lot of changes. Check it out in its [new branch](https://github.com/alexandercerutti/passkit-generator/tree/v2.0.0-beta). Also, a [migration guide](https://github.com/alexandercerutti/passkit-generator/wiki/Migrating-from-v1-to-v2) has been made available. Any suggestion is well-accepted. Thank you!
### Architecture

@@ -17,0 +19,0 @@

@@ -29,9 +29,9 @@ const schema = require("./schema");

if (acc.some(e => e.key === current.key) || this[poolSymbol].has(current.key)) {
debug(`Field with key "${key}" discarded: fields must be unique in pass scope.`);
}
if (this[poolSymbol].has(current.key)) {
debug(`Field with key "${current.key}" discarded: fields must be unique in pass scope.`);
} else {
this[poolSymbol].add(current.key);
acc.push(current);
}
this[poolSymbol].add(current.key)
acc.push(current)
return acc;

@@ -38,0 +38,0 @@ }, []);

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