New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tiaod/weapp-polyfill

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiaod/weapp-polyfill - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

4

localstorage.js

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

class Storage {
class _Storage {
getItem(key) {

@@ -19,2 +19,2 @@ return wx.getStorageSync(key);

module.exports = new Storage();
module.exports = new _Storage();
{
"name": "@tiaod/weapp-polyfill",
"version": "1.1.1",
"version": "1.1.2",
"description": "Browser API polyfill for Weapp",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -31,3 +31,3 @@ const assign = require('object-assign');

class WebSocket extends EventTarget(EVENTS) {
class _WebSocket extends EventTarget(EVENTS) {
constructor(url, protocol = '') {

@@ -140,3 +140,3 @@ if (!url) {

assign(WebSocket, {
assign(_WebSocket, {
CONNECTING,

@@ -148,2 +148,2 @@ OPEN,

module.exports = WebSocket;
module.exports = _WebSocket;

@@ -34,3 +34,3 @@ const assign = require('object-assign');

class XMLHttpRequest extends EventTarget(REQUEST_EVENTS) {
class _XMLHttpRequest extends EventTarget(REQUEST_EVENTS) {

@@ -128,3 +128,3 @@ constructor() {

assign(XMLHttpRequest, {
assign(_XMLHttpRequest, {
UNSENT,

@@ -137,2 +137,2 @@ OPENED,

module.exports = XMLHttpRequest;
module.exports = _XMLHttpRequest;
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