Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

@jitsi/js-utils

Package Overview
Dependencies
Maintainers
10
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jitsi/js-utils - npm Package Compare versions

Comparing version
2.0.5
to
2.0.6
+9
-3
.github/workflows/autopublish.yml

@@ -15,7 +15,13 @@ name: "AutoPublish"

- name: "Checkout source code"
uses: "actions/checkout@v2"
uses: "actions/checkout@v3"
- name: "Automated Release"
uses: "jitsi/gh-action-autopublish@master"
uses: "phips28/gh-action-bump-version@master"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

@@ -135,2 +135,19 @@ import EventEmitter from 'events';

/**
* Switch between window.localStorage and DummyLocalStorage.
*/
setLocalStorageDisabled(value) {
this._localStorageDisabled = value;
try {
this._storage = value ? new DummyLocalStorage() : window.localStorage;
} catch (ignore) {
// localStorage throws an exception.
}
if (!this._storage) {
this._storage = new DummyLocalStorage();
}
}
/**
* Empties all keys out of the storage.

@@ -137,0 +154,0 @@ *

{
"name": "@jitsi/js-utils",
"version": "2.0.5",
"version": "2.0.6",
"description": "Utilities for Jitsi JS projects",

@@ -5,0 +5,0 @@ "repository": {