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

wappsto-blanket

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wappsto-blanket - npm Package Compare versions

Comparing version 2.1.4 to 2.1.5

2

dist/hooks/useRequest.js

@@ -34,3 +34,3 @@ "use strict";

var _useState = (0, _react.useState)(function () {
return id || (0, _util.uuid)();
return id || (0, _util.randomID)();
}),

@@ -37,0 +37,0 @@ _useState2 = _slicedToArray(_useState, 2),

@@ -10,6 +10,6 @@ "use strict";

exports.getServiceUrl = getServiceUrl;
exports.randomID = randomID;
exports.roundBasedOnStep = roundBasedOnStep;
exports.setDefaultStreamOptions = setDefaultStreamOptions;
exports.updateStream = updateStream;
exports.uuid = uuid;

@@ -20,4 +20,2 @@ var _wappstoRedux = require("wappsto-redux");

var _cryptoRandomuuid = _interopRequireDefault(require("crypto-randomuuid"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -53,4 +51,4 @@

function uuid() {
return (0, _cryptoRandomuuid["default"])();
function randomID() {
return (Math.random() + 1).toString(36).substring(10);
}

@@ -71,3 +69,3 @@

method: 'PATCH',
id: uuid(),
id: randomID(),
params: {

@@ -74,0 +72,0 @@ url: "".concat(getServiceUrl(options.endPoint || options.service, options), "/open/subscription"),

{
"name": "wappsto-blanket",
"version": "2.1.4",
"version": "2.1.5",
"description": "",

@@ -35,3 +35,2 @@ "main": "dist/index.js",

"dependencies": {
"crypto-randomuuid": "^1.0.0",
"deep-equal": "^2.0.5",

@@ -54,3 +53,2 @@ "i18next": "^21.6.16",

"@typescript-eslint/parser": "^5.21.0",
"are-you-es5": "^2.1.2",
"babel-jest": "^28.0.2",

@@ -70,3 +68,2 @@ "babel-polyfill": "^6.26.0",

"jest-environment-jsdom": "^28.0.2",
"jest-environment-jsdom-global": "^3.0.0",
"jest-fetch-mock": "^3.0.3",

@@ -77,3 +74,2 @@ "jest-websocket-mock": "^2.3.0",

"pretty-quick": "^3.1.3",
"react-hooks-testing-library": "^0.6.0",
"react-scripts": "^5.0.1",

@@ -80,0 +76,0 @@ "react-test-renderer": "^17.0.2"

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