Adding Polyfill

This commit is contained in:
petkir 2020-06-04 22:56:21 +02:00
parent e0fa5f1b25
commit ee79f398d7
3 changed files with 66 additions and 12 deletions

View File

@ -2036,6 +2036,66 @@
"tslib": "1.9.3"
}
},
"@pnp/polyfill-ie11": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/@pnp/polyfill-ie11/-/polyfill-ie11-2.0.2.tgz",
"integrity": "sha512-oun6gIPflZL36bmkJHYQkh6s45Y6vYgHSAqQJ+nfITgKwfIytisaOEK+tn6kV8RhL6t42O1PXWw4P60ximIeOA==",
"requires": {
"@pnp/sp": "^2.0.0",
"core-js": "3.6.5",
"es6-map": "0.1.5",
"whatwg-fetch": "3.0.0"
},
"dependencies": {
"@pnp/common": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/@pnp/common/-/common-2.0.5.tgz",
"integrity": "sha512-swL2CBaqTHkk3JuB+WaHa3MEoRDV+JLyY5r6P6vtqiLnlYypb5ZWYgneRkq82SeJnbKP/xyMiCyhLd52KpY6Rg==",
"requires": {
"tslib": "1.10.0"
}
},
"@pnp/logging": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/@pnp/logging/-/logging-2.0.5.tgz",
"integrity": "sha512-vFuZwR4sPUcvTD/HolQvYLsaD9aO7w1mcQNKvPabG7ncYxEkI47cFnrgxxyqI2VjmyFVRvHfJTq0w6aFHeBFpQ==",
"requires": {
"tslib": "1.10.0"
}
},
"@pnp/odata": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/@pnp/odata/-/odata-2.0.5.tgz",
"integrity": "sha512-tB1Blv44T3TEhM7ZSL9MgOLkv7GFQmaYgNj3bcNcBYpLxtux6A83TU8vUAS9vz25rnNrCXxKZGmmXeACyOO6pQ==",
"requires": {
"@pnp/common": "2.0.5",
"@pnp/logging": "2.0.5",
"tslib": "1.10.0"
}
},
"@pnp/sp": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/@pnp/sp/-/sp-2.0.5.tgz",
"integrity": "sha512-i+JN/hDJY8Da1w0Zsb1lfbtl7iwmlvYD6YLdIMkmCKpsc6UmuVkYDZsDUApz5MEuIGYt497rStL7MtfnlSqGRQ==",
"requires": {
"@pnp/common": "2.0.5",
"@pnp/logging": "2.0.5",
"@pnp/odata": "2.0.5",
"tslib": "1.10.0"
}
},
"core-js": {
"version": "3.6.5",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.5.tgz",
"integrity": "sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA=="
},
"tslib": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz",
"integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ=="
}
}
},
"@pnp/sp": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/@pnp/sp/-/sp-1.3.3.tgz",
@ -4989,7 +5049,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz",
"integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==",
"dev": true,
"requires": {
"es5-ext": "^0.10.50",
"type": "^1.0.1"
@ -5560,7 +5619,6 @@
"version": "0.10.50",
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.50.tgz",
"integrity": "sha512-KMzZTPBkeQV/JcSQhI5/z6d9VWJ3EnQ194USTUwIYZ2ZbpN8+SGXQKt1h68EX44+qt+Fzr8DO17vnxrw7c3agw==",
"dev": true,
"requires": {
"es6-iterator": "~2.0.3",
"es6-symbol": "~3.1.1",
@ -5576,7 +5634,6 @@
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz",
"integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=",
"dev": true,
"requires": {
"d": "1",
"es5-ext": "^0.10.35",
@ -5587,7 +5644,6 @@
"version": "0.1.5",
"resolved": "https://registry.npmjs.org/es6-map/-/es6-map-0.1.5.tgz",
"integrity": "sha1-kTbgUD3MBqMBaQ8LsU/042TpSfA=",
"dev": true,
"requires": {
"d": "1",
"es5-ext": "~0.10.14",
@ -5615,7 +5671,6 @@
"version": "0.1.5",
"resolved": "https://registry.npmjs.org/es6-set/-/es6-set-0.1.5.tgz",
"integrity": "sha1-0rPsXU2ADO2BjbU40ol02wpzzLE=",
"dev": true,
"requires": {
"d": "1",
"es5-ext": "~0.10.14",
@ -5628,7 +5683,6 @@
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.1.tgz",
"integrity": "sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=",
"dev": true,
"requires": {
"d": "1",
"es5-ext": "~0.10.14"
@ -5738,7 +5792,6 @@
"version": "0.3.5",
"resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz",
"integrity": "sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk=",
"dev": true,
"requires": {
"d": "1",
"es5-ext": "~0.10.14"
@ -11160,8 +11213,7 @@
"next-tick": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz",
"integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=",
"dev": true
"integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw="
},
"no-case": {
"version": "2.3.2",
@ -16517,8 +16569,7 @@
"type": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/type/-/type-1.0.1.tgz",
"integrity": "sha512-MAM5dBMJCJNKs9E7JXo4CXRAansRfG0nlJxW7Wf6GZzSOvH31zClSaHdIMWLehe/EGMBkqeC55rrkaOr5Oo7Nw==",
"dev": true
"integrity": "sha512-MAM5dBMJCJNKs9E7JXo4CXRAansRfG0nlJxW7Wf6GZzSOvH31zClSaHdIMWLehe/EGMBkqeC55rrkaOr5Oo7Nw=="
},
"type-check": {
"version": "0.3.2",

View File

@ -19,6 +19,7 @@
"@pnp/common": "^1.3.3",
"@pnp/logging": "^1.3.3",
"@pnp/odata": "^1.3.3",
"@pnp/polyfill-ie11": "^2.0.2",
"@pnp/sp": "^1.3.3",
"@types/es6-promise": "0.0.33",
"@types/react": "16.7.22",

View File

@ -6,11 +6,13 @@ import {
IPropertyPaneConfiguration,
PropertyPaneTextField
} from '@microsoft/sp-property-pane';
import {sp} from '@pnp/sp';
import * as strings from 'KanbanBoardWebPartStrings';
import KanbanBoard from './components/KanbanBoard';
import { IKanbanBoardProps } from './components/IKanbanBoardProps';
import "@pnp/polyfill-ie11";
import {sp} from '@pnp/sp';
export interface IKanbanBoardWebPartProps {
listTitle: string;