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

@ticketmaster/allure-mock

Package Overview
Dependencies
Maintainers
34
Versions
528
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 4.0.8 to 4.0.9

193

dist/index.esm.js

@@ -8,17 +8,62 @@ import { Response, createServer } from 'miragejs';

{
code: "blogger",
code: "identity",
id: "cf1e79bb-f597-46ff-9211-59ba495db5f1",
legacy_id: "4.04",
legacy_code: "404",
product_code: "PRD68",
target_url: "https://identity.dev1.tmtools.nonprod.public.tmaws.eu",
logo_url: "https://identity.dev1.tmtools.nonprod.public.tmaws.eu/logo.png",
localized_info: {
"en-US": {
name: "Identity",
description: "Identity application",
},
},
},
{
code: "ecviewer",
id: "8fbd4fd7-ca77-419e-b27f-c3fd2e444fd2",
legacy_id: "5.01",
legacy_code: "501",
product_code: "PRD501",
target_url: "https://www.blogger.com/",
logo_url: "https://www.codeapi.io/app?search=blogger",
legacy_id: "4.22",
legacy_code: "422",
product_code: "PRD2727",
target_url: "https://ecviewer.dev1.tmtools.nonprod.public.tmaws.eu/logo.png",
logo_url: "https://ecviewer.dev1.tmtools.nonprod.public.tmaws.eu",
localized_info: {
"en-US": {
name: "Blogger-en",
description: "Create a unique and beautiful blog. It’s easy and free.",
name: "Entry Code Viewer",
description: "Entry Code Viewer",
},
},
},
{
code: "mop-editor",
id: "337deb9b-da7e-4cbb-a704-5c488256d1ad",
legacy_id: "5.09",
legacy_code: "509",
product_code: "PRD68",
target_url: "https://mop-editor.dev1.tmtools.nonprod.public.tmaws.eu",
logo_url: "https://mop-editor.dev1.tmtools.nonprod.public.tmaws.eu/logo.png",
localized_info: {
"en-US": {
name: "Methods of payment",
description: "Methods of payment",
},
},
},
{
code: "app1",
id: "f84aa6b0-77d5-4ba3-8f04-1e1f451b8fac",
legacy_id: "5.09",
legacy_code: "509",
product_code: "PRD509",
target_url: "https://www.periscope.com/",
logo_url: "https://www.codeapi.io/app?search=periscope",
localized_info: {
"en-US": {
name: "App 1",
description: "Explore the world through someone else's eyes",
},
"fr-CA": {
name: "Blogger-fr",
description: "Créez un blog unique et éblouissant. Rien de plus facile, et c'est gratuit.",
name: "App 1",
description: "Explorez le monde à travers les yeux de quelqu'un d'autre",
},

@@ -28,17 +73,17 @@ },

{
code: "tumblr",
id: "337deb9b-da7e-4cbb-a704-5c488256d1ad",
legacy_id: "5.02",
legacy_code: "502",
product_code: "PRD502",
target_url: "https://www.tumblr.com/",
logo_url: "https://www.codeapi.io/app?search=tumblr",
code: "app2",
id: "f84aa6b0-77d5-4ba3-8f04-1e1f451b8fac",
legacy_id: "5.09",
legacy_code: "509",
product_code: "PRD509",
target_url: "https://www.periscope.com/",
logo_url: "https://www.codeapi.io/app?search=periscope",
localized_info: {
"en-US": {
name: "tumblr",
description: "Come to see what you like. Stay for what you find out.",
name: "App 2",
description: "Explore the world through someone else's eyes",
},
"fr-CA": {
name: "tumblr",
description: "Venez pour voir ce que vous aimez. Restez pour ce que vous découvrirez.",
name: "App 2",
description: "Explorez le monde à travers les yeux de quelqu'un d'autre",
},

@@ -48,2 +93,66 @@ },

{
code: "app3",
id: "f84aa6b0-77d5-4ba3-8f04-1e1f451b8fac",
legacy_id: "5.09",
legacy_code: "509",
product_code: "PRD509",
target_url: "https://www.periscope.com/",
logo_url: "https://www.codeapi.io/app?search=periscope",
localized_info: {
"en-US": {
name: "App 3",
description: "Explore the world through someone else's eyes",
},
},
},
{
code: "app4",
id: "f84aa6b0-77d5-4ba3-8f04-1e1f451b8fac",
legacy_id: "5.09",
legacy_code: "509",
product_code: "PRD509",
target_url: "https://www.periscope.com/",
logo_url: "https://www.codeapi.io/app?search=periscope",
localized_info: {
"en-US": {
name: "App 4",
description: "Explore the world through someone else's eyes",
},
},
},
{
code: "app5",
id: "f84aa6b0-77d5-4ba3-8f04-1e1f451b8fac",
legacy_id: "5.09",
legacy_code: "509",
product_code: "PRD509",
target_url: "https://www.periscope.com/",
logo_url: "https://www.codeapi.io/app?search=periscope",
localized_info: {
"en-US": {
name: "App 5",
description: "Explore the world through someone else's eyes",
},
},
},
{
code: "aws",
id: "bf34bc2a-cd5e-418e-95b8-cc8fde86571f",
legacy_id: "5.03",
legacy_code: "503",
product_code: "PRD503",
target_url: "https://onedrive.live.com/",
logo_url: "https://www.codeapi.io/app?search=onedrive",
localized_info: {
"en-US": {
name: "AWS",
description: "File & photo cloud storage",
},
"fr-CA": {
name: "AWS",
description: "Stockage de fichiers et de photos sur le nuage",
},
},
},
{
code: "onedrive",

@@ -181,21 +290,2 @@ id: "bf34bc2a-cd5e-418e-95b8-cc8fde86571f",

},
{
code: "flickr",
id: "dc834f3d-3bf6-4350-85ab-49feb617268f",
legacy_id: "5.10",
legacy_code: "510",
product_code: "PRD510",
target_url: "https://www.flickr.com/",
logo_url: "https://www.codeapi.io/app?search=flickr",
localized_info: {
"en-US": {
name: "flickr",
description: "Share your photos",
},
"fr-CA": {
name: "flickr",
description: "Partagez vos photos",
},
},
},
];

@@ -234,2 +324,12 @@

];
const APPLICATION_UUIDS = [
{
id: "337deb9b-da7e-4cbb-a704-5c488256d1ad",
code: "mop-editor",
},
{
id: "c8618fc6-c6e6-4cff-b89a-e13258567311",
code: "tool1",
},
];

@@ -253,3 +353,2 @@ const getSessionFromRequest = (request) => {

const sessionPortalApplications = ((_a = session === null || session === void 0 ? void 0 : session.user) === null || _a === void 0 ? void 0 : _a.portalApplications) || [];
// TODO: Add acceptedLanguage filter
return session

@@ -469,2 +568,14 @@ ? sessionPortalApplications

}, { timing: 1000 });
server.db.loadData({
applicationUUIDs: APPLICATION_UUIDS,
});
server.post(`/api/v1/applications/cf1e79bb-f597-46ff-9211-59ba495db5f1/request_access`, () => new Response(200, {}, {
url: `https://www.google.com`,
}));
server.post(`/api/v1/applications/8fbd4fd7-ca77-419e-b27f-c3fd2e444fd2/request_access`, () => new Response(200, {}, {
url: `https://www.google.com`,
}));
server.post(`/api/v1/applications/337deb9b-da7e-4cbb-a704-5c488256d1ad/request_access`, () => new Response(200, {}, {
url: `https://www.google.com`,
}));
return server;

@@ -471,0 +582,0 @@ };

@@ -14,17 +14,62 @@ 'use strict';

{
code: "blogger",
code: "identity",
id: "cf1e79bb-f597-46ff-9211-59ba495db5f1",
legacy_id: "4.04",
legacy_code: "404",
product_code: "PRD68",
target_url: "https://identity.dev1.tmtools.nonprod.public.tmaws.eu",
logo_url: "https://identity.dev1.tmtools.nonprod.public.tmaws.eu/logo.png",
localized_info: {
"en-US": {
name: "Identity",
description: "Identity application",
},
},
},
{
code: "ecviewer",
id: "8fbd4fd7-ca77-419e-b27f-c3fd2e444fd2",
legacy_id: "5.01",
legacy_code: "501",
product_code: "PRD501",
target_url: "https://www.blogger.com/",
logo_url: "https://www.codeapi.io/app?search=blogger",
legacy_id: "4.22",
legacy_code: "422",
product_code: "PRD2727",
target_url: "https://ecviewer.dev1.tmtools.nonprod.public.tmaws.eu/logo.png",
logo_url: "https://ecviewer.dev1.tmtools.nonprod.public.tmaws.eu",
localized_info: {
"en-US": {
name: "Blogger-en",
description: "Create a unique and beautiful blog. It’s easy and free.",
name: "Entry Code Viewer",
description: "Entry Code Viewer",
},
},
},
{
code: "mop-editor",
id: "337deb9b-da7e-4cbb-a704-5c488256d1ad",
legacy_id: "5.09",
legacy_code: "509",
product_code: "PRD68",
target_url: "https://mop-editor.dev1.tmtools.nonprod.public.tmaws.eu",
logo_url: "https://mop-editor.dev1.tmtools.nonprod.public.tmaws.eu/logo.png",
localized_info: {
"en-US": {
name: "Methods of payment",
description: "Methods of payment",
},
},
},
{
code: "app1",
id: "f84aa6b0-77d5-4ba3-8f04-1e1f451b8fac",
legacy_id: "5.09",
legacy_code: "509",
product_code: "PRD509",
target_url: "https://www.periscope.com/",
logo_url: "https://www.codeapi.io/app?search=periscope",
localized_info: {
"en-US": {
name: "App 1",
description: "Explore the world through someone else's eyes",
},
"fr-CA": {
name: "Blogger-fr",
description: "Créez un blog unique et éblouissant. Rien de plus facile, et c'est gratuit.",
name: "App 1",
description: "Explorez le monde à travers les yeux de quelqu'un d'autre",
},

@@ -34,17 +79,17 @@ },

{
code: "tumblr",
id: "337deb9b-da7e-4cbb-a704-5c488256d1ad",
legacy_id: "5.02",
legacy_code: "502",
product_code: "PRD502",
target_url: "https://www.tumblr.com/",
logo_url: "https://www.codeapi.io/app?search=tumblr",
code: "app2",
id: "f84aa6b0-77d5-4ba3-8f04-1e1f451b8fac",
legacy_id: "5.09",
legacy_code: "509",
product_code: "PRD509",
target_url: "https://www.periscope.com/",
logo_url: "https://www.codeapi.io/app?search=periscope",
localized_info: {
"en-US": {
name: "tumblr",
description: "Come to see what you like. Stay for what you find out.",
name: "App 2",
description: "Explore the world through someone else's eyes",
},
"fr-CA": {
name: "tumblr",
description: "Venez pour voir ce que vous aimez. Restez pour ce que vous découvrirez.",
name: "App 2",
description: "Explorez le monde à travers les yeux de quelqu'un d'autre",
},

@@ -54,2 +99,66 @@ },

{
code: "app3",
id: "f84aa6b0-77d5-4ba3-8f04-1e1f451b8fac",
legacy_id: "5.09",
legacy_code: "509",
product_code: "PRD509",
target_url: "https://www.periscope.com/",
logo_url: "https://www.codeapi.io/app?search=periscope",
localized_info: {
"en-US": {
name: "App 3",
description: "Explore the world through someone else's eyes",
},
},
},
{
code: "app4",
id: "f84aa6b0-77d5-4ba3-8f04-1e1f451b8fac",
legacy_id: "5.09",
legacy_code: "509",
product_code: "PRD509",
target_url: "https://www.periscope.com/",
logo_url: "https://www.codeapi.io/app?search=periscope",
localized_info: {
"en-US": {
name: "App 4",
description: "Explore the world through someone else's eyes",
},
},
},
{
code: "app5",
id: "f84aa6b0-77d5-4ba3-8f04-1e1f451b8fac",
legacy_id: "5.09",
legacy_code: "509",
product_code: "PRD509",
target_url: "https://www.periscope.com/",
logo_url: "https://www.codeapi.io/app?search=periscope",
localized_info: {
"en-US": {
name: "App 5",
description: "Explore the world through someone else's eyes",
},
},
},
{
code: "aws",
id: "bf34bc2a-cd5e-418e-95b8-cc8fde86571f",
legacy_id: "5.03",
legacy_code: "503",
product_code: "PRD503",
target_url: "https://onedrive.live.com/",
logo_url: "https://www.codeapi.io/app?search=onedrive",
localized_info: {
"en-US": {
name: "AWS",
description: "File & photo cloud storage",
},
"fr-CA": {
name: "AWS",
description: "Stockage de fichiers et de photos sur le nuage",
},
},
},
{
code: "onedrive",

@@ -187,21 +296,2 @@ id: "bf34bc2a-cd5e-418e-95b8-cc8fde86571f",

},
{
code: "flickr",
id: "dc834f3d-3bf6-4350-85ab-49feb617268f",
legacy_id: "5.10",
legacy_code: "510",
product_code: "PRD510",
target_url: "https://www.flickr.com/",
logo_url: "https://www.codeapi.io/app?search=flickr",
localized_info: {
"en-US": {
name: "flickr",
description: "Share your photos",
},
"fr-CA": {
name: "flickr",
description: "Partagez vos photos",
},
},
},
];

@@ -240,2 +330,12 @@

];
const APPLICATION_UUIDS = [
{
id: "337deb9b-da7e-4cbb-a704-5c488256d1ad",
code: "mop-editor",
},
{
id: "c8618fc6-c6e6-4cff-b89a-e13258567311",
code: "tool1",
},
];

@@ -259,3 +359,2 @@ const getSessionFromRequest = (request) => {

const sessionPortalApplications = ((_a = session === null || session === void 0 ? void 0 : session.user) === null || _a === void 0 ? void 0 : _a.portalApplications) || [];
// TODO: Add acceptedLanguage filter
return session

@@ -475,2 +574,14 @@ ? sessionPortalApplications

}, { timing: 1000 });
server.db.loadData({
applicationUUIDs: APPLICATION_UUIDS,
});
server.post(`/api/v1/applications/cf1e79bb-f597-46ff-9211-59ba495db5f1/request_access`, () => new miragejs.Response(200, {}, {
url: `https://www.google.com`,
}));
server.post(`/api/v1/applications/8fbd4fd7-ca77-419e-b27f-c3fd2e444fd2/request_access`, () => new miragejs.Response(200, {}, {
url: `https://www.google.com`,
}));
server.post(`/api/v1/applications/337deb9b-da7e-4cbb-a704-5c488256d1ad/request_access`, () => new miragejs.Response(200, {}, {
url: `https://www.google.com`,
}));
return server;

@@ -477,0 +588,0 @@ };

@@ -7,1 +7,5 @@ import type { ContextClass } from "./identity.definition";

export declare const CONTEXT_CLASSES: ContextClass[];
export declare const APPLICATION_UUIDS: {
id: string;
code: string;
}[];
{
"name": "@ticketmaster/allure-mock",
"version": "4.0.8",
"version": "4.0.9",
"author": "Ticketmaster (https://www.ticketmaster.com/)",

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

"devDependencies": {
"@ticketmaster/allure-command": "^4.0.8"
"@ticketmaster/allure-command": "^4.0.9"
},

@@ -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