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

svelte-pdfjs

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-pdfjs - npm Package Compare versions

Comparing version 0.6.2 to 0.7.0

dist/index.d.ts

8

CHANGELOG.md
# svelte-pdfjs
## 0.7.0
### Minor Changes
- 4b2093c: [breaking] add exports field
[breaking] `svelte-pdfjs/utils/vite` is now `svelte-pdfjs/vite`
document is not loaded on the server side
## 0.6.2

@@ -4,0 +12,0 @@

60

package.json
{
"name": "svelte-pdfjs",
"version": "0.6.2",
"version": "0.7.0",
"devDependencies": {
"@changesets/cli": "^2.26.1",
"@sveltejs/adapter-static": "^2.0.2",
"@sveltejs/kit": "^1.16.3",
"@sveltejs/package": "^2.0.2",
"pdfjs-dist": "3.0.279",
"prettier": "^2.8.8",
"prettier-plugin-svelte": "^2.10.0",
"svelte": "^3.54.0",
"svelte-check": "^3.3.2",
"svelte2tsx": "^0.6.14",
"tslib": "^2.5.0",
"typescript": "^5.0.4",
"vite": "^4.3.5"
},
"exports": {
".": {
"svelte": "./dist/index.js",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./vite": {
"import": "./dist/utils/vite.js",
"types": "./dist/utils/vite.d.ts"
}
},
"engines": {

@@ -22,19 +48,23 @@ "node": ">=16.0.0"

},
"exports": {
"./package.json": "./package.json",
"./PDFViewer/Document.svelte": "./PDFViewer/Document.svelte",
"./PDFViewer/Page.svelte": "./PDFViewer/Page.svelte",
"./PDFViewer/PageInternals/AnnotLayer.svelte": "./PDFViewer/PageInternals/AnnotLayer.svelte",
"./PDFViewer/PageInternals/PageCanvas.svelte": "./PDFViewer/PageInternals/PageCanvas.svelte",
"./PDFViewer/PageInternals/PageSVG.svelte": "./PDFViewer/PageInternals/PageSVG.svelte",
"./PDFViewer/PageInternals/TextLayer.svelte": "./PDFViewer/PageInternals/TextLayer.svelte",
".": "./index.js",
"./utils/target_dimension": "./utils/target_dimension.js",
"./utils/vite": "./utils/vite.js"
"dependencies": {
"pdfjs-dist": "^3.0.279",
"esm-env": "^1.0.0"
},
"svelte": "./index.js",
"peerDependencies": {
"svelte": "^3.54.0",
"pdfjs-dist": "3.0.279"
"svelte": "^3.54.0"
},
"files": [
"dist",
"CHANGELOG.md"
],
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --ignore-path .prettierignore --check --plugin-search-dir=. .",
"format": "prettier --ignore-path .prettierignore --write --plugin-search-dir=. .",
"package": "svelte-package"
}
}
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