Socket
Socket
Sign inDemoInstall

nodehandler-json

Package Overview
Dependencies
Maintainers
8
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodehandler-json - npm Package Compare versions

Comparing version 1.1.1 to 1.2.4

4

dist/json.js
'use strict';
exports = module.exports = {
stringify(req, cb) {
stringify: function stringify(req, cb) {
cb.next(null, JSON.stringify(req.params.value, null, req.params.space || 0));
},
parse(req, cb) {
parse: function parse(req, cb) {
try {

@@ -9,0 +9,0 @@ cb.next(null, JSON.parse(req.params.json));

{
"name": "nodehandler-json",
"description": "Axway Flow Engine JSON node.",
"version": "1.1.1",
"author": {
"name": "Axway",
"email": "support@axway.com",
"url": "https://axway.com"
},
"bugs": {
"url": "https://axway.com"
},
"keywords": [
"axway",
"apibuilder",
"flow",
"node",
"json"
],
"license": "SEE LICENCE IN LICENCE",
"files": [
"dist",
"json.svg",
"README.md",
"LICENCE"
],
"main": "dist/index.js",
"dependencies": {
"axway-flow-sdk": "^1.0.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.1",
"babel-preset-env": "^1.6.0",
"chai": "^4.1.2",
"cross-env": "^5.0.5",
"eslint": "4.3.0",
"eslint-config-axway-base": "^2.0.0-0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-mocha": "^4.11.0",
"mocha": "^4.0.0",
"nsp": "^2.8.1",
"nyc": "^11.2.1",
"retire": "^1.4.0",
"rimraf": "^2.6.2"
},
"scripts": {
"build": "npm run build:dev && npm run security",
"build:dev": "npm run build:lint && npm run test && npm run build:dist",
"build:lint": "eslint .",
"build:dist": "babel -d ./dist ./src",
"test": "rimraf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary node_modules/mocha/bin/mocha --require babel-register ./test --recursive -R spec",
"test:debug": "mocha --require babel-register --inspect --debug-brk",
"release:major": "npm version major && npm run release:publish && git push --follow-tags",
"release:minor": "npm version minor && npm run release:publish && git push --follow-tags",
"release:patch": "npm version patch && npm run release:publish && git push --follow-tags",
"release:prerelease": "npm version prerelease && npm run release:publish && git push --follow-tags",
"release:publish": "git add -A && git push && git push --tags && npm publish",
"release:npm": "curl -X GET http://registry.ecd.axway.int:8081/artifactory/local-npm/$npm_package_name/-/$npm_package_name-$npm_package_version.tgz 2>/dev/null > $npm_package_name-$npm_package_version.tgz && npm publish --registry https://registry.npmjs.org ./$npm_package_name-$npm_package_version.tgz && rm ./$npm_package_name-$npm_package_version.tgz",
"security": "npm run security:retire && npm run security:nsp",
"security:retire": "retire --exitwith 0 --package --outputformat json --outputpath scan-retire.json",
"security:nsp": "nsp check --output json > scan-nsp.json"
}
"name": "nodehandler-json",
"version": "1.2.4",
"description": "Axway Flow Engine JSON node.",
"homepage": "https://platform.axway.com",
"author": {
"name": "Axway",
"email": "support@axway.com",
"url": "https://axway.com"
},
"bugs": {
"url": "https://axway.com"
},
"license": "SEE LICENCE IN LICENSE",
"keywords": [
"amplify",
"api-builder",
"flow",
"node",
"json"
],
"engines": {
"node": ">= 8.9"
},
"main": "dist/index.js",
"files": [
"dist",
"json.svg",
"README.md",
"LICENSE"
],
"dependencies": {
"axway-flow-sdk": "1.2.4"
},
"repository": {
"type": "git",
"url": "https://git.ecd.axway.int/amplify/api-builder"
},
"scripts": {
"build": "npm run clean && npm run build:dev && npm run check:dependencies",
"build:dev": "npm run build:lint && npm run test && npm run build:dist",
"build:dist": "babel -d ./dist ./src",
"build:lint": "eslint .",
"clean": "shx rm -rf coverage .nyc_output",
"test": "shx rm -rf coverage .nyc-output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --recursive -R spec",
"test:watch": "npm test -- --watch",
"test:debug": "mocha --inspect --debug-brk",
"posttest": "nyc check-coverage --lines 80 --branches 80 --functions 80",
"check:dependencies": "npm run check:used && npm run check:unused",
"check:used": "dependency-check ./package.json",
"check:unused": "dependency-check ./package.json --unused --no-dev -i deep-equal"
}
}

@@ -27,3 +27,3 @@ # nodehandler-json

1. Go to [platform.axway.com](https://platform.appcelerator.com) and create an account
1. Go to [platform.axway.com](https://platform.axway.com) and create an account
1. Install [API Builder](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder.html)

@@ -30,0 +30,0 @@ 1. Follow the [Getting Started Guide](https://docs.axway.com/bundle/API_Builder_allOS_en/page/api_builder_getting_started_guide.html)

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