Skip to content

Commit

Permalink
Merge pull request #3596 from microsoft-search/wobba/pre-release-fixes
Browse files Browse the repository at this point in the history
v4.11 pre-release fixes
  • Loading branch information
wobba authored Mar 4, 2024
2 parents 039491e + f6c3d35 commit ab9dec6
Show file tree
Hide file tree
Showing 6 changed files with 120 additions and 131 deletions.
2 changes: 1 addition & 1 deletion search-parts/config/package-solution.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"solution": {
"name": "PnP Modern Search - Search Web Parts - v4",
"id": "59903278-dd5d-4e9e-bef6-562aae716b8b",
"version": "4.10.2.0",
"version": "4.11.0.0",
"includeClientSideAssets": true,
"skipFeatureDeployment": true,
"isDomainIsolated": false,
Expand Down
229 changes: 108 additions & 121 deletions search-parts/package-lock.json

Large diffs are not rendered by default.

14 changes: 8 additions & 6 deletions search-parts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pnp/modern-search-web-parts",
"version": "4.10.2",
"version": "4.11.0",
"private": true,
"main": "lib/index.js",
"engines": {
Expand All @@ -17,9 +17,9 @@
"@fluentui/react-file-type-icons": "8.11.3",
"@fluentui/react-theme-provider": "0.19.16",
"@iconify/react": "^4.1.1",
"@microsoft/mgt-components": "4.0.1",
"@microsoft/mgt-element": "4.0.1",
"@microsoft/mgt-sharepoint-provider": "4.0.1",
"@microsoft/mgt-components": "4.1.0",
"@microsoft/mgt-element": "4.1.0",
"@microsoft/mgt-sharepoint-provider": "4.1.0",
"@microsoft/sp-adaptive-card-extension-base": "1.18.2",
"@microsoft/sp-component-base": "1.18.2",
"@microsoft/sp-core-library": "1.18.2",
Expand Down Expand Up @@ -106,7 +106,8 @@
"set-value": "4.0.1",
"unset-value": "2.0.1",
"remarkable": "2.0.1",
"uglify-js": ">3.15.5"
"uglify-js": ">3.15.5",
"moment": "2.30.1"
},
"pnpm": {
"overrides": {
Expand All @@ -123,7 +124,8 @@
"set-value": "4.0.1",
"unset-value": "2.0.1",
"remarkable": "2.0.1",
"uglify-js": ">3.15.5"
"uglify-js": ">3.15.5",
"moment": "2.30.1"
}
}
}
2 changes: 1 addition & 1 deletion search-parts/src/common/Constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class Constants {
/**
* The regular expression to sanitize URIs with DomPurify
*/
public static readonly ALLOWED_URI_REGEXP = '/^(?:(?:(?:f|ht)tps?|mailto|file|tel|callto|im|cid|xmpp|xxx|ms-\w+):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i';
public static readonly ALLOWED_URI_REGEXP = /^(?:(?:(?:f|ht)tps?|mailto|file|tel|callto|im|cid|xmpp|xxx|ms-\w+):|[^a-z]|[a-z+.-]+(?:[^a-z+.-:]|$))/i;
}

export enum AutoCalculatedDataSourceFields {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { IPropertyPaneField, PropertyPaneToggle, PropertyPaneDropdown, PropertyP
import { TemplateValueFieldEditor, ITemplateValueFieldEditorProps } from '../../../controls/TemplateValueFieldEditor/TemplateValueFieldEditor';
import { AsyncCombo } from "../../../controls/PropertyPaneAsyncCombo/components/AsyncCombo";
import { IAsyncComboProps } from "../../../controls/PropertyPaneAsyncCombo/components/IAsyncComboProps";
import { PropertyFieldNumber } from "@pnp/spfx-property-controls";
import { PropertyFieldNumber } from "@pnp/spfx-property-controls/lib/PropertyFieldNumber";

/**
* Details List Builtin Layout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import SearchBoxAutoComplete from './SearchBoxAutoComplete/SearchBoxAutoComplete
import styles from './SearchBoxContainer.module.scss';
import { BuiltinTokenNames } from '../../../services/tokenService/TokenService';
import { isEmpty } from '@microsoft/sp-lodash-subset';
import { WebPartTitle } from '@pnp/spfx-controls-react';
import { WebPartTitle } from '@pnp/spfx-controls-react/lib/WebPartTitle';

export default class SearchBoxContainer extends React.Component<ISearchBoxContainerProps, ISearchBoxContainerState> {

Expand Down

0 comments on commit ab9dec6

Please sign in to comment.