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
0
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 0.0.0-canary-20240507160332 to 0.0.0-canary-20240909092337

5

dist/context.d.ts
import * as react_jsx_runtime from 'react/jsx-runtime';
import * as _guardian_ab_core_cjs_index_de573d55 from '@guardian/ab-core/cjs/index-de573d55';
import { ABTestAPI } from '@guardian/ab-core';
import { AbTestConfig, ABTestAPI } from '@guardian/ab-core';
import { ReactNode } from 'react';

@@ -26,3 +25,3 @@

*/
declare const ABProvider: ({ arrayOfTestObjects, abTestSwitches, pageIsSensitive, mvtMaxValue, mvtId, forcedTestVariants, forcedTestException, errorReporter, ophanRecord, serverSideTests, children, }: _guardian_ab_core_cjs_index_de573d55.CoreAPIConfig & _guardian_ab_core_cjs_index_de573d55.OphanAPIConfig & {
declare const ABProvider: ({ arrayOfTestObjects, abTestSwitches, pageIsSensitive, mvtMaxValue, mvtId, forcedTestVariants, forcedTestException, errorReporter, ophanRecord, serverSideTests, children, }: AbTestConfig & {
children: ReactNode;

@@ -29,0 +28,0 @@ }) => react_jsx_runtime.JSX.Element;

169

package.json
{
"name": "@guardian/ab-react",
"version": "0.0.0-canary-20240507160332",
"version": "0.0.0-canary-20240909092337",
"private": false,

@@ -20,18 +20,25 @@ "description": "A React library for A/B & multivariate testing",

"devDependencies": {
"@guardian/ab-core": "7.0.0",
"@guardian/ab-core": "8.0.0",
"@testing-library/react": "14.2.1",
"@types/react": "18.2.11",
"@types/jest": "29.5.8",
"@types/react": "18.2.79",
"eslint": "9.9.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"rollup": "4.17.2",
"rollup": "4.21.0",
"ts-jest": "29.2.3",
"tslib": "2.6.2",
"typescript": "5.3.3"
"typescript": "5.5.2",
"wireit": "0.14.8",
"@guardian/eslint-config": "10.0.0-beta.2"
},
"peerDependencies": {
"@guardian/ab-core": "^7.0.0",
"@types/react": "^18.2.11",
"@guardian/ab-core": "^8.0.0",
"@types/react": "^18.2.79",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tslib": "^2.6.2",
"typescript": "~5.3.3"
"typescript": "~5.5.2"
},

@@ -49,57 +56,103 @@ "peerDependenciesMeta": {

},
"nx": {
"targets": {
"build": {
"inputs": [
"{projectRoot}/src/**",
"{projectRoot}/package.json",
"{projectRoot}/tsconfig.json"
],
"outputs": [
"{projectRoot}/dist"
]
},
"lint": {
"inputs": [
"{projectRoot}/**",
"{workspaceRoot}/.eslint*"
]
},
"fix": {
"inputs": [
"{projectRoot}/**",
"{workspaceRoot}/.eslint*"
],
"outputs": [
"{projectRoot}"
]
},
"test": {
"inputs": [
"{projectRoot}/**",
"{workspaceRoot}/jest.*"
]
},
"verify-dist": {
"inputs": [
"{projectRoot}/**",
"{workspaceRoot}/jest.*"
]
},
"dev": {
"inputs": [
"{projectRoot}/**",
"{workspaceRoot}/jest.*"
]
}
"wireit": {
"__deps__": {
"dependencies": [
"../ab-core:build"
]
},
"build": {
"command": "rollup -c",
"dependencies": [
"__deps__"
],
"files": [
"src/**",
"package.json",
"tsconfig.json",
"rollup.config.js",
"../../../configs/rollup/rollup.config.js"
],
"output": [
"dist"
]
},
"fix": {
"command": "eslint --cache --color . --fix",
"dependencies": [
"__deps__"
],
"files": [
"**",
"!(dist)/**",
"!.eslintcache"
],
"clean": false,
"output": [
"."
]
},
"lint": {
"command": "eslint --cache --color .",
"dependencies": [
"__deps__"
],
"files": [
"**",
"!(dist)/**",
"!.eslintcache"
],
"output": []
},
"test": {
"command": "jest",
"dependencies": [
"__deps__"
],
"files": [
"**",
"../../../configs/jest.*",
"!(dist)/**",
"!.eslintcache"
],
"output": []
},
"tsc": {
"command": "tsc --pretty",
"dependencies": [
"__deps__"
],
"files": [
"**",
"tsconfig.json",
"../tsconfig/tsconfig.json",
"../../../@types/**",
"../../../tsconfig.base.json",
"!(dist)/**",
"!.eslintcache"
],
"output": []
},
"verify-dist": {
"command": "jest --setupFilesAfterEnv ./jest.dist.setup.js",
"dependencies": [
"build"
],
"files": [
"**",
"../../../configs/jest.*",
"!(dist)/**",
"!.eslintcache"
],
"output": []
}
},
"scripts": {
"build": "rm -rf dist && rollup -c",
"build": "wireit",
"dev": "jest --watch",
"fix": "pnpm lint --fix",
"lint": "eslint --cache .",
"test": "jest",
"verify-dist": "jest --setupFilesAfterEnv ./jest.dist.setup.js"
"fix": "wireit",
"lint": "wireit",
"test": "wireit",
"tsc": "wireit",
"verify-dist": "wireit"
}
}
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