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

featurama

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

featurama - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

2

dist/featurama-client-ko.js

@@ -17,3 +17,3 @@ 'use strict';

* @memberof featurama
* @param {Object} featureList Key vaule pairs: `featureName: boolean | function`
* @param {Object} featureList Key value pairs: `featureName: boolean | function`
*/

@@ -20,0 +20,0 @@ function _buildList(featureList) {

{
"name": "featurama",
"version": "0.1.3",
"version": "0.1.4",
"description": "Enable/Disable features via JS config files.",

@@ -5,0 +5,0 @@ "main": "src/featurama.js",

@@ -16,4 +16,4 @@ 'use strict';

expect(fs.writeFile).toHaveBeenCalledWith(path.resolve(__dirname, 'runTimeFlags.js'),
'var featuramaRunTimeFlags = {"bothEnabled": true,"bothEnabledRuntimeFunc": function () { return true; },"buildEnabledRuntimeDisabled": false}');
'var featuramaRunTimeFlags = {"bothEnabled": true,"bothEnabledRuntimeFunc": function () { return true; }};');
});
});

@@ -17,3 +17,3 @@ 'use strict';

* @memberof featurama
* @param {Object} featureList Key vaule pairs: `featureName: boolean | function`
* @param {Object} featureList Key value pairs: `featureName: boolean | function`
*/

@@ -20,0 +20,0 @@ function _buildList(featureList) {

@@ -161,3 +161,3 @@ 'use strict';

runTimeFlags = _.trim(runTimeFlags, ',') + '}';
runTimeFlags = _.trim(runTimeFlags, ',') + '};';
fs.writeFile(path.resolve(outputFolder, 'runTimeFlags.js'), 'var featuramaRunTimeFlags = ' + runTimeFlags);

@@ -164,0 +164,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