New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@guardian/ab-react

Package Overview
Dependencies
Maintainers
6
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@guardian/ab-react - npm Package Compare versions

Comparing version 8.0.1 to 8.0.2

dist/context.cjs

66

package.json
{
"name": "@guardian/ab-react",
"version": "8.0.1",
"version": "8.0.2",
"private": false,
"description": "A React library for A/B & multivariate testing",
"homepage": "https://github.com/guardian/csnx/tree/main/libs/@guardian/ab-react#readme",
"bugs": {
"url": "https://github.com/guardian/csnx/issues"
"license": "Apache-2.0",
"sideEffects": false,
"type": "module",
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/guardian/csnx.git"
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"devDependencies": {
"@guardian/ab-core": "7.0.0",
"@testing-library/react": "14.2.1",
"@types/react": "18.2.11",
"react": "18.2.0",
"react-dom": "18.2.0",
"rollup": "4.17.2",
"tslib": "2.6.2",
"typescript": "5.3.3"
},
"license": "Apache-2.0",
"sideEffects": false,
"main": "./cjs/index.js",
"module": "./esm/index.js",
"peerDependencies": {
"@guardian/ab-core": "^7.0.0",
"@types/react": "^18.2.11",
"react": "^18.2.0",

@@ -26,2 +38,5 @@ "react-dom": "^18.2.0",

"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"typescript": {

@@ -37,15 +52,10 @@ "optional": true

"build": {
"executor": "@csnx/npm-package:build",
"inputs": [
"{projectRoot}/src/**",
"{projectRoot}/package.json",
"{projectRoot}/tsconfig.json"
],
"outputs": [
"{options.outputPath}"
],
"options": {
"entry": "{projectRoot}/src/index.ts",
"tsConfig": "{projectRoot}/tsconfig.json",
"packageJson": "{projectRoot}/package.json",
"outputPath": "{workspaceRoot}/dist/{projectRoot}",
"assets": [
"{projectRoot}/*.md"
]
}
"{projectRoot}/dist"
]
},

@@ -87,4 +97,10 @@ "lint": {

},
"readme": "ERROR: No README data found!",
"_id": "@guardian/ab-react@8.0.1"
"scripts": {
"build": "rm -rf dist && rollup -c",
"dev": "jest --watch",
"fix": "pnpm lint --fix",
"lint": "eslint --cache .",
"test": "jest",
"verify-dist": "jest --setupFilesAfterEnv ./jest.dist.setup.js"
}
}
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