Skip to content

Commit c7be832

Browse files
Upgrade JS-commons
1 parent 752f1c4 commit c7be832

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

CHANGES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
- Added `factory.destroy()` method, which invokes the `destroy` method of all clients created by the factory.
44
- Updated @splitsoftware/splitio-commons package to version 2.0.0 that includes major updates and updated some transitive dependencies for vulnerability fixes.
55
- BREAKING CHANGES:
6-
- Renamed some TypeScript definitions in the SplitIO namespace to avoid conflicts with other libraries: `SplitIO.IBrowserSettings` to `SplitIO.IClientSideSettings`, `SplitIO.IBrowserAsyncSettings` to `SplitIO.IClientSideAsyncSettings`.
6+
- Renamed some TypeScript definitions in the SplitIO namespace to avoid conflicts with other Split packages: `SplitIO.IBrowserSettings` to `SplitIO.IClientSideSettings`, `SplitIO.IBrowserAsyncSettings` to `SplitIO.IClientSideAsyncSettings`, `SplitIO.ISDK` to `SplitIO.IBrowserSDK`, and `SplitIO.IAsyncSDK` to `SplitIO.IBrowserAsyncSDK`.
77
- Removed internal ponyfills for the `Map` and `Set` global objects, dropping support for IE and other outdated browsers. The SDK now requires the runtime environment to support these features natively or provide a polyfill.
88
- Removed the deprecated `GoogleAnalyticsToSplit` and `SplitToGoogleAnalytics` pluggable integration modules, along with the related interfaces in the TypeScript definitions.
99
- Removed the `LocalhostFromObject` export from the default import (`import { LocalhostFromObject } from '@splitsoftware/splitio-browserjs'`). It is no longer necessary to manually import and configure it in the `sync.localhostMode` option to enable localhost mode.

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"bugs": "https://github.com/splitio/javascript-browser-client/issues",
6060
"homepage": "https://github.com/splitio/javascript-browser-client#readme",
6161
"dependencies": {
62-
"@splitsoftware/splitio-commons": "2.0.0-rc.5",
62+
"@splitsoftware/splitio-commons": "2.0.0-rc.6",
6363
"tslib": "^2.3.1",
6464
"unfetch": "^4.2.0"
6565
},

src/full/splitFactory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import SplitIO from '@splitsoftware/splitio-commons/types/splitio';
1+
import type SplitIO from '@splitsoftware/splitio-commons/types/splitio';
22
import { settingsFactory } from '../settings/full';
33
import { getModules } from '../platform/getModules';
44
import { sdkFactory } from '@splitsoftware/splitio-commons/src/sdkFactory/index';

src/splitFactory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import SplitIO from '@splitsoftware/splitio-commons/types/splitio';
1+
import type SplitIO from '@splitsoftware/splitio-commons/types/splitio';
22
import { settingsFactory } from './settings';
33
import { getModules } from './platform/getModules';
44
import { sdkFactory } from '@splitsoftware/splitio-commons/src/sdkFactory/index';

0 commit comments

Comments
 (0)