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

@automattic/explat-client-react-helpers

Package Overview
Dependencies
Maintainers
36
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@automattic/explat-client-react-helpers - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

5

CHANGELOG.md
# Changelog
## 0.0.5
- Loosen the requirements around dependencies
## 0.0.4

@@ -3,0 +8,0 @@

6

dist/cjs/index.js

@@ -46,8 +46,8 @@ "use strict";

if (isLoading) {
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: loadingExperience }, void 0);
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: loadingExperience });
}
else if (!experimentAssignment?.variationName) {
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: defaultExperience }, void 0);
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: defaultExperience });
}
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: treatmentExperience }, void 0);
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: treatmentExperience });
};

@@ -54,0 +54,0 @@ const ProvideExperimentData = ({ children, name: experimentName, options, }) => {

@@ -44,8 +44,8 @@ import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";

if (isLoading) {
return _jsx(_Fragment, { children: loadingExperience }, void 0);
return _jsx(_Fragment, { children: loadingExperience });
}
else if (!experimentAssignment?.variationName) {
return _jsx(_Fragment, { children: defaultExperience }, void 0);
return _jsx(_Fragment, { children: defaultExperience });
}
return _jsx(_Fragment, { children: treatmentExperience }, void 0);
return _jsx(_Fragment, { children: treatmentExperience });
};

@@ -52,0 +52,0 @@ const ProvideExperimentData = ({ children, name: experimentName, options, }) => {

{
"name": "@automattic/explat-client-react-helpers",
"version": "0.0.4",
"version": "0.0.5",
"description": "Standalone ExPlat Client: React Helpers.",

@@ -29,4 +29,4 @@ "bugs": "https://github.com/Automattic/wp-calypso/issues",

"@automattic/explat-client": "^0.0.3",
"react": "^17.0.2",
"tslib": "^2.3.0"
"react": ">=16.8 <18",
"tslib": ">=2.3.0"
},

@@ -37,6 +37,6 @@ "devDependencies": {

"@testing-library/react": "^12.1.3",
"@testing-library/react-hooks": "7.0.2",
"react-dom": "^17.0.2",
"@testing-library/react-hooks": "^7.0.2",
"react-dom": ">=16.8 <18",
"typescript": "^4.5.5"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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