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

resolve-account

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

resolve-account - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

6

dist/index.js

@@ -20,3 +20,3 @@ (function (root, factory) {

var SOURCE = 'library';
var VERSION = '0.0.4';
var VERSION = '0.0.5';

@@ -126,6 +126,8 @@ function ResolveAccount(options) {

account.roles = account.roles || {};
account.roles.betaTester = account.plan.id === defaultPlanId ? false : account.roles.betaTester === true || account.roles.betaTester === 'true';
// account.roles.betaTester = account.plan.id === defaultPlanId ? false : account.roles.betaTester === true || account.roles.betaTester === 'true';
account.roles.betaTester = account.roles.betaTester === true || account.roles.betaTester === 'true';
account.roles.developer = account.roles.developer === true || account.roles.developer === 'true';
account.roles.admin = account.roles.admin === true || account.roles.admin === 'true';
account.roles.vip = account.roles.vip === true || account.roles.vip === 'true';
account.roles.og = account.roles.og === true || account.roles.og === 'true';
account.roles.promoExempt = account.roles.promoExempt === true || account.roles.promoExempt === 'true';

@@ -132,0 +134,0 @@

{
"name": "resolve-account",
"version": "0.0.4",
"version": "0.0.5",
"description": "Standardize account JSON structure for projects built under ITW Creative Works",

@@ -8,3 +8,3 @@ "main": "./dist/index.js",

"test": "npm run prepare && ./node_modules/mocha/bin/mocha test/ --recursive --timeout=10000",
"prepare": "node -e 'require(`prepare-package`)'"
"prepare": "node -e 'require(`prepare-package`)()'"
},

@@ -33,4 +33,12 @@ "engines": {

"mocha": "^8.4.0",
"prepare-package": "^0.0.12"
}
}
"prepare-package": "^0.0.16"
},
"allDependencies": {
"mocha": "^8.4.0",
"prepare-package": "^0.0.16"
},
"allDependenciesKeys": [
"mocha",
"prepare-package"
]
}
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