Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-pdf/primitives

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-pdf/primitives - npm Package Compare versions

Comparing version 2.0.2 to 3.0.0

9

CHANGELOG.md
# @react-pdf/primitives
## 3.0.0
### Major Changes
- [#1658](https://github.com/diegomura/react-pdf/pull/1658) [`e938df0`](https://github.com/diegomura/react-pdf/commit/e938df0857642707b10b7f65f17ed22dc394ac1b) Thanks [@jeetiss](https://github.com/jeetiss)! - convert code to esm
## 2.0.2
### Patch Changes
- [#1581](https://github.com/diegomura/react-pdf/pull/1581) [`04449ab`](https://github.com/diegomura/react-pdf/commit/04449ab352db0cca2155024dd3e8c690e42193ca) Thanks [@jeetiss](https://github.com/jeetiss)! - added changelog with changesets
{
"name": "@react-pdf/primitives",
"version": "2.0.2",
"version": "3.0.0",
"license": "MIT",

@@ -8,3 +8,4 @@ "description": "Define uninitialized elements",

"homepage": "https://github.com/diegomura/react-pdf#readme",
"main": "./src/index.js",
"main": "./lib/index.js",
"module": "./src/index.js",
"repository": {

@@ -16,2 +17,3 @@ "type": "git",

"scripts": {
"build": "babel src --out-dir lib",
"test": "jest"

@@ -18,0 +20,0 @@ },

@@ -1,24 +0,24 @@

exports.G = 'G';
exports.Svg = 'SVG';
exports.View = 'VIEW';
exports.Text = 'TEXT';
exports.Link = 'LINK';
exports.Page = 'PAGE';
exports.Note = 'NOTE';
exports.Path = 'PATH';
exports.Rect = 'RECT';
exports.Line = 'LINE';
exports.Stop = 'STOP';
exports.Defs = 'DEFS';
exports.Image = 'IMAGE';
exports.Tspan = 'TSPAN';
exports.Canvas = 'CANVAS';
exports.Circle = 'CIRCLE';
exports.Ellipse = 'ELLIPSE';
exports.Polygon = 'POLYGON';
exports.Document = 'DOCUMENT';
exports.Polyline = 'POLYLINE';
exports.ClipPath = 'CLIP_PATH';
exports.TextInstance = 'TEXT_INSTANCE';
exports.LinearGradient = 'LINEAR_GRADIENT';
exports.RadialGradient = 'RADIAL_GRADIENT';
export const G = 'G';
export const Svg = 'SVG';
export const View = 'VIEW';
export const Text = 'TEXT';
export const Link = 'LINK';
export const Page = 'PAGE';
export const Note = 'NOTE';
export const Path = 'PATH';
export const Rect = 'RECT';
export const Line = 'LINE';
export const Stop = 'STOP';
export const Defs = 'DEFS';
export const Image = 'IMAGE';
export const Tspan = 'TSPAN';
export const Canvas = 'CANVAS';
export const Circle = 'CIRCLE';
export const Ellipse = 'ELLIPSE';
export const Polygon = 'POLYGON';
export const Document = 'DOCUMENT';
export const Polyline = 'POLYLINE';
export const ClipPath = 'CLIP_PATH';
export const TextInstance = 'TEXT_INSTANCE';
export const LinearGradient = 'LINEAR_GRADIENT';
export const RadialGradient = 'RADIAL_GRADIENT';
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc