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

rox-base

Package Overview
Dependencies
Maintainers
6
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rox-base - npm Package Compare versions

Comparing version 4.3.1 to 4.4.0

src/lib/DynamicProperties.js

2

package.json
{
"name": "rox-base",
"version": "4.3.1",
"version": "4.4.0",
"description": "Rollout.io ROX JS SDK Base",

@@ -5,0 +5,0 @@ "author": "Rollout.io <support@rollout.io>",

@@ -18,3 +18,3 @@ import { BugsnagReporter, RoxLogger, ClassRegister, ConfigurationFetcher } from './';

import IsEnabled from './InternalFlags';
import { setDynamicPropertyHandler } from './DynamicProperties';
import deboucne from 'lodash/debounce';

@@ -245,2 +245,6 @@ import { FetcherStatus } from './FetcherResults';

}
setDynamicCustomPropertyRule(handler) {
setDynamicPropertyHandler(handler);
}
}

@@ -247,0 +251,0 @@

@@ -7,2 +7,3 @@ import TargetGroupRepository from '../repositories/TargetGroupRepository';

import md5Module from 'md5';
import { DynamicPropertiesHandler } from './DynamicProperties';

@@ -214,3 +215,4 @@ function _versionCompare(v1, v2, options = { zeroExtend: true, lexicographical: true }) {

if (!prop) {
return undefined;
const handler = DynamicPropertiesHandler && DynamicPropertiesHandler();
return handler ? handler(propName, context) : undefined;
} else {

@@ -217,0 +219,0 @@ return prop.getValue(context);

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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