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

clarifai

Package Overview
Dependencies
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clarifai - npm Package Compare versions

Comparing version 2.0.10 to 2.0.11

dist/browser/clarifai-2.0.11.js

14

dist/node/utils.js
'use strict';
var fs = require('fs');
var _require = require('es6-promise');

@@ -15,7 +17,11 @@

var _require4 = require('./../package.json');
var path = void 0;
try {
fs.accessSync('../package.json', fs.F_OK);
path = '../package.json';
} catch (e) {
path = '../../package.json';
}
var VERSION = require(path).version;
var VERSION = _require4.version;
module.exports = {

@@ -22,0 +28,0 @@ wrapToken: function wrapToken(_config, requestFn) {

{
"name": "clarifai",
"version": "2.0.10",
"version": "2.0.11",
"description": "Official Clarifai Javascript SDK",

@@ -5,0 +5,0 @@ "main": "dist/node/index.js",

@@ -0,5 +1,13 @@

let fs = require('fs');
let {Promise} = require('es6-promise');
let {URL_REGEX} = require('./constants');
let {checkType} = require('./helpers');
let {version: VERSION} = require('./../package.json');
let path;
try {
fs.accessSync('../package.json', fs.F_OK);
path = '../package.json';
} catch (e) {
path = '../../package.json';
}
const VERSION = require(path).version;

@@ -6,0 +14,0 @@ module.exports = {

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