Socket
Socket
Sign inDemoInstall

sap-leonardo

Package Overview
Dependencies
48
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.5 to 0.5.6

4

CHANGELOG.md

@@ -5,2 +5,6 @@ # CHANGELOG

## 0.5.6
- wrong API: Product Image Classification API
- separate src and test
## 0.5.5

@@ -7,0 +11,0 @@ - Inference Service for Customizable Object Detection

2

dist/product_image_classification.js

@@ -26,3 +26,3 @@ "use strict";

};
const url = this.baseUrl + "/ml/imageclassification/classification";
const url = this.baseUrl + "/ml/prodimgclassifier/inference_sync";
request.post({ url, formData, headers }, (err, response, body) => {

@@ -29,0 +29,0 @@ if (err) {

{
"name": "sap-leonardo",
"version": "0.5.5",
"version": "0.5.6",
"description": "NPM module for SAP Leonardo Machine Learning Foundation - Functional Services https://api.sap.com/package/SAPLeonardoMLFunctionalServices",
"main": "dist/index.js",
"scripts": {
"build": "./node_modules/.bin/tsc",
"test": "npm run build && ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- -s 10000 -t 10000 dist/test/test_*.js && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
"lint": "./node_modules/.bin/tslint src/**/*.ts && ./node_modules/.bin/eslint examples/*.js"
"build": "./node_modules/.bin/tsc --sourceMap",
"build-test": "./node_modules/.bin/tsc --build test/tsconfig.json",
"build-all": "npm run build && npm run build-test",
"test": "npm run build-all && ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- -s 10000 -t 10000 dist/test/test_*.js && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
"coverage": "npm run build-all && ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report html -- -s 10000 -t 10000 dist/test/test_*.js",
"lint": "./node_modules/.bin/tslint src/*.ts && ./node_modules/.bin/tslint test/*.ts && ./node_modules/.bin/eslint examples/*.js",
"prepack": "rm -r dist; ./node_modules/.bin/tsc"
},

@@ -50,4 +54,4 @@ "author": "Lars Gregori <github@larsgregori.de>",

"coveralls": "^3.0.2",
"eslint": "^5.7.0",
"istanbul": "^0.4.5",
"eslint": "^5.8.0",
"istanbul": "^1.1.0-alpha.1",
"mocha": "^5.2.0",

@@ -54,0 +58,0 @@ "ts-node": "^7.0.1",

@@ -28,3 +28,3 @@ # SAP Leonardo Machine Learning Foundation - Functional Services

```javascript
const leonardo = require('sap-leonardo');
const leonardo = require("sap-leonardo");

@@ -62,3 +62,3 @@ var imageclassification = new leonardo.Imageclassification("apiKey");

- [Inference Service for Language Detection](https://api.sap.com/api/language_detection_api/resource)
- [Inference Service for Customizable Object Detection](https://api.sap.com/api/object_detection_api/resource) (not implemented)
- ~~[Inference Service for Customizable Object Detection](https://api.sap.com/api/object_detection_api/resource)~~
- [Inference Service for Optical Character Recognition (OCR)](https://api.sap.com/api/ocr_api/resource)

@@ -65,0 +65,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc