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

@storyous/features

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storyous/features - npm Package Compare versions

Comparing version 1.1.2 to 1.2.0

npm-shrinkwrap.json

8

dist/Features.js

@@ -133,2 +133,3 @@ 'use strict';

/**
* @param {Function} [processFunction]
* @returns {FeatureDefinitions}

@@ -139,3 +140,8 @@ */

key: 'getFeatureDefinitions',
value: function getFeatureDefinitions() {
value: function getFeatureDefinitions(processFunction) {
if (typeof processFunction === 'function') {
return processFunction(this._currentDefinitions);
}
return this._currentDefinitions;

@@ -142,0 +148,0 @@ }

2

package.json
{
"name": "@storyous/features",
"version": "1.1.2",
"version": "1.2.0",
"main": "./dist/index.js",

@@ -5,0 +5,0 @@ "scripts": {

@@ -119,5 +119,11 @@ 'use strict';

/**
* @param {Function} [processFunction]
* @returns {FeatureDefinitions}
*/
getFeatureDefinitions () {
getFeatureDefinitions (processFunction) {
if (typeof processFunction === 'function') {
return processFunction(this._currentDefinitions);
}
return this._currentDefinitions;

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