Skip to content

Commit

Permalink
Bump version to 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Hopding committed May 30, 2020
1 parent dd32d28 commit c47aae6
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 8 deletions.
7 changes: 6 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,18 @@ In addition to unit tests, we maintain a suite of integration tests for 3 differ

> **Make sure to [compile the code](#compiling-the-project) before running these tests**
There are integration tests for Node, browser, and React Native environments:
There are integration tests for Node, Deno, browser, and React Native environments:

- To run the tests for Node:
```
yarn apps:node
# Follow the prompts in your terminal
```
- To run the tests for Deno:
```
yarn apps:deno
# Follow the prompts in your terminal
```
- To run the tests for the browser:
```
yarn apps:web
Expand Down
1 change: 1 addition & 0 deletions apps/rn/src/tests/test1.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
LineCapStyle,
LineJoinStyle,
lineTo,
typedArrayFor,
moveTo,
PDFDocument,
popGraphicsState,
Expand Down
2 changes: 1 addition & 1 deletion apps/rn/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4891,7 +4891,7 @@ path-type@^3.0.0:
pify "^3.0.0"

pdf-lib@./../..:
version "1.6.1"
version "1.7.0"
dependencies:
"@pdf-lib/standard-fonts" "^0.0.4"
"@pdf-lib/upng" "^1.0.1"
Expand Down
6 changes: 3 additions & 3 deletions apps/web/test1.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<meta
http-equiv="Content-Security-Policy"
content="
default-src 'self' 'unsafe-inline' blob: resource: https://unpkg.com/@pdf-lib/fontkit/dist/fontkit.umd.js;
object-src 'self' blob:;
frame-src 'self' blob:;
default-src 'self' 'unsafe-inline' blob: data: resource: https://unpkg.com/@pdf-lib/fontkit/dist/fontkit.umd.js;
object-src 'self' blob: data:;
frame-src 'self' blob: data:;
"
/>
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion apps/web/test3.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta
http-equiv="Content-Security-Policy"
content="
default-src 'self' 'unsafe-inline' blob: resource:;
default-src 'self' 'unsafe-inline' blob: resource: data:;
object-src 'self' data:;
frame-src 'self' data:;
"
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pdf-lib",
"version": "1.6.1",
"version": "1.7.0",
"description": "Create and modify PDF files with JavaScript",
"author": "Andrew Dillon <[email protected]>",
"contributors": [
Expand All @@ -19,7 +19,8 @@
"Guillaume Grossetie (https://github.com/Mogztter)",
"Philipp Tessenow (https://github.com/tessi)",
"Tim Kräuter (https://github.com/timKraeuter)",
"Richard Bateman (https://github.com/taxilian)"
"Richard Bateman (https://github.com/taxilian)",
"Sebastian Martinez (https://github.com/sebastinez)"
],
"scripts": {
"release:latest": "yarn publish --tag latest && yarn pack && yarn release:tag",
Expand Down

0 comments on commit c47aae6

Please sign in to comment.