Comparing version 2.1.1 to 2.1.2
{ | ||
"name": "rox-node", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "Rollout.io ROX JS SDK Node", | ||
@@ -40,3 +40,3 @@ "author": "Rollout.io <support@rollout.io>", | ||
"ROX": { | ||
"api_version": "1.4.0" | ||
"api_version": "1.5.0" | ||
}, | ||
@@ -46,5 +46,6 @@ "main": "dist/rox-node.js", | ||
"dependencies": { | ||
"rox-base": "^2.1.1" | ||
"rox-base": "^2.1.2" | ||
}, | ||
"devDependencies": { | ||
"babel-eslint": "^8.2.2", | ||
"babel-loader": "^7.1.1", | ||
@@ -58,2 +59,3 @@ "babel-plugin-transform-class-properties": "^6.24.1", | ||
"rollup": "^0.50.0", | ||
"rollup-plugin-babel": "^3.0.3", | ||
"rollup-plugin-commonjs": "^8.2.6", | ||
@@ -63,10 +65,16 @@ "rollup-plugin-json": "^2.3.0", | ||
"supertest": "^3.0.0", | ||
"uglifyjs-webpack-plugin": "1.0.0-beta.2", | ||
"uglifyjs-webpack-plugin": "^1.2.3", | ||
"webpack": "^3.5.5" | ||
}, | ||
"jest": { | ||
"moduleFileExtensions": ["js"], | ||
"moduleDirectories": ["node_modules"], | ||
"transformIgnorePatterns": ["/node_modules/(?!rox-base).+\\.js$"] | ||
"moduleFileExtensions": [ | ||
"js" | ||
], | ||
"moduleDirectories": [ | ||
"node_modules" | ||
], | ||
"transformIgnorePatterns": [ | ||
"/node_modules/(?!rox-base).+\\.js$" | ||
] | ||
} | ||
} |
@@ -0,4 +1,5 @@ | ||
import resolve from 'rollup-plugin-node-resolve'; | ||
import babel from 'rollup-plugin-babel'; | ||
import commonjs from 'rollup-plugin-commonjs'; | ||
import json from 'rollup-plugin-json'; | ||
import commonjs from 'rollup-plugin-commonjs'; | ||
import resolve from 'rollup-plugin-node-resolve'; | ||
@@ -16,5 +17,8 @@ export default { | ||
}), | ||
babel({ | ||
include: ['../*/src/lib/**', 'src/lib/**'] | ||
}), | ||
commonjs({ | ||
namedExports: { | ||
axios: ['get'] | ||
axios: ['get', 'post'] | ||
} | ||
@@ -21,0 +25,0 @@ }), |
@@ -6,2 +6,3 @@ import RoxBase from 'rox-base'; | ||
import RoxCache from './RoxCache'; | ||
import RoxCrypto from './RoxCrypto'; | ||
@@ -14,3 +15,4 @@ const { createRoxClient } = RoxBase; | ||
DefaultSetupOptions, | ||
cacheService: RoxCache | ||
RoxCache, | ||
RoxCrypto | ||
}); |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
261123
25
7392
14
16
Updatedrox-base@^2.1.2