Skip to content

Commit

Permalink
v1.9.1
Browse files Browse the repository at this point in the history
### Fixes
- ANSWERS.init no longer performs an unsafe eval (#1461).
  • Loading branch information
oshi97 authored Jul 12, 2021
2 parents 2598b23 + 8f2ccda commit 44c9c88
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 22 deletions.
48 changes: 29 additions & 19 deletions THIRD-PARTY-NOTICES
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The following NPM packages may be included in this product:

- @yext/answers-search-ui@1.9.0
- @yext/answers-search-ui@1.9.1
- @yext/answers-storage@1.1.0

These packages each contain the following license and notice below:
Expand Down Expand Up @@ -6227,31 +6227,41 @@ IN THE SOFTWARE.

The following NPM packages may be included in this product:

- regenerator-runtime@0.13.7
- regenerator-runtime@0.13.1

These packages each contain the following license and notice below:

MIT License
# regenerator-runtime

Copyright (c) 2014-present, Facebook, Inc.
Standalone runtime for
[Regenerator](https://github.com/facebook/regenerator)-compiled generator
and `async` functions.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
To import the runtime as a module (recommended), either of the following
import styles will work:
```js
// CommonJS
const regeneratorRuntime = require("regenerator-runtime");

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
// ECMAScript 2015
import regeneratorRuntime from "regenerator-runtime";
```

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
To ensure that `regeneratorRuntime` is defined globally, either of the
following styles will work:
```js
// CommonJS
require("regenerator-runtime/runtime");

// ECMAScript 2015
import "regenerator-runtime/runtime";
```

To get the absolute file system path of `runtime.js`, evaluate the
following expression:
```js
require("regenerator-runtime/path").path
```

-----------

Expand Down
67 changes: 65 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@yext/answers-search-ui",
"version": "1.9.0",
"version": "1.9.1",
"description": "Javascript Answers Programming Interface",
"main": "dist/answers-umd.js",
"repository": {
Expand Down Expand Up @@ -82,6 +82,7 @@
"i18next-conv": "^10.0.2",
"jest": "^24.8.0",
"jsdoc": "^3.6.3",
"npm-force-resolutions": "0.0.10",
"postcss-pxtorem": "4.0.1",
"regenerator-runtime": "^0.13.7",
"rollup": "^1.4.1",
Expand Down Expand Up @@ -110,10 +111,14 @@
"size": "size-limit",
"fix": "eslint . --fix",
"extract-translations": "gulp extractTranslations",
"preinstall": "npx npm-force-resolutions",
"prepublishOnly": "./conf/npm/prepublishOnly.sh",
"postpublish": "./conf/npm/postpublish.sh",
"generate-notices": "generate-license-file --input package.json --output THIRD-PARTY-NOTICES"
},
"resolutions": {
"regenerator-runtime": "0.13.1"
},
"jest": {
"bail": 0,
"collectCoverageFrom": [
Expand Down

0 comments on commit 44c9c88

Please sign in to comment.