paper 0.12.14 → 0.12.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +2 -2
  3. package/dist/docs/assets/js/paper.js +32 -19
  4. package/dist/docs/classes/Color.html +2 -2
  5. package/dist/docs/classes/CompoundPath.html +2 -2
  6. package/dist/docs/classes/Curve.html +2 -2
  7. package/dist/docs/classes/CurveLocation.html +2 -2
  8. package/dist/docs/classes/Event.html +2 -2
  9. package/dist/docs/classes/Gradient.html +2 -2
  10. package/dist/docs/classes/GradientStop.html +2 -2
  11. package/dist/docs/classes/Group.html +2 -2
  12. package/dist/docs/classes/HitResult.html +2 -2
  13. package/dist/docs/classes/Item.html +2 -2
  14. package/dist/docs/classes/Key.html +2 -2
  15. package/dist/docs/classes/KeyEvent.html +2 -2
  16. package/dist/docs/classes/Layer.html +2 -2
  17. package/dist/docs/classes/Matrix.html +2 -2
  18. package/dist/docs/classes/MouseEvent.html +2 -2
  19. package/dist/docs/classes/PaperScope.html +2 -2
  20. package/dist/docs/classes/PaperScript.html +2 -2
  21. package/dist/docs/classes/Path.html +2 -2
  22. package/dist/docs/classes/PathItem.html +2 -2
  23. package/dist/docs/classes/Point.html +2 -2
  24. package/dist/docs/classes/PointText.html +2 -2
  25. package/dist/docs/classes/Project.html +2 -2
  26. package/dist/docs/classes/Raster.html +35 -4
  27. package/dist/docs/classes/Rectangle.html +2 -2
  28. package/dist/docs/classes/Segment.html +3 -3
  29. package/dist/docs/classes/Shape.html +3 -3
  30. package/dist/docs/classes/Size.html +2 -2
  31. package/dist/docs/classes/Style.html +2 -2
  32. package/dist/docs/classes/SymbolDefinition.html +2 -2
  33. package/dist/docs/classes/SymbolItem.html +2 -2
  34. package/dist/docs/classes/TextItem.html +2 -2
  35. package/dist/docs/classes/Tool.html +2 -2
  36. package/dist/docs/classes/ToolEvent.html +2 -2
  37. package/dist/docs/classes/Tween.html +2 -2
  38. package/dist/docs/classes/View.html +2 -2
  39. package/dist/docs/classes/global.html +2 -2
  40. package/dist/docs/classes/index.html +2 -2
  41. package/dist/docs/index.html +1 -1
  42. package/dist/paper-core.js +32 -19
  43. package/dist/paper-core.min.js +3 -3
  44. package/dist/paper-full.js +32 -19
  45. package/dist/paper-full.min.js +3 -3
  46. package/dist/paper.d.ts +7 -4
  47. package/package.json +17 -15
package/dist/paper.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Paper.js v0.12.14 - The Swiss Army Knife of Vector Graphics Scripting.
2
+ * Paper.js v0.12.16 - The Swiss Army Knife of Vector Graphics Scripting.
3
3
  * http://paperjs.org/
4
4
  *
5
5
  * Copyright (c) 2011 - 2020, Jürg Lehni & Jonathan Puckey
@@ -9,7 +9,7 @@
9
9
  *
10
10
  * All rights reserved.
11
11
  *
12
- * Date: Wed Mar 17 10:01:28 2021 +0100
12
+ * Date: Thu Oct 20 17:38:51 2022 +0200
13
13
  *
14
14
  * This is an auto-generated type definition.
15
15
  */
@@ -5502,7 +5502,10 @@ declare namespace paper {
5502
5502
  getImageData(rect: Rectangle): ImageData
5503
5503
 
5504
5504
 
5505
- setImageData(data: ImageData, point: Point): void
5505
+ putImageData(data: ImageData, point: Point): void
5506
+
5507
+
5508
+ setImageData(data: ImageData): void
5506
5509
 
5507
5510
  }
5508
5511
 
@@ -5817,7 +5820,7 @@ declare namespace paper {
5817
5820
  * its {@link Path#segments} array.
5818
5821
  *
5819
5822
  * Each segment consists of an anchor point ({@link Segment#point}) and
5820
- * optionaly an incoming and an outgoing handle ({@link Segment#handleIn} and
5823
+ * optionally an incoming and an outgoing handle ({@link Segment#handleIn} and
5821
5824
  * {@link Segment#handleOut}), describing the tangents of the two {@link Curve}
5822
5825
  * objects that are connected by this segment.
5823
5826
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paper",
3
- "version": "0.12.14",
3
+ "version": "0.12.16",
4
4
  "description": "The Swiss Army Knife of Vector Graphics Scripting",
5
5
  "license": "MIT",
6
6
  "homepage": "http://paperjs.org",
@@ -27,10 +27,7 @@
27
27
  "test": "gulp test",
28
28
  "test:browser": "gulp test:browser",
29
29
  "test:phantom": "gulp test:phantom",
30
- "test:node": "gulp test:node",
31
- "postinstall": "husky install",
32
- "prepublish": "pinst --disable",
33
- "postpublish": "pinst --enable"
30
+ "test:node": "gulp test:node"
34
31
  },
35
32
  "files": [
36
33
  "AUTHORS.md",
@@ -43,6 +40,12 @@
43
40
  "engines": {
44
41
  "node": ">=8.0.0"
45
42
  },
43
+ "husky": {
44
+ "hooks": {
45
+ "pre-commit": "yarn jshint --ensure-branch develop",
46
+ "pre-push": "yarn test --ensure-branch develop"
47
+ }
48
+ },
46
49
  "browser": {
47
50
  "./dist/node/extend.js": false,
48
51
  "./dist/node/self.js": false,
@@ -53,8 +56,8 @@
53
56
  },
54
57
  "devDependencies": {
55
58
  "acorn": "~0.5.0",
56
- "ansi-colors": "^4.1.1",
57
- "canvas": "^2.7.0",
59
+ "ansi-colors": "^4.1.3",
60
+ "canvas": "^2.10.1",
58
61
  "del": "^5.1.0",
59
62
  "fancy-log": "^1.3.3",
60
63
  "gulp": "^3.9.1",
@@ -72,23 +75,22 @@
72
75
  "gulp-webserver": "^0.9.1",
73
76
  "gulp-whitespace": "^0.1.0",
74
77
  "gulp-zip": "^5.1.0",
75
- "husky": "^5.1.3",
76
- "jsdom": "^16.5.0",
77
- "jshint": "^2.12.0",
78
+ "husky": "^4.3.8",
79
+ "jsdom": "^16.7.0",
80
+ "jshint": "^2.13.5",
78
81
  "jshint-summary": "^0.4.0",
79
82
  "merge-stream": "^2.0.0",
80
- "minimist": "^1.2.5",
81
- "mustache": "^4.1.0",
82
- "pinst": "^2.1.6",
83
+ "minimist": "^1.2.7",
84
+ "mustache": "^4.2.0",
83
85
  "prepro": "^2.4.0",
84
86
  "qunitjs": "^1.23.1",
85
87
  "require-dir": "^1.2.0",
86
88
  "resemblejs": "^3.2.5",
87
89
  "run-sequence": "^2.2.1",
88
- "source-map-support": "^0.5.19",
90
+ "source-map-support": "^0.5.21",
89
91
  "stats.js": "^0.17.0",
90
92
  "straps": "^3.0.1",
91
- "typescript": "^3.9.9"
93
+ "typescript": "^3.9.10"
92
94
  },
93
95
  "workspaces": [
94
96
  "packages/*"