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

clarifai-web-grpc

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clarifai-web-grpc - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

dist/google/api/annotations_grpc_pb.d.ts

5

CHANGELOG.md

@@ -1,2 +0,2 @@

## [1.1.2](https://github.com/Clarifai/clarifai-web-grpc/compare/v1.1.1...v1.1.2) (2022-01-28)
## [1.1.3](https://github.com/Clarifai/clarifai-web-grpc/compare/v1.1.2...v1.1.3) (2022-01-28)

@@ -6,2 +6,3 @@

* remove source files from packages, and properly map entrypoints ([f66bab3](https://github.com/Clarifai/clarifai-web-grpc/commit/f66bab30da9c998881d61c7fa6bfce23e1ffa454))
* fix the paths in the lint cmd ([31e58c8](https://github.com/Clarifai/clarifai-web-grpc/commit/31e58c876dbc7414637b9608c42d3217be34a366))
* move stuff to src, split dist/esm to lib for easier entry references ([a41e660](https://github.com/Clarifai/clarifai-web-grpc/commit/a41e660324233900339579696f97e8330bad4b31))

24

package.json
{
"name": "clarifai-web-grpc",
"version": "1.1.2",
"version": "1.1.3",
"description": "The official Clarifai gRPC-web client",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"main": "dist/index.js",
"module": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
"import": "./lib/index.js",
"require": "./dist/index.js"
},
"./resources": {
"import": "./dist/esm/resources.js",
"require": "./dist/cjs/resources.js"
"import": "./lib/resources.js",
"require": "./dist/resources.js"
},
"./service": {
"import": "./dist/esm/service.js",
"require": "./dist/cjs/service.js"
"import": "./lib/service.js",
"require": "./dist/service.js"
}

@@ -28,4 +28,4 @@ },

"test": "mocha",
"lint": "eslint index.ts resources.ts service.ts",
"clean": "rm -rf dist clarifai-web-grpc-*.tgz",
"lint": "eslint ./src/index.ts ./src/resources.ts ./src/service.ts",
"clean": "rm -rf dist lib clarifai-web-grpc-*.tgz",
"typecheck": "tsc --pretty --noEmit",

@@ -32,0 +32,0 @@ "build:cjs": "tsc -b tsconfig.cjs.json",

import { describe, it } from 'mocha'
import { expect } from 'chai'
import { ClarifaiStub as StubSRC } from '../index'
import { ClarifaiStub as StubCJS } from '../dist/cjs/index'
import { ClarifaiStub as StubESM } from '../dist/esm/index'
import { ClarifaiStub as StubSRC } from '../src/index'
import { ClarifaiStub as StubCJS } from '../dist/index'
import { ClarifaiStub as StubESM } from '../lib/index'

@@ -7,0 +7,0 @@ describe('Client Stub (src)', () => {

import { describe, it } from 'mocha'
import { expect } from 'chai'
import * as ResourcesSRC from '../resources'
import * as ResourcesCJS from '../dist/cjs/resources'
import * as ResourcesESM from '../dist/esm/resources'
import * as ResourcesSRC from '../src/resources'
import * as ResourcesCJS from '../dist/resources'
import * as ResourcesESM from '../lib/resources'

@@ -7,0 +7,0 @@ function verifyInterface (modInterface: Record<string, unknown>) {

@@ -5,4 +5,4 @@ {

"module": "CommonJS",
"outDir": "./dist/cjs"
"outDir": "./dist"
}
}

@@ -8,10 +8,7 @@ {

"allowJs": true,
"outDir": "./dist/esm",
"outDir": "./lib",
"moduleResolution": "node"
},
"include": [
"./index.ts",
"./resources.ts",
"./service.ts",
"proto/",
"./src",
],

@@ -18,0 +15,0 @@ "exclude": [

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