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

@guardian/ab-react

Package Overview
Dependencies
Maintainers
45
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 6.0.1 to 7.0.0

6

CHANGELOG.md
# @guardian/ab-react
## 7.0.0
### Major Changes
- e3c3675: Bumps dependency on `@guardian/ab-core` to `6.0.0`.
## 6.0.1

@@ -4,0 +10,0 @@

5

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

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

*/
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-runtime").JSX.Element;
declare const ABProvider: any;
/**

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

3

cjs/node_modules/.pnpm/@emotion_react@11.11.1_j4swkgacdxrhexoapez3itylte/node_modules/@emotion/react/dist/emotion-element-6bdfffb2.esm.d.ts

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

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

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

declare namespace unitlessKeys {
const animationIterationCount: number;
const aspectRatio: number;
const borderImageOutset: number;
const borderImageSlice: number;
const borderImageWidth: number;
const boxFlex: number;
const boxFlexGroup: number;
const boxOrdinalGroup: number;
const columnCount: number;
const columns: number;
const flex: number;
const flexGrow: number;
const flexPositive: number;
const flexShrink: number;
const flexNegative: number;
const flexOrder: number;
const gridRow: number;
const gridRowEnd: number;
const gridRowSpan: number;
const gridRowStart: number;
const gridColumn: number;
const gridColumnEnd: number;
const gridColumnSpan: number;
const gridColumnStart: number;
const msGridRow: number;
const msGridRowSpan: number;
const msGridColumn: number;
const msGridColumnSpan: number;
const fontWeight: number;
const lineHeight: number;
const opacity: number;
const order: number;
const orphans: number;
const tabSize: number;
const widows: number;
const zIndex: number;
const zoom: number;
const WebkitLineClamp: number;
const fillOpacity: number;
const floodOpacity: number;
const stopOpacity: number;
const strokeDasharray: number;
const strokeDashoffset: number;
const strokeMiterlimit: number;
const strokeOpacity: number;
const strokeWidth: number;
let animationIterationCount: number;
let aspectRatio: number;
let borderImageOutset: number;
let borderImageSlice: number;
let borderImageWidth: number;
let boxFlex: number;
let boxFlexGroup: number;
let boxOrdinalGroup: number;
let columnCount: number;
let columns: number;
let flex: number;
let flexGrow: number;
let flexPositive: number;
let flexShrink: number;
let flexNegative: number;
let flexOrder: number;
let gridRow: number;
let gridRowEnd: number;
let gridRowSpan: number;
let gridRowStart: number;
let gridColumn: number;
let gridColumnEnd: number;
let gridColumnSpan: number;
let gridColumnStart: number;
let msGridRow: number;
let msGridRowSpan: number;
let msGridColumn: number;
let msGridColumnSpan: number;
let fontWeight: number;
let lineHeight: number;
let opacity: number;
let order: number;
let orphans: number;
let tabSize: number;
let widows: number;
let zIndex: number;
let zoom: number;
let WebkitLineClamp: number;
let fillOpacity: number;
let floodOpacity: number;
let stopOpacity: number;
let strokeDasharray: number;
let strokeDashoffset: number;
let strokeMiterlimit: number;
let strokeOpacity: number;
let strokeWidth: number;
}
export { unitlessKeys as default };
import { ABTestAPI } from "@guardian/ab-core";
import { ReactNode } from 'react';
/**

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

*/
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-runtime").JSX.Element;
declare const ABProvider: any;
/**

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

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

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

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

declare namespace unitlessKeys {
const animationIterationCount: number;
const aspectRatio: number;
const borderImageOutset: number;
const borderImageSlice: number;
const borderImageWidth: number;
const boxFlex: number;
const boxFlexGroup: number;
const boxOrdinalGroup: number;
const columnCount: number;
const columns: number;
const flex: number;
const flexGrow: number;
const flexPositive: number;
const flexShrink: number;
const flexNegative: number;
const flexOrder: number;
const gridRow: number;
const gridRowEnd: number;
const gridRowSpan: number;
const gridRowStart: number;
const gridColumn: number;
const gridColumnEnd: number;
const gridColumnSpan: number;
const gridColumnStart: number;
const msGridRow: number;
const msGridRowSpan: number;
const msGridColumn: number;
const msGridColumnSpan: number;
const fontWeight: number;
const lineHeight: number;
const opacity: number;
const order: number;
const orphans: number;
const tabSize: number;
const widows: number;
const zIndex: number;
const zoom: number;
const WebkitLineClamp: number;
const fillOpacity: number;
const floodOpacity: number;
const stopOpacity: number;
const strokeDasharray: number;
const strokeDashoffset: number;
const strokeMiterlimit: number;
const strokeOpacity: number;
const strokeWidth: number;
let animationIterationCount: number;
let aspectRatio: number;
let borderImageOutset: number;
let borderImageSlice: number;
let borderImageWidth: number;
let boxFlex: number;
let boxFlexGroup: number;
let boxOrdinalGroup: number;
let columnCount: number;
let columns: number;
let flex: number;
let flexGrow: number;
let flexPositive: number;
let flexShrink: number;
let flexNegative: number;
let flexOrder: number;
let gridRow: number;
let gridRowEnd: number;
let gridRowSpan: number;
let gridRowStart: number;
let gridColumn: number;
let gridColumnEnd: number;
let gridColumnSpan: number;
let gridColumnStart: number;
let msGridRow: number;
let msGridRowSpan: number;
let msGridColumn: number;
let msGridColumnSpan: number;
let fontWeight: number;
let lineHeight: number;
let opacity: number;
let order: number;
let orphans: number;
let tabSize: number;
let widows: number;
let zIndex: number;
let zoom: number;
let WebkitLineClamp: number;
let fillOpacity: number;
let floodOpacity: number;
let stopOpacity: number;
let strokeDasharray: number;
let strokeDashoffset: number;
let strokeMiterlimit: number;
let strokeOpacity: number;
let strokeWidth: number;
}
export { unitlessKeys as default };
{
"name": "@guardian/ab-react",
"version": "6.0.1",
"version": "7.0.0",
"private": false,

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

"peerDependencies": {
"@guardian/ab-core": "^5.0.0",
"@guardian/ab-core": "^6.0.0",
"react": "^18.2.0",

@@ -35,3 +35,3 @@ "react-dom": "^18.2.0",

"readme": "ERROR: No README data found!",
"_id": "@guardian/ab-react@6.0.1"
"_id": "@guardian/ab-react@7.0.0"
}
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