Skip to content

Commit

Permalink
updated dependencies, ready to release
Browse files Browse the repository at this point in the history
  • Loading branch information
tavikukko committed Nov 21, 2024
1 parent f5342c5 commit 2a88c2c
Show file tree
Hide file tree
Showing 36 changed files with 2,918 additions and 1,710 deletions.
1,733 changes: 598 additions & 1,135 deletions package-lock.json

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
{
"name": "sp-editor",
"version": "7.2.1",
"version": "7.3.0",
"private": true,
"homepage": ".",
"dependencies": {
"@azure/msal-browser": "^3.26.1",
"@azure/msal-react": "^2.1.1",
"@azure/msal-browser": "^3.27.0",
"@azure/msal-react": "^2.2.0",
"@craco/craco": "^7.1.0",
"@fluentui/react": "^8.121.6",
"@fluentui/react": "^8.121.12",
"@fluentui/react-hooks": "^8.8.16",
"@fluentui/date-time-utilities": "^8.6.9",
"@fluentui/theme-samples": "^8.7.183",
"@ionic/react": "^8.3.3",
"@ionic/core": "^8.3.3",
"@microsoft/mgt": "^4.3.0",
"@microsoft/mgt-element": "^4.3.0",
"@microsoft/mgt-react": "^4.3.0",
"@fluentui/theme-samples": "^8.7.187",
"@ionic/react": "^8.4.0",
"@ionic/core": "^8.4.0",
"@microsoft/mgt": "^4.4.0",
"@microsoft/mgt-element": "^4.4.0",
"@microsoft/mgt-react": "^4.4.0",
"@microsoft/microsoft-graph-client": "^3.0.7",
"@minoru/react-dnd-treeview": "^3.4.4",
"@pnp/graph": "^4.6.0",
"@pnp/logging": "^4.6.0",
"@pnp/msaljsclient": "^4.6.0",
"@pnp/sp": "^4.6.0",
"@pnp/sp-admin": "^4.6.0",
"@pnp/graph": "^4.7.0",
"@pnp/logging": "^4.7.0",
"@pnp/msaljsclient": "^4.7.0",
"@pnp/sp": "^4.7.0",
"@pnp/sp-admin": "^4.7.0",
"@reduxjs/toolkit": "^2.3.0",
"@testing-library/jest-dom": "^6.6.2",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@vscode/codicons": "^0.0.36",
Expand All @@ -35,8 +35,8 @@
"react-dom": "^18.3.1",
"react-live": "^4.1.7",
"react-redux": "^9.1.2",
"react-router": "^6.27.0",
"react-router-dom": "^6.27.0",
"react-router": "^6.28.0",
"react-router-dom": "^6.28.0",
"redux": "^5.0.1",
"textarea-caret": "^3.1.0",
"typesafe-actions": "^5.1.0",
Expand All @@ -49,9 +49,9 @@
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@types/chrome": "^0.0.271",
"@types/chrome": "^0.0.283",
"@types/jest": "^29.5.14",
"@types/node": "^22.7.9",
"@types/node": "^22.9.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"cross-env": "^7.0.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export type NativeTokenRequest = {
extraParameters?: StringDict;
storeInCache?: StoreInCache;
signPopToken?: boolean;
embeddedClientId?: string;
};
/**
* Request which will be forwarded to native broker by the browser extension
Expand Down
4 changes: 2 additions & 2 deletions public/@azure/msal-browser/crypto/BrowserCrypto.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { IPerformanceClient, Logger } from "@azure/msal-common/browser";
import { IPerformanceClient } from "@azure/msal-common/browser";
/**
* Check whether browser crypto is available.
*/
export declare function validateCryptoAvailable(logger: Logger): void;
export declare function validateCryptoAvailable(): void;
/**
* Returns a sha-256 hash of the given dataString as an ArrayBuffer.
* @param dataString {string} data string
Expand Down
6 changes: 4 additions & 2 deletions public/@azure/msal-browser/error/BrowserAuthError.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ export declare const BrowserAuthErrorMessages: {
native_prompt_not_supported: string;
invalid_base64_string: string;
invalid_pop_token_request: string;
failed_to_build_headers: string;
failed_to_parse_headers: string;
};
/**
* BrowserAuthErrorMessage class containing string constants used by error codes and messages.
Expand Down Expand Up @@ -250,7 +252,7 @@ export declare const BrowserAuthErrorMessage: {
* Browser library error class thrown by the MSAL.js library for SPAs
*/
export declare class BrowserAuthError extends AuthError {
constructor(errorCode: string);
constructor(errorCode: string, subError?: string);
}
export declare function createBrowserAuthError(errorCode: string): BrowserAuthError;
export declare function createBrowserAuthError(errorCode: string, subError?: string): BrowserAuthError;
//# sourceMappingURL=BrowserAuthError.d.ts.map
2 changes: 2 additions & 0 deletions public/@azure/msal-browser/error/BrowserAuthErrorCodes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,6 @@ export declare const uninitializedPublicClientApplication = "uninitialized_publi
export declare const nativePromptNotSupported = "native_prompt_not_supported";
export declare const invalidBase64String = "invalid_base64_string";
export declare const invalidPopTokenRequest = "invalid_pop_token_request";
export declare const failedToBuildHeaders = "failed_to_build_headers";
export declare const failedToParseHeaders = "failed_to_parse_headers";
//# sourceMappingURL=BrowserAuthErrorCodes.d.ts.map
6 changes: 0 additions & 6 deletions public/@azure/msal-browser/network/FetchClient.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,5 @@ export declare class FetchClient implements INetworkModule {
* @param body
*/
sendPostRequestAsync<T>(url: string, options?: NetworkRequestOptions): Promise<NetworkResponse<T>>;
/**
* Get Fetch API Headers object from string map
* @param inputHeaders
*/
private getFetchHeaders;
private getHeaderDict;
}
//# sourceMappingURL=FetchClient.d.ts.map
2 changes: 1 addition & 1 deletion public/@azure/msal-browser/packageMetadata.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export declare const name = "@azure/msal-browser";
export declare const version = "3.26.1";
export declare const version = "3.27.0";
//# sourceMappingURL=packageMetadata.d.ts.map
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,10 @@ export declare class MgtFileList extends MgtTemplatedTaskComponent implements Ca
* @memberof MgtFileList
*/
protected renderNextPage(): Promise<void>;
private readonly handleSharedInsightClick;
private readonly handleFileClick;
private readonly showChildren;
private readonly renderChildren;
/**
* Get file extension string from file name
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ export declare class MgtLogin extends MgtTemplatedTaskComponent {
* @memberof MgtLogin
*/
logout: () => Promise<void>;
private readonly completeLogout;
/**
* Invoked on each update to perform rendering tasks. This method must return
* a lit-html TemplateResult. Setting properties inside this method will *not*
Expand Down
2 changes: 1 addition & 1 deletion public/@microsoft/mgt-element/utils/version.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/
export declare const PACKAGE_VERSION = "4.3.0";
export declare const PACKAGE_VERSION = "4.4.0";
//# sourceMappingURL=version.d.ts.map
2 changes: 1 addition & 1 deletion public/@pnp/graph/decorators.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export interface IAddable<T = any, R = {
*/
export declare function getById<R>(factory: (...args: any[]) => R): <T extends new (...args: any[]) => {}>(target: T) => {
new (...args: any[]): {
getById(this: IGraphQueryable, id: string): R;
getById(this: IGraphQueryable, id: any): R;
};
} & T;
export interface IGetById<R = any, T = string> {
Expand Down
2 changes: 1 addition & 1 deletion public/@pnp/graph/graphqueryable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export declare class _GraphQueryable<GetType = any> extends Queryable<GetType> {
*
* @param factory The contructor for the class to create
*/
protected getParent<T extends _GraphQueryable>(factory: IGraphConstructor<T>, base?: GraphInit, path?: string): T;
protected getParent<T extends IGraphQueryable>(factory: IGraphInvokableFactory<any>, path?: string, base?: string): T;
}
export interface IGraphQueryable<GetType = any> extends _GraphQueryable<GetType> {
}
Expand Down
2 changes: 1 addition & 1 deletion public/@pnp/graph/onenote/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "./groups.js";
import "./users.js";
import "./sites.js";
export { INotebook, INotebooks, IOneNote, IPages, IResources, ISection, ISections, Notebook, Notebooks, OneNote, Page, Pages, Resources, Section, Sections, } from "./types.js";
export { INotebook, INotebooks, IOneNote, IResources, ISection, ISections, Notebook, Notebooks, OneNote, ICopyProps, IOnenotePage, IOnenotePages, ISectionGroup, ISectionGroups, OnenotePage, OnenotePages, SectionGroup, SectionGroups, Resources, Section, Sections, } from "./types.js";
//# sourceMappingURL=index.d.ts.map
16 changes: 8 additions & 8 deletions public/@pnp/graph/onenote/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type Combine<T, U> = T & U;
*/
export declare class _OneNote extends _GraphInstance<IOnenoteType> {
get notebooks(): INotebooks;
get pages(): IPages;
get pages(): IOnenotePages;
get resources(): IResources;
get sections(): Combine<_GraphCollection<IOnenoteSectionType[]>, Omit<ISections, "add">>;
get sectionGroups(): Combine<_GraphCollection<ISectionGroupType[]>, Omit<ISectionGroups, "add">>;
Expand Down Expand Up @@ -55,7 +55,7 @@ export declare const Notebooks: import("../graphqueryable.js").IGraphInvokableFa
* Describes a OneNote sections instance
*/
export declare class _Section extends _GraphInstance<IOnenoteSectionType> {
get pages(): IPages;
get pages(): IOnenotePages;
/**
* Copy section to notebook
* @param props of type ICopyProps. groupId (id of group to copy to. Use only when copying to M365 group), id of destination notebook, renameAs name of the copy.
Expand Down Expand Up @@ -113,7 +113,7 @@ export declare const SectionGroups: import("../graphqueryable.js").IGraphInvokab
* Describes a page instance
*
*/
export declare class _Page extends _GraphInstance<IOnenotePageType> {
export declare class _OnenotePage extends _GraphInstance<IOnenotePageType> {
/**
* Copy page to section
* @param props of type ICopyPageProps. groupId (id of group to copy to. Use only when copying to M365 group), id of destination notebook
Expand All @@ -131,24 +131,24 @@ export declare class _Page extends _GraphInstance<IOnenotePageType> {
*/
update(props: IOnenotePatchContentCommand[]): Promise<void>;
}
export interface IPage extends _Page, IDeleteable {
export interface IOnenotePage extends _OnenotePage, IDeleteable {
}
export declare const Page: import("../graphqueryable.js").IGraphInvokableFactory<IPage>;
export declare const OnenotePage: import("../graphqueryable.js").IGraphInvokableFactory<IOnenotePage>;
/**
* Describes a collection of page objects
*
*/
export declare class _Pages extends _GraphCollection<IOnenotePageType[]> {
export declare class _OnenotePages extends _GraphCollection<IOnenotePageType[]> {
/**
* Create a new page as specified in the request body.
*
* @param html page html body
*/
add(html: string): Promise<IOnenotePageType>;
}
export interface IPages extends _Pages, IGetById<IPage> {
export interface IOnenotePages extends _OnenotePages, IGetById<IOnenotePage> {
}
export declare const Pages: import("../graphqueryable.js").IGraphInvokableFactory<IPages>;
export declare const OnenotePages: import("../graphqueryable.js").IGraphInvokableFactory<IOnenotePages>;
/**
* Describes a resources
*
Expand Down
3 changes: 3 additions & 0 deletions public/@pnp/graph/open-extensions/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import "./site.js";
export { IBaseExtensionData as IBaseOpenExtension, IOpenExtension, IOpenExtensions, OpenExtension, OpenExtensions, } from "./types.js";
//# sourceMappingURL=index.d.ts.map
10 changes: 10 additions & 0 deletions public/@pnp/graph/open-extensions/site.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { IOpenExtensions } from "./types.js";
declare module "../sites/types" {
interface _Site {
readonly extensions: IOpenExtensions;
}
interface ISite {
readonly extensions: IOpenExtensions;
}
}
//# sourceMappingURL=site.d.ts.map
25 changes: 25 additions & 0 deletions public/@pnp/graph/open-extensions/types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { Extension as ExtensionType } from "@microsoft/microsoft-graph-types";
import { _GraphCollection } from "../graphqueryable.js";
import { IGetById, IDeleteable } from "../decorators.js";
export interface IBaseExtensionData {
extensionName: string;
}
/**
* Open Extension
*/
export declare class _OpenExtension extends _GraphCollection<ExtensionType> {
update<T extends IBaseExtensionData>(extension: T): Promise<any>;
}
export interface IOpenExtension extends _OpenExtension, IDeleteable {
}
export declare const OpenExtension: import("../graphqueryable.js").IGraphInvokableFactory<IOpenExtension>;
/**
* Open Extensions
*/
export declare class _OpenExtensions extends _GraphCollection<ExtensionType> {
create<T extends IBaseExtensionData>(extension: T): Promise<any>;
}
export interface IOpenExtensions extends _OpenExtensions, IGetById<IOpenExtension> {
}
export declare const OpenExtensions: import("../graphqueryable.js").IGraphInvokableFactory<IOpenExtensions>;
//# sourceMappingURL=types.d.ts.map
4 changes: 4 additions & 0 deletions public/@pnp/graph/pages/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import "./site.js";
export * from "./webpart-types.js";
export { IPage, IPages, Page, Pages, HorizontalSection, HorizontalSectionColumn, HorizontalSectionColumns, HorizontalSections, IHorizontalSection, IHorizontalSectionColumn, IHorizontalSectionColumnInfo, IHorizontalSectionColumns, IHorizontalSectionInfo, IHorizontalSections, IPageInfo, IPageUserInfo, ISitePage, ISitePageInfo, ISitePages, IVerticalSection, IVerticalSectionInfo, IWebpart, IWebparts, SitePage, SitePages, VerticalSection, Webpart, Webparts, } from "./types.js";
//# sourceMappingURL=index.d.ts.map
10 changes: 10 additions & 0 deletions public/@pnp/graph/pages/site.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { IPages } from "./types.js";
declare module "../sites/types" {
interface _Site {
readonly pages: IPages;
}
interface ISite {
readonly pages: IPages;
}
}
//# sourceMappingURL=site.d.ts.map
Loading

0 comments on commit 2a88c2c

Please sign in to comment.