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

frack-settings

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

frack-settings - npm Package Compare versions

Comparing version 0.1.11-2 to 0.1.11-4

2

dist/frack-settings.js

@@ -1,2 +0,2 @@

var e,n=(e=require("deepmerge"))&&"object"==typeof e&&"default"in e?e.default:e,t=require("fs"),o=require("path"),r={appMode:"development",redisPort:6380,redisCacheSsr:!0,redisCacheSsrTtl:200,redisCacheProxy:2e5,accessLogs:!0,errorLogs:!0,perfLogs:!0,baseUrl:"http://localhost:8888",apiEndpointGraphql:"http://localhost:8888/graphql",apiEndpointRestBase:"http://localhost:8888/api/",jenkinsDeployAllbranchJob:"project-name-allbranch",jenkinsDeployAllbranchToken:"jenkins-token",jenkinsDeployStagingJob:"project-name-staging",jenkinsDeployStagingToken:"jenkins-token",jenkinsDeployProductionToken:"jenkins-token",jenkinsDeployProductionJob:"project-name-production",serverPort:8888,clientDevserverPort:9331,disableSsr:!1,clientPublicPath:"./public",serverBundleOutputPath:"./build/server",clientBundleOutputPath:"./build/client",clientBundleAssetsFilename:"assets.json",clientBundleChunkManifestFilename:"manifest.json",clientBundleHttpPath:"/client/",clientBundleCacheMaxage:"365d"},i={common:r},s=function(e){return function(n){return e in n}},a=s("common"),c=s("development"),l=s("production");exports.defaultSettings=r,exports.frackSettings=function(){var e=function(){var e=o.join(process.cwd(),".frackrc.js");if(!t.existsSync(e))throw new Error("File .frackrc.js not found on path "+e);var r=require(e);if(!("object"==typeof r&&a(r)&&c(r)&&l(r)))throw new Error("File .frackrc.js containing application settings was not found.");return i=n(i,r)}(),r=process.env.APP_ENV||"development";return function(e,n){if("object"!=typeof e)throw new Error("Settings should be object instead of "+typeof e);if(-1===Object.keys(e).indexOf(n))throw new Error("Enviroment variable APP_ENV with value "+n+"\n doesn't match any app enviroment section in .frackrc.js")}(e,r),n(e.common,e[r])};
var e,n=(e=require("deepmerge"))&&"object"==typeof e&&"default"in e?e.default:e,t=require("fs"),o=require("path"),r={appMode:"development",redisPort:6380,redisCacheSsr:!0,redisCacheSsrTtl:200,redisCacheProxy:2e5,accessLogs:!0,errorLogs:!0,perfLogs:!0,baseUrl:"http://localhost:8888",apiEndpointGraphql:"http://localhost:8888/graphql",apiEndpointRestBase:"http://localhost:8888/api/",jenkinsDeployAllbranchJob:"project-name-allbranch",jenkinsDeployAllbranchToken:"jenkins-token",jenkinsDeployStagingJob:"project-name-staging",jenkinsDeployStagingToken:"jenkins-token",jenkinsDeployProductionToken:"jenkins-token",jenkinsDeployProductionJob:"project-name-production",serverPort:8888,clientDevserverPort:9331,disableSsr:!1,clientPublicPath:"./public",serverBundleOutputPath:"./build/server",clientBundleOutputPath:"./build/client",clientBundleAssetsFilename:"assets.json",clientBundleChunkManifestFilename:"manifest.json",clientBundleHttpPath:"/client/",clientBundleCacheMaxage:"365d"},i={common:r},s=function(e){return function(n){return e in n}},a=s("common"),c=s("development"),l=s("production"),p="function"==typeof __webpack_require__?__non_webpack_require__:require;exports.defaultSettings=r,exports.frackSettings=function(){var e=function(){var e=o.join(process.cwd(),".frackrc.js");if(!t.existsSync(e))throw new Error("File .frackrc.js not found on path "+e);var r=p(e);if(!("object"==typeof r&&a(r)&&c(r)&&l(r)))throw new Error("File .frackrc.js containing application settings was not found.");return i=n(i,r)}(),r=process.env.APP_ENV||"development";return function(e,n){if("object"!=typeof e)throw new Error("Settings should be object instead of "+typeof e);if(-1===Object.keys(e).indexOf(n))throw new Error("Enviroment variable APP_ENV with value "+n+"\n doesn't match any app enviroment section in .frackrc.js")}(e,r),n(e.common,e[r])};
//# sourceMappingURL=frack-settings.js.map

@@ -1,2 +0,2 @@

import e from"deepmerge";import{existsSync as n}from"fs";import{join as t}from"path";var o={appMode:"development",redisPort:6380,redisCacheSsr:!0,redisCacheSsrTtl:200,redisCacheProxy:2e5,accessLogs:!0,errorLogs:!0,perfLogs:!0,baseUrl:"http://localhost:8888",apiEndpointGraphql:"http://localhost:8888/graphql",apiEndpointRestBase:"http://localhost:8888/api/",jenkinsDeployAllbranchJob:"project-name-allbranch",jenkinsDeployAllbranchToken:"jenkins-token",jenkinsDeployStagingJob:"project-name-staging",jenkinsDeployStagingToken:"jenkins-token",jenkinsDeployProductionToken:"jenkins-token",jenkinsDeployProductionJob:"project-name-production",serverPort:8888,clientDevserverPort:9331,disableSsr:!1,clientPublicPath:"./public",serverBundleOutputPath:"./build/server",clientBundleOutputPath:"./build/client",clientBundleAssetsFilename:"assets.json",clientBundleChunkManifestFilename:"manifest.json",clientBundleHttpPath:"/client/",clientBundleCacheMaxage:"365d"},r={common:o},i=function(e){return function(n){return e in n}},s=i("common"),a=i("development"),c=i("production");function l(){var o=function(){var o=t(process.cwd(),".frackrc.js");if(!n(o))throw new Error("File .frackrc.js not found on path "+o);var i=require(o);if(!("object"==typeof i&&s(i)&&a(i)&&c(i)))throw new Error("File .frackrc.js containing application settings was not found.");return r=e(r,i)}(),i=process.env.APP_ENV||"development";return function(e,n){if("object"!=typeof e)throw new Error("Settings should be object instead of "+typeof e);if(-1===Object.keys(e).indexOf(n))throw new Error("Enviroment variable APP_ENV with value "+n+"\n doesn't match any app enviroment section in .frackrc.js")}(o,i),e(o.common,o[i])}export{o as defaultSettings,l as frackSettings};
import e from"deepmerge";import{existsSync as n}from"fs";import{join as t}from"path";var o={appMode:"development",redisPort:6380,redisCacheSsr:!0,redisCacheSsrTtl:200,redisCacheProxy:2e5,accessLogs:!0,errorLogs:!0,perfLogs:!0,baseUrl:"http://localhost:8888",apiEndpointGraphql:"http://localhost:8888/graphql",apiEndpointRestBase:"http://localhost:8888/api/",jenkinsDeployAllbranchJob:"project-name-allbranch",jenkinsDeployAllbranchToken:"jenkins-token",jenkinsDeployStagingJob:"project-name-staging",jenkinsDeployStagingToken:"jenkins-token",jenkinsDeployProductionToken:"jenkins-token",jenkinsDeployProductionJob:"project-name-production",serverPort:8888,clientDevserverPort:9331,disableSsr:!1,clientPublicPath:"./public",serverBundleOutputPath:"./build/server",clientBundleOutputPath:"./build/client",clientBundleAssetsFilename:"assets.json",clientBundleChunkManifestFilename:"manifest.json",clientBundleHttpPath:"/client/",clientBundleCacheMaxage:"365d"},r={common:o},i=function(e){return function(n){return e in n}},a=i("common"),s=i("development"),c=i("production"),l="function"==typeof __webpack_require__?__non_webpack_require__:require;function p(){var o=function(){var o=t(process.cwd(),".frackrc.js");if(!n(o))throw new Error("File .frackrc.js not found on path "+o);var i=l(o);if(!("object"==typeof i&&a(i)&&s(i)&&c(i)))throw new Error("File .frackrc.js containing application settings was not found.");return r=e(r,i)}(),i=process.env.APP_ENV||"development";return function(e,n){if("object"!=typeof e)throw new Error("Settings should be object instead of "+typeof e);if(-1===Object.keys(e).indexOf(n))throw new Error("Enviroment variable APP_ENV with value "+n+"\n doesn't match any app enviroment section in .frackrc.js")}(o,i),e(o.common,o[i])}export{o as defaultSettings,p as frackSettings};
//# sourceMappingURL=frack-settings.m.js.map

@@ -1,2 +0,2 @@

import e from"deepmerge";import{existsSync as n}from"fs";import{join as t}from"path";var o={appMode:"development",redisPort:6380,redisCacheSsr:!0,redisCacheSsrTtl:200,redisCacheProxy:2e5,accessLogs:!0,errorLogs:!0,perfLogs:!0,baseUrl:"http://localhost:8888",apiEndpointGraphql:"http://localhost:8888/graphql",apiEndpointRestBase:"http://localhost:8888/api/",jenkinsDeployAllbranchJob:"project-name-allbranch",jenkinsDeployAllbranchToken:"jenkins-token",jenkinsDeployStagingJob:"project-name-staging",jenkinsDeployStagingToken:"jenkins-token",jenkinsDeployProductionToken:"jenkins-token",jenkinsDeployProductionJob:"project-name-production",serverPort:8888,clientDevserverPort:9331,disableSsr:!1,clientPublicPath:"./public",serverBundleOutputPath:"./build/server",clientBundleOutputPath:"./build/client",clientBundleAssetsFilename:"assets.json",clientBundleChunkManifestFilename:"manifest.json",clientBundleHttpPath:"/client/",clientBundleCacheMaxage:"365d"},r={common:o},i=function(e){return function(n){return e in n}},s=i("common"),a=i("development"),c=i("production");function l(){var o=function(){var o=t(process.cwd(),".frackrc.js");if(!n(o))throw new Error("File .frackrc.js not found on path "+o);var i=require(o);if(!("object"==typeof i&&s(i)&&a(i)&&c(i)))throw new Error("File .frackrc.js containing application settings was not found.");return r=e(r,i)}(),i=process.env.APP_ENV||"development";return function(e,n){if("object"!=typeof e)throw new Error("Settings should be object instead of "+typeof e);if(-1===Object.keys(e).indexOf(n))throw new Error("Enviroment variable APP_ENV with value "+n+"\n doesn't match any app enviroment section in .frackrc.js")}(o,i),e(o.common,o[i])}export{o as defaultSettings,l as frackSettings};
import e from"deepmerge";import{existsSync as n}from"fs";import{join as t}from"path";var o={appMode:"development",redisPort:6380,redisCacheSsr:!0,redisCacheSsrTtl:200,redisCacheProxy:2e5,accessLogs:!0,errorLogs:!0,perfLogs:!0,baseUrl:"http://localhost:8888",apiEndpointGraphql:"http://localhost:8888/graphql",apiEndpointRestBase:"http://localhost:8888/api/",jenkinsDeployAllbranchJob:"project-name-allbranch",jenkinsDeployAllbranchToken:"jenkins-token",jenkinsDeployStagingJob:"project-name-staging",jenkinsDeployStagingToken:"jenkins-token",jenkinsDeployProductionToken:"jenkins-token",jenkinsDeployProductionJob:"project-name-production",serverPort:8888,clientDevserverPort:9331,disableSsr:!1,clientPublicPath:"./public",serverBundleOutputPath:"./build/server",clientBundleOutputPath:"./build/client",clientBundleAssetsFilename:"assets.json",clientBundleChunkManifestFilename:"manifest.json",clientBundleHttpPath:"/client/",clientBundleCacheMaxage:"365d"},r={common:o},i=function(e){return function(n){return e in n}},a=i("common"),s=i("development"),c=i("production"),l="function"==typeof __webpack_require__?__non_webpack_require__:require;function p(){var o=function(){var o=t(process.cwd(),".frackrc.js");if(!n(o))throw new Error("File .frackrc.js not found on path "+o);var i=l(o);if(!("object"==typeof i&&a(i)&&s(i)&&c(i)))throw new Error("File .frackrc.js containing application settings was not found.");return r=e(r,i)}(),i=process.env.APP_ENV||"development";return function(e,n){if("object"!=typeof e)throw new Error("Settings should be object instead of "+typeof e);if(-1===Object.keys(e).indexOf(n))throw new Error("Enviroment variable APP_ENV with value "+n+"\n doesn't match any app enviroment section in .frackrc.js")}(o,i),e(o.common,o[i])}export{o as defaultSettings,p as frackSettings};
//# sourceMappingURL=frack-settings.modern.js.map

@@ -1,2 +0,2 @@

!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("deepmerge"),require("fs"),require("path")):"function"==typeof define&&define.amd?define(["exports","deepmerge","fs","path"],n):n((e=e||self).frackSettings={},e.deepmerge,e.fs,e.path)}(this,function(e,n,t,o){n=n&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n;var r={appMode:"development",redisPort:6380,redisCacheSsr:!0,redisCacheSsrTtl:200,redisCacheProxy:2e5,accessLogs:!0,errorLogs:!0,perfLogs:!0,baseUrl:"http://localhost:8888",apiEndpointGraphql:"http://localhost:8888/graphql",apiEndpointRestBase:"http://localhost:8888/api/",jenkinsDeployAllbranchJob:"project-name-allbranch",jenkinsDeployAllbranchToken:"jenkins-token",jenkinsDeployStagingJob:"project-name-staging",jenkinsDeployStagingToken:"jenkins-token",jenkinsDeployProductionToken:"jenkins-token",jenkinsDeployProductionJob:"project-name-production",serverPort:8888,clientDevserverPort:9331,disableSsr:!1,clientPublicPath:"./public",serverBundleOutputPath:"./build/server",clientBundleOutputPath:"./build/client",clientBundleAssetsFilename:"assets.json",clientBundleChunkManifestFilename:"manifest.json",clientBundleHttpPath:"/client/",clientBundleCacheMaxage:"365d"},i={common:r},s=function(e){return function(n){return e in n}},a=s("common"),c=s("development"),l=s("production");e.defaultSettings=r,e.frackSettings=function(){var e=function(){var e=o.join(process.cwd(),".frackrc.js");if(!t.existsSync(e))throw new Error("File .frackrc.js not found on path "+e);var r=require(e);if(!("object"==typeof r&&a(r)&&c(r)&&l(r)))throw new Error("File .frackrc.js containing application settings was not found.");return i=n(i,r)}(),r=process.env.APP_ENV||"development";return function(e,n){if("object"!=typeof e)throw new Error("Settings should be object instead of "+typeof e);if(-1===Object.keys(e).indexOf(n))throw new Error("Enviroment variable APP_ENV with value "+n+"\n doesn't match any app enviroment section in .frackrc.js")}(e,r),n(e.common,e[r])}});
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("deepmerge"),require("fs"),require("path")):"function"==typeof define&&define.amd?define(["exports","deepmerge","fs","path"],n):n((e=e||self).frackSettings={},e.deepmerge,e.fs,e.path)}(this,function(e,n,t,o){n=n&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n;var r={appMode:"development",redisPort:6380,redisCacheSsr:!0,redisCacheSsrTtl:200,redisCacheProxy:2e5,accessLogs:!0,errorLogs:!0,perfLogs:!0,baseUrl:"http://localhost:8888",apiEndpointGraphql:"http://localhost:8888/graphql",apiEndpointRestBase:"http://localhost:8888/api/",jenkinsDeployAllbranchJob:"project-name-allbranch",jenkinsDeployAllbranchToken:"jenkins-token",jenkinsDeployStagingJob:"project-name-staging",jenkinsDeployStagingToken:"jenkins-token",jenkinsDeployProductionToken:"jenkins-token",jenkinsDeployProductionJob:"project-name-production",serverPort:8888,clientDevserverPort:9331,disableSsr:!1,clientPublicPath:"./public",serverBundleOutputPath:"./build/server",clientBundleOutputPath:"./build/client",clientBundleAssetsFilename:"assets.json",clientBundleChunkManifestFilename:"manifest.json",clientBundleHttpPath:"/client/",clientBundleCacheMaxage:"365d"},i={common:r},s=function(e){return function(n){return e in n}},a=s("common"),c=s("development"),l=s("production"),p="function"==typeof __webpack_require__?__non_webpack_require__:require;e.defaultSettings=r,e.frackSettings=function(){var e=function(){var e=o.join(process.cwd(),".frackrc.js");if(!t.existsSync(e))throw new Error("File .frackrc.js not found on path "+e);var r=p(e);if(!("object"==typeof r&&a(r)&&c(r)&&l(r)))throw new Error("File .frackrc.js containing application settings was not found.");return i=n(i,r)}(),r=process.env.APP_ENV||"development";return function(e,n){if("object"!=typeof e)throw new Error("Settings should be object instead of "+typeof e);if(-1===Object.keys(e).indexOf(n))throw new Error("Enviroment variable APP_ENV with value "+n+"\n doesn't match any app enviroment section in .frackrc.js")}(e,r),n(e.common,e[r])}});
//# sourceMappingURL=frack-settings.umd.js.map
{
"name": "frack-settings",
"version": "0.1.11-2",
"version": "0.1.11-4",
"description": "Settings defaults and runtime loader from rc file",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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