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.2 to 2.1.3

4

dist/hooks/useRequest.js

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

var _uuid = require("uuid");
var _util = require("../util");

@@ -35,3 +35,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

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

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

@@ -13,2 +13,3 @@ "use strict";

exports.updateStream = updateStream;
exports.uuid = uuid;

@@ -19,3 +20,3 @@ var _wappstoRedux = require("wappsto-redux");

var _uuid = require("uuid");
var _crypto = _interopRequireDefault(require("crypto"));

@@ -52,2 +53,6 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

function uuid() {
return _crypto["default"].randomUUID();
}
function getServiceUrl(service, options) {

@@ -66,3 +71,3 @@ var version = options && options.version ? options.version : (0, _wappstoRedux.getServiceVersion)(service);

method: 'PATCH',
id: (0, _uuid.v4)(),
id: uuid(),
params: {

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

{
"name": "wappsto-blanket",
"version": "2.1.2",
"version": "2.1.3",
"description": "",

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

"react-redux": "^7.2.8",
"uuid": "^8.3.1",
"wappsto-redux": "^4.0.2"

@@ -67,4 +66,4 @@ },

"husky": "^7.0.4",
"jest": "^27.5.1",
"jest-environment-jsdom": "^27.5.1",
"jest": "^28.0.2",
"jest-environment-jsdom": "^28.0.2",
"jest-environment-jsdom-global": "^3.0.0",

@@ -71,0 +70,0 @@ "jest-fetch-mock": "^3.0.3",

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