Huge News!Announcing our $40M Series B led by Abstract Ventures.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 7.0.0 to 8.0.0

9

CHANGELOG.md
# @guardian/ab-react
## 8.0.0
### Major Changes
- Update TS to version 5.3.3 and tslib to 2.6.2
- Updated dependencies
- @guardian/ab-core@7.0.0
## 7.0.0

@@ -4,0 +13,0 @@

5

cjs/libs/@guardian/ab-react/src/context.d.ts
import { ABTestAPI } from "@guardian/ab-core";
import { ReactNode } from 'react';
/**

@@ -22,3 +23,5 @@ * ABProvider sets an instance of ABContext

*/
declare const ABProvider: any;
declare const ABProvider: ({ arrayOfTestObjects, abTestSwitches, pageIsSensitive, mvtMaxValue, mvtId, forcedTestVariants, forcedTestException, errorReporter, ophanRecord, serverSideTests, children, }: import("@guardian/ab-core").CoreAPIConfig & import("libs/@guardian/ab-core/src/@types").OphanAPIConfig & {
children: ReactNode;
}) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
/**

@@ -25,0 +28,0 @@ * useAB is a wrapper around React.useContext(ABContext) to provide a

1

cjs/node_modules/.pnpm/@emotion_cache@11.11.0/node_modules/@emotion/cache/dist/emotion-cache.esm.d.ts

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

import { StyleSheet } from "@emotion/sheet";
declare function createCache(options: any): {

@@ -2,0 +3,0 @@ key: any;

/// <reference types="react" />
import * as React from "libs/@guardian/source-react-components/node_modules/@types/react";
import * as React from "libs/@guardian/ab-react/node_modules/@types/react";
declare function _extends(...args: any[]): any;

@@ -4,0 +4,0 @@ declare var CacheProvider: React.Provider<import("@emotion/utils").EmotionCache | null>;

import { ABTestAPI } from "@guardian/ab-core";
import { ReactNode } from 'react';
/**

@@ -22,3 +23,5 @@ * ABProvider sets an instance of ABContext

*/
declare const ABProvider: any;
declare const ABProvider: ({ arrayOfTestObjects, abTestSwitches, pageIsSensitive, mvtMaxValue, mvtId, forcedTestVariants, forcedTestException, errorReporter, ophanRecord, serverSideTests, children, }: import("@guardian/ab-core").CoreAPIConfig & import("libs/@guardian/ab-core/src/@types").OphanAPIConfig & {
children: ReactNode;
}) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
/**

@@ -25,0 +28,0 @@ * useAB is a wrapper around React.useContext(ABContext) to provide a

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

import { StyleSheet } from "@emotion/sheet";
declare function createCache(options: any): {

@@ -2,0 +3,0 @@ key: any;

/// <reference types="react" />
import * as React from "libs/@guardian/source-react-components/node_modules/@types/react";
import * as React from "libs/@guardian/ab-react/node_modules/@types/react";
declare function _extends(...args: any[]): any;

@@ -4,0 +4,0 @@ declare var CacheProvider: React.Provider<import("@emotion/utils").EmotionCache | null>;

{
"name": "@guardian/ab-react",
"version": "7.0.0",
"version": "8.0.0",
"private": false,

@@ -19,7 +19,7 @@ "description": "A React library for A/B & multivariate testing",

"peerDependencies": {
"@guardian/ab-core": "^6.0.0",
"@guardian/ab-core": "^7.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tslib": "^2.5.3",
"typescript": "~5.1.3"
"tslib": "^2.6.2",
"typescript": "~5.3.3"
},

@@ -35,3 +35,3 @@ "peerDependenciesMeta": {

"readme": "ERROR: No README data found!",
"_id": "@guardian/ab-react@7.0.0"
"_id": "@guardian/ab-react@8.0.0"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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