Socket
Socket
Sign inDemoInstall

@apollo/react-hooks

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apollo/react-hooks - npm Package Compare versions

Comparing version 3.1.1 to 3.2.0-alpha.0

index.d.ts

46

package.json
{
"name": "@apollo/react-hooks",
"description": "React Apollo Hooks.",
"version": "3.1.1",
"version": "3.2.0-alpha.0",
"author": "opensource@apollographql.com",

@@ -13,8 +13,4 @@ "keywords": [

"license": "MIT",
"main": "./lib/react-hooks.cjs.js",
"module": "./lib/react-hooks.esm.js",
"react-native": {
"react-dom/server": false
},
"typings": "./lib/index.d.ts",
"main": "index.js",
"types": "index.d.ts",
"repository": {

@@ -26,41 +22,11 @@ "type": "git",

"scripts": {
"clean": "rm -Rf ./lib/* ./meta/bundlesize/* ./meta/coverage/* ./.rpt2_cache",
"prepare": "npm run build",
"prebuild": "npm run clean",
"build": "npx tsc -p ./config",
"postbuild": "npx rollup -c ./config/rollup.config.js",
"watch": "npx tsc-watch --onSuccess \"npm run postbuild\" -p ./config",
"predeploy": "npm run build",
"deploy": "npm publish",
"test": "npx jest --config ../../config/jest.config.js --testPathPattern packages/hooks",
"test:watch": "npx jest --config ../../config/jest.config.js --testPathPattern packages/hooks --watch",
"test:cjs": "npm run build && npx jest --config ../../config/jest.cjs.config.js --testPathPattern packages/hooks",
"test:umd": "npm run build && npx jest --config ../../config/jest.umd.config.js --testPathPattern packages/hooks"
"clean": ""
},
"peerDependencies": {
"@types/react": "^16.8.0",
"apollo-client": "^2.6.4",
"graphql": "^14.3.1",
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"dependencies": {
"@apollo/react-common": "^3.1.1",
"@wry/equality": "^0.1.9",
"ts-invariant": "^0.4.4",
"tslib": "^1.10.0"
"@apollo/react-common": "^3.2.0-alpha.0"
},
"files": [
"lib"
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"jest": "24.9.0",
"rollup": "1.20.3",
"tsc-watch": "3.0.1",
"typescript": "3.5.3"
},
"gitHead": "1ad1e76c298b8c8ff9a49c03a8dec4b1da812625"
"gitHead": "d6a6c693cde6dcd9cc9845d53daff0d73951ddca"
}
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc