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

@ticketmaster/allure-mock

Package Overview
Dependencies
Maintainers
33
Versions
510
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 2.1.0 to 2.2.0

6

dist/index.esm.js

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

let valid = true;
let session = {};
let session = undefined;
let refreshedToken;

@@ -49,3 +49,3 @@ try {

}
if (valid) {
if (session && valid) {
const generatedJWT = generateJWT({

@@ -67,3 +67,3 @@ ott: (_b = session === null || session === void 0 ? void 0 : session.user) === null || _b === void 0 ? void 0 : _b.username,

let error;
let session = {};
let session = undefined;
try {

@@ -70,0 +70,0 @@ session = jwt.verify(token, "secret");

@@ -45,3 +45,3 @@ 'use strict';

let valid = true;
let session = {};
let session = undefined;
let refreshedToken;

@@ -57,3 +57,3 @@ try {

}
if (valid) {
if (session && valid) {
const generatedJWT = generateJWT({

@@ -75,3 +75,3 @@ ott: (_b = session === null || session === void 0 ? void 0 : session.user) === null || _b === void 0 ? void 0 : _b.username,

let error;
let session = {};
let session = undefined;
try {

@@ -78,0 +78,0 @@ session = jwt__default['default'].verify(token, "secret");

import { Server } from "miragejs";
export declare type Session = {
iat: number;
exp: number;
iss: string;
jti: string;
user: {
id: number;
uuid: string;
username: string;
firstName?: string;
lastName?: string;
title?: string;
systemId: number;
market: string;
organization: {
code: string;
id: number;
name: string;
};
confidentiality: {
systemIds: number[];
};
portalApplications: string[];
};
};
export declare const identityMock: (server: Server) => void;
{
"name": "@ticketmaster/allure-mock",
"version": "2.1.0",
"version": "2.2.0",
"author": "Ticketmaster (https://www.ticketmaster.com/)",

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

],
"description": "Allure common mocking solution library.",
"description": "Allure common mocking solution library",
"license": "MIT",

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

"devDependencies": {
"@ticketmaster/allure-command": "^2.1.0"
"@ticketmaster/allure-command": "^2.2.0"
},

@@ -21,0 +21,0 @@ "dependencies": {

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