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

@wildberries/databus-service-products

Package Overview
Dependencies
Maintainers
3
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wildberries/databus-service-products - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8-beta.1

15

dist/index.js
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./module"));
__exportStar(require("./module"), exports);
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PREFETCH_PRODUCT = exports.NAVIGATE_TO_PRODUCT = exports.FETCH_PRODUCTS = void 0;
exports.FETCH_PRODUCTS = 'fetch-products';
exports.NAVIGATE_TO_PRODUCT = 'navigate-to-product';
exports.PREFETCH_PRODUCT = 'prefetch-product';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var databus_1 = require("@ravilm/databus");
exports.prefetchProductEvent = exports.navigateToProductEvent = exports.setFetchProductsEvent = void 0;
var databus_1 = require("@portals/databus");
var constants_1 = require("./constants");
exports.setFetchProductsEvent = function (params) {
var setFetchProductsEvent = function (params) {
new databus_1.Databus({ name: constants_1.FETCH_PRODUCTS }).addEvent({

@@ -11,3 +12,4 @@ detail: params,

};
exports.navigateToProductEvent = function (params) {
exports.setFetchProductsEvent = setFetchProductsEvent;
var navigateToProductEvent = function (params) {
new databus_1.Databus({ name: constants_1.NAVIGATE_TO_PRODUCT }).addEvent({

@@ -18,3 +20,4 @@ detail: params,

};
exports.prefetchProductEvent = function (params) {
exports.navigateToProductEvent = navigateToProductEvent;
var prefetchProductEvent = function (params) {
new databus_1.Databus({ name: constants_1.PREFETCH_PRODUCT }).addEvent({

@@ -25,1 +28,2 @@ detail: params,

};
exports.prefetchProductEvent = prefetchProductEvent;
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./constants"));
__export(require("./events"));
__export(require("./listeners"));
__exportStar(require("./constants"), exports);
__exportStar(require("./events"), exports);
__exportStar(require("./listeners"), exports);
__exportStar(require("./types"), exports);
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var databus_1 = require("@ravilm/databus");
exports.setPrefetchProductListener = exports.setNavigateProductListener = exports.setFetchProductsListener = void 0;
var databus_1 = require("@portals/databus");
var constants_1 = require("./constants");
exports.setFetchProductsListener = function (listener) {
var setFetchProductsListener = function (listener) {
new databus_1.Databus({ name: constants_1.FETCH_PRODUCTS }).addEventListener({

@@ -10,3 +11,4 @@ listener: listener,

};
exports.setNavigateProductListener = function (listener) {
exports.setFetchProductsListener = setFetchProductsListener;
var setNavigateProductListener = function (listener) {
new databus_1.Databus({ name: constants_1.NAVIGATE_TO_PRODUCT }).addEventListener({

@@ -16,3 +18,4 @@ listener: listener,

};
exports.setPrefetchProductListener = function (listener) {
exports.setNavigateProductListener = setNavigateProductListener;
var setPrefetchProductListener = function (listener) {
new databus_1.Databus({ name: constants_1.PREFETCH_PRODUCT }).addEventListener({

@@ -22,1 +25,2 @@ listener: listener,

};
exports.setPrefetchProductListener = setPrefetchProductListener;

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

import { BrowserCacheParamsType } from '@mihanizm56/fetch-api';
import { BrowserCacheParamsType } from '@portals/fetch-api';
export declare type BaseAction = () => {

@@ -3,0 +3,0 @@ type: string;

{
"name": "@wildberries/databus-service-products",
"version": "0.1.7",
"version": "0.1.8-beta.1",
"main": "dist/index.js",

@@ -18,3 +18,3 @@ "types": "dist/index.d.ts",

"type": "git",
"url": ""
"url": "git@gitlab.wildberries.ru:portals/frontend-packages/databus-service-products.git"
},

@@ -26,3 +26,3 @@ "author": "mihanizm56",

"@commitlint/cli": "11.0.0",
"@wildberries/eslint-config-standart": "1.0.1",
"@portals/eslint-config-standart": "2.0.1",
"@types/jest": "24.9.1",

@@ -33,13 +33,13 @@ "babel-jest": "25.2.6",

"husky": "3.0.9",
"jest": "25.1.0",
"jest": "29.1.1",
"npm-audit-resolver": "2.1.0",
"ts-jest": "25.4.0",
"ts-jest": "29.1.1",
"tscpaths": "0.0.9",
"typescript": "3.8.3",
"@ravilm/databus": "1.0.2",
"@mihanizm56/fetch-api": "3.9.2"
"typescript": "4.5.2",
"@portals/databus": "0.0.2",
"@portals/fetch-api": "4.0.1"
},
"eslintConfig": {
"extends": [
"@wildberries/eslint-config-standart"
"@portals/eslint-config-standart"
]

@@ -65,2 +65,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