wappsto-blanket
Advanced tools
Comparing version 2.1.4 to 2.1.5
@@ -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" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8
28
117055
2711
- Removedcrypto-randomuuid@^1.0.0
- Removedcrypto-randomuuid@1.0.0(transitive)