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

@apollosproject/config

Package Overview
Dependencies
Maintainers
3
Versions
449
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apollosproject/config - npm Package Compare versions

Comparing version 1.2.0-beta.2 to 1.2.0-beta.3

3

lib/__tests__/yaml-load.tests.js

@@ -15,2 +15,3 @@ "use strict";

process.env.CONTENT_ID_FROM_ENV = 10;
process.env.AN_ARRAY_OF_STRINGS = '["APPROVED", "DENIED"]';

@@ -33,2 +34,2 @@ _index.default.loadYaml({

});
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9fX3Rlc3RzX18veWFtbC1sb2FkLnRlc3RzLmpzIl0sIm5hbWVzIjpbImRlc2NyaWJlIiwiaXQiLCJwcm9jZXNzIiwiZW52IiwiUk9DS19UT0tFTiIsIlNPTUVfVkFMVUUiLCJBTk9USEVSX1ZBTFVFIiwiQ09OVEVOVF9JRF9GUk9NX0VOViIsIkFwb2xsb3NDb25maWciLCJsb2FkWWFtbCIsImNvbmZpZ1BhdGgiLCJwYXRoIiwiam9pbiIsIl9fZGlybmFtZSIsImV4cGVjdCIsIlJPQ0siLCJBUElfVE9LRU4iLCJ0b0VxdWFsIiwiY29uZmlnIiwidG9NYXRjaFNuYXBzaG90IiwidG9UaHJvdyIsIkVycm9yIl0sIm1hcHBpbmdzIjoiOztBQUFBOztBQUNBOzs7O0FBRUFBLFFBQVEsQ0FBQyxpQkFBRCxFQUFvQixNQUFNO0FBQ2hDQyxFQUFBQSxFQUFFLENBQUMsaUNBQUQsRUFBb0MsTUFBTTtBQUMxQ0MsSUFBQUEsT0FBTyxDQUFDQyxHQUFSLENBQVlDLFVBQVosR0FBeUIsaUJBQXpCO0FBQ0FGLElBQUFBLE9BQU8sQ0FBQ0MsR0FBUixDQUFZRSxVQUFaLEdBQX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ztcbiAgICBwcm9jZXNzLmVudi5BTk9USEVSX1ZBTFVFID0gJ3RoaXMgaXMgYW5vdGhlciB2YWx1ZSc7XG4gICAgcHJvY2Vzcy5lbnYuQ09OVEVOVF9JRF9GUk9NX0VOViA9IDEwO1xuICAgIHByb2Nlc3MuZW52LkFOX0FSUkFZX09GX1NUUklOR1MgPSAnW1wiQVBQUk9WRURcIiwgXCJERU5JRURcIl0nO1xuXG4gICAgQXBvbGxvc0NvbmZpZy5sb2FkWWFtbCh7XG4gICAgICBjb25maWdQYXRoOiBwYXRoLmpvaW4oX19kaXJuYW1lLCAndGVzdC55bWwnKSxcbiAgICB9KTtcbiAgICBleHBlY3QoQXBvbGxvc0NvbmZpZy5ST0NLLkFQSV9UT0tFTikudG9FcXVhbChwcm9jZXNzLmVudi5ST0NLX1RPS0VOKTtcbiAgICBleHBlY3QoQXBvbGxvc0NvbmZpZy5jb25maWcpLnRvTWF0Y2hTbmFwc2hvdCgpO1xuICB9KTtcbiAgaXQoJ211c3QgZmFpbCBpZiBubyBjb25maWcgaXMgcHJlc2VudCcsICgpID0+IHtcbiAgICBleHBlY3QoKCkgPT4gQXBvbGxvc0NvbmZpZy5sb2FkWWFtbCh7fSkpLnRvVGhyb3coRXJyb3IpO1xuICB9KTtcbiAgaXQoJ211c3QgZmFpbCBpZiBjb25maWcgcGF0aCBpcyBpbnZhbGlkJywgKCkgPT4ge1xuICAgIGV4cGVjdCgoKSA9PiBBcG9sbG9zQ29uZmlnLmxvYWRZYW1sKHsgY29uZmlnUGF0aDogJy4vZmFrZS55bWwnIH0pKS50b1Rocm93KFxuICAgICAgRXJyb3JcbiAgICApO1xuICB9KTtcbn0pO1xuIl19

@@ -21,3 +21,14 @@ "use strict";

if (typeof value === 'string' && envVariableRegex.test(value)) {
return value.replace(envVariableRegex, (match, p1) => process.env[p1]);
const envVariable = value.replace(envVariableRegex, (match, p1) => process.env[p1]);
try {
// eslint-disable-next-line
if (!isNaN(Number(envVariable))) {
return envVariable;
}
return JSON.parse(envVariable);
} catch (e) {
return envVariable;
}
}

@@ -38,2 +49,2 @@

exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9hdHRhY2gtZW52LXZhcmlhYmxlcy5qcyJdLCJuYW1lcyI6WyJlbnZWYXJpYWJsZVJlZ2V4IiwiZGVlcE9iamVjdE1hcCIsIm9iamVjdCIsIm5ld09iamVjdCIsIk9iamVjdCIsImtleXMiLCJmb3JFYWNoIiwia2V5IiwidmFsdWUiLCJoYW5kbGVWYWx1ZSIsInRlc3QiLCJyZXBsYWNlIiwibWF0Y2giLCJwMSIsInByb2Nlc3MiLCJlbnYiLCJBcnJheSIsImlzQXJyYXkiLCJtYXAiXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLE1BQU1BLGdCQUFnQixHQUFHLFlBQXpCOztBQUVBLFNBQVNDLGFBQVQsQ0FBdUJDLE1BQXZCLEVBQStCO0FBQzdCLFFBQU1DLFNBQVMsR0FBRyxFQUFsQjtBQUNBQyxFQUFBQSxNQUFNLENBQUNDLElBQVAsQ0FBWUgsTUFBWixFQUFvQkksT0FBcEIsQ0FBNkJDLEdBQUQsSUFBUztBQUNuQyxVQUFNQyxLQUFLLEdBQUdOLE1BQU0sQ0FBQ0ssR0FBRCxDQUFwQixDQURtQyxDQUVuQzs7QUFDQUosSUFBQUEsU0FBUyxDQUFDSSxHQUFELENBQVQsR0FBaUJFLFdBQVcsQ0FBQ0QsS0FBRCxDQUE1QjtBQUNELEdBSkQ7QUFLQSxTQUFPTCxTQUFQO0FBQ0Q7O0FBRUQsU0FBU00sV0FBVCxDQUFxQkQsS0FBckIsRUFBNEI7QUFDMUIsTUFBSSxPQUFPQSxLQUFQLEtBQWlCLFFBQWpCLElBQTZCUixnQkFBZ0IsQ0FBQ1UsSUFBakIsQ0FBc0JGLEtBQXRCLENBQWpDLEVBQStEO0FBQzdELFdBQU9BLEtBQUssQ0F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ZS5tYXAoaGFuZGxlVmFsdWUpO1xuICB9XG4gIGlmICh2YWx1ZSAhPSBudWxsICYmIHR5cGVvZiB2YWx1ZSA9PT0gJ29iamVjdCcpIHtcbiAgICByZXR1cm4gZGVlcE9iamVjdE1hcCh2YWx1ZSk7XG4gIH1cbiAgcmV0dXJuIHZhbHVlO1xufVxuXG5leHBvcnQgZGVmYXVsdCBkZWVwT2JqZWN0TWFwO1xuIl19
{
"name": "@apollosproject/config",
"version": "1.2.0-beta.2",
"version": "1.2.0-beta.3",
"homepage": "https://github.com/ApollosProject/apollos-prototype#readme",

@@ -26,3 +26,3 @@ "main": "lib/index.js",

"devDependencies": {
"@apollosproject/babel-preset-apollos": "^1.2.0-beta.2"
"@apollosproject/babel-preset-apollos": "^1.2.0-beta.3"
},

@@ -36,3 +36,3 @@ "dependencies": {

},
"gitHead": "79c803e2472ed3bcada49b12bf1e2df4799a3814"
"gitHead": "dea8a596427e2de29210f26564728809d21704ee"
}
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