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

@ticketmaster/allure-mock

Package Overview
Dependencies
Maintainers
34
Versions
512
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ticketmaster/allure-mock - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

14

dist/index.esm.js

@@ -243,3 +243,2 @@ import { Response, createServer } from 'miragejs';

};
const getAcceptLanguageFromRequest = (request) => { var _a; return (_a = request === null || request === void 0 ? void 0 : request.requestHeaders) === null || _a === void 0 ? void 0 : _a["Accept-Language"]; };

@@ -249,3 +248,2 @@ const getApplicationsFromRequest = (request) => {

const session = getSessionFromRequest(request);
const acceptedLanguage = getAcceptLanguageFromRequest(request);
const sessionPortalApplications = ((_a = session === null || session === void 0 ? void 0 : session.user) === null || _a === void 0 ? void 0 : _a.portalApplications) || [];

@@ -299,2 +297,8 @@ // TODO: Add acceptedLanguage filter

market: "ZZ",
metadata: {
market: {
code: "ZZ",
languages: ["de-CH", "fr-CH", "en-US"],
},
},
organization: "MOCKORG",

@@ -339,2 +343,8 @@ classId: sessionClass === null || sessionClass === void 0 ? void 0 : sessionClass.id,

className: OTT_CONFIG.className,
metadata: {
market: {
code: OTT_CONFIG.metadata.market.code,
languages: OTT_CONFIG.metadata.market.languages,
},
},
organization: {

@@ -341,0 +351,0 @@ id: 2083,

@@ -249,3 +249,2 @@ 'use strict';

};
const getAcceptLanguageFromRequest = (request) => { var _a; return (_a = request === null || request === void 0 ? void 0 : request.requestHeaders) === null || _a === void 0 ? void 0 : _a["Accept-Language"]; };

@@ -255,3 +254,2 @@ const getApplicationsFromRequest = (request) => {

const session = getSessionFromRequest(request);
const acceptedLanguage = getAcceptLanguageFromRequest(request);
const sessionPortalApplications = ((_a = session === null || session === void 0 ? void 0 : session.user) === null || _a === void 0 ? void 0 : _a.portalApplications) || [];

@@ -305,2 +303,8 @@ // TODO: Add acceptedLanguage filter

market: "ZZ",
metadata: {
market: {
code: "ZZ",
languages: ["de-CH", "fr-CH", "en-US"],
},
},
organization: "MOCKORG",

@@ -345,2 +349,8 @@ classId: sessionClass === null || sessionClass === void 0 ? void 0 : sessionClass.id,

className: OTT_CONFIG.className,
metadata: {
market: {
code: OTT_CONFIG.metadata.market.code,
languages: OTT_CONFIG.metadata.market.languages,
},
},
organization: {

@@ -347,0 +357,0 @@ id: 2083,

@@ -15,2 +15,8 @@ import type { ContextClass } from "./identity.definition";

market: string;
metadata: {
market: {
code: string;
languages: string[];
};
};
classId?: number;

@@ -17,0 +23,0 @@ className?: string;

4

package.json
{
"name": "@ticketmaster/allure-mock",
"version": "3.0.1",
"version": "3.0.2",
"author": "Ticketmaster (https://www.ticketmaster.com/)",

@@ -17,3 +17,3 @@ "contributors": [

"devDependencies": {
"@ticketmaster/allure-command": "^3.0.1"
"@ticketmaster/allure-command": "^3.0.2"
},

@@ -20,0 +20,0 @@ "peerDependencies": {

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