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

rox-node

Package Overview
Dependencies
Maintainers
6
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rox-node - npm Package Compare versions

Comparing version 2.0.2 to 2.1.0

22

package.json
{
"name": "rox-node",
"version": "2.0.2",
"version": "2.1.0",
"description": "Rollout.io ROX JS SDK Node",

@@ -32,4 +32,4 @@ "author": "Rollout.io <support@rollout.io>",

"debug": "node --inspect-brk=5859 demo/index.js",
"test": "BABEL_ENV=test jest --no-watchman ./src/**",
"test:watch": "BABEL_ENV=test jest ./src/** --watch",
"test": "BABEL_ENV=test jest --no-watchman --testPathPattern ./src/**",
"test:watch": "BABEL_ENV=test jest --testPathPattern ./src/** --watch",
"prebuild": "npm run clean:dist",

@@ -46,3 +46,3 @@ "build": "NODE_ENV=production rollup --config=./rollup.config.js",

"dependencies": {
"rox-base": "^2.0.2"
"rox-base": "^2.1.0"
},

@@ -55,3 +55,3 @@ "devDependencies": {

"eslint": "^4.3.0",
"jest": "^21.2.1",
"jest": "^22.1.2",
"nodemon": "^1.11.0",

@@ -67,12 +67,6 @@ "rollup": "^0.50.0",

"jest": {
"moduleFileExtensions": [
"js"
],
"moduleDirectories": [
"node_modules"
],
"transformIgnorePatterns": [
"/node_modules/(?!rox-base).+\\.js$"
]
"moduleFileExtensions": ["js"],
"moduleDirectories": ["node_modules"],
"transformIgnorePatterns": ["/node_modules/(?!rox-base).+\\.js$"]
}
}

@@ -5,5 +5,6 @@ export const defaultSetupOptions = {

configurationFetchedHandler: function() {},
flagImpressionHandler: null,
impressionHandler: null,
fetchIntervalInSec: 60,
devModeSecret: null
devModeSecret: null,
platform: 'NodeJS'
};

@@ -10,3 +10,3 @@ import RoxBase from 'rox-base';

getProperties() {
const { distinct_id, app_release } = this;
const { distinct_id, app_release, platform } = this;
return {

@@ -20,3 +20,3 @@ app_release,

rollout_build: '100',
platform: 'NodeJS',
platform,
customSigningCertificate: '5659eb0ca47811395ef85f0b09be63b7',

@@ -23,0 +23,0 @@ rollout_disabled_initial_state: '0',

@@ -22,11 +22,11 @@ import RoxBase from 'rox-base';

setStringCustomProperty(key, value) {
setCustomStringProperty(key, value) {
client.setCustomProperty(key, String, value);
}
setNumberCustomProperty(key, value) {
setCustomNumberProperty(key, value) {
client.setCustomProperty(key, Number, value);
}
setBooleanCustomProperty(key, value) {
setCustomBooleanProperty(key, value) {
client.setCustomProperty(key, Boolean, value);

@@ -33,0 +33,0 @@ }

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

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