From 035b63a8fe0dfa55d6264dba64c8050beab495e3 Mon Sep 17 00:00:00 2001 From: Beau Cameron Date: Tue, 23 Apr 2024 06:48:28 -0600 Subject: [PATCH 1/3] Fix - Missing Context on NullUndefined Check --- packages/graph/behaviors/spfx.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/graph/behaviors/spfx.ts b/packages/graph/behaviors/spfx.ts index 5c96698d7..1e31be129 100644 --- a/packages/graph/behaviors/spfx.ts +++ b/packages/graph/behaviors/spfx.ts @@ -26,7 +26,7 @@ class SPFxTokenNullOrUndefinedError extends Error { export function SPFxToken(context: ISPFXContext): TimelinePipe { - SPFxTokenNullOrUndefinedError.check("SPFxToken"); + SPFxTokenNullOrUndefinedError.check("SPFxToken", context); return (instance: Queryable) => { @@ -47,7 +47,7 @@ export function SPFxToken(context: ISPFXContext): TimelinePipe { export function SPFx(context: ISPFXContext): TimelinePipe { - SPFxTokenNullOrUndefinedError.check("SPFx"); + SPFxTokenNullOrUndefinedError.check("SPFx", context); return (instance: Queryable) => { From 956beb8e38f4809148c5a5c424d9319d138b8a90 Mon Sep 17 00:00:00 2001 From: Patrick Rodgers Date: Tue, 23 Apr 2024 08:56:21 -0400 Subject: [PATCH 2/3] Update CHANGELOG.md --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c663cc62..370788220 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## 4.0.1 - 2024-Apr-23 + +### Fixed + +- graph + - Fixed issue with SPFx behavior null check #3012 + ## 4.0.0 - 2024-Apr-22 ### Added From 8146905ee0414ebe9228f9e8f283004755096207 Mon Sep 17 00:00:00 2001 From: Patrick Rodgers Date: Tue, 23 Apr 2024 08:56:30 -0400 Subject: [PATCH 3/3] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1d96dba2e..7968fe98f 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@pnp/monorepo", "private": true, "type": "module", - "version": "4.0.0", + "version": "4.0.1", "description": "A JavaScript library for SharePoint & Graph development.", "devDependencies": { "@azure/identity": "4.1.0",