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

@atlaskit/react-select

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/react-select - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

8

CHANGELOG.md
# @atlaskit/react-select
## 1.3.2
### Patch Changes
- [#163217](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/163217)
[`560d23ab4dfbe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/560d23ab4dfbe) -
Add null check on safari for SSR
## 1.3.1

@@ -4,0 +12,0 @@

8

dist/cjs/accessibility/helpers.js

@@ -22,4 +22,8 @@ "use strict";

function isSafari() {
var ua = navigator.userAgent.toLowerCase();
return ua.includes('safari') && !ua.includes('chrome');
if (typeof window !== 'undefined' && window.navigator != null) {
var _window$navigator$use2;
var ua = (_window$navigator$use2 = window.navigator.userAgent) === null || _window$navigator$use2 === void 0 ? void 0 : _window$navigator$use2.toLowerCase();
return ua ? ua.includes('safari') && !ua.includes('chrome') : false;
}
return false;
}

@@ -26,0 +30,0 @@ function isMac() {

@@ -11,4 +11,8 @@ function testPlatform(re) {

export function isSafari() {
const ua = navigator.userAgent.toLowerCase();
return ua.includes('safari') && !ua.includes('chrome');
if (typeof window !== 'undefined' && window.navigator != null) {
var _window$navigator$use2;
const ua = (_window$navigator$use2 = window.navigator.userAgent) === null || _window$navigator$use2 === void 0 ? void 0 : _window$navigator$use2.toLowerCase();
return ua ? ua.includes('safari') && !ua.includes('chrome') : false;
}
return false;
}

@@ -15,0 +19,0 @@ export function isMac() {

@@ -11,4 +11,8 @@ function testPlatform(re) {

export function isSafari() {
var ua = navigator.userAgent.toLowerCase();
return ua.includes('safari') && !ua.includes('chrome');
if (typeof window !== 'undefined' && window.navigator != null) {
var _window$navigator$use2;
var ua = (_window$navigator$use2 = window.navigator.userAgent) === null || _window$navigator$use2 === void 0 ? void 0 : _window$navigator$use2.toLowerCase();
return ua ? ua.includes('safari') && !ua.includes('chrome') : false;
}
return false;
}

@@ -15,0 +19,0 @@ export function isMac() {

@@ -7,3 +7,3 @@ import type Select from './select';

export { defaultTheme } from './theme';
export { createFilter } from './filters';
export { createFilter, type FilterOptionOption } from './filters';
export { components } from './components';

@@ -10,0 +10,0 @@ export type SelectInstance<Option = unknown, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>> = Select<Option, IsMulti, Group>;

@@ -7,3 +7,3 @@ import type Select from './select';

export { defaultTheme } from './theme';
export { createFilter } from './filters';
export { createFilter, type FilterOptionOption } from './filters';
export { components } from './components';

@@ -10,0 +10,0 @@ export type SelectInstance<Option = unknown, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>> = Select<Option, IsMulti, Group>;

{
"name": "@atlaskit/react-select",
"version": "1.3.1",
"version": "1.3.2",
"description": "A forked version of react-select to only be used in atlaskit/select",

@@ -29,3 +29,3 @@ "author": "Atlassian Pty Ltd",

"dependencies": {
"@atlaskit/ds-lib": "^3.1.0",
"@atlaskit/ds-lib": "^3.2.0",
"@atlaskit/platform-feature-flags": "^0.3.0",

@@ -32,0 +32,0 @@ "@babel/runtime": "^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