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

@bundled-es-modules/pdfjs-dist

Package Overview
Dependencies
Maintainers
5
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bundled-es-modules/pdfjs-dist - npm Package Compare versions

Comparing version 2.5.207-rc1 to 2.16.105-alpha.1

CHANGELOG.md

2

build/pdf.worker.entry.js

@@ -1,2 +0,2 @@

/* Copyright 2020 Mozilla Foundation
/* Copyright 2022 Mozilla Foundation
*

@@ -3,0 +3,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

{
"name": "@bundled-es-modules/pdfjs-dist",
"version": "2.5.207-rc1",
"version": "2.16.105-alpha.1",
"description": "mirror of pdfjs-dist, bundled and exposed as ES module",
"author": "Rob Resendez (resendez.java@gmail.com)",
"type": "module",
"module": "build/pdf.js",
"main": "build/pdf.js",

@@ -16,20 +18,15 @@ "publishConfig": {

"devDependencies": {
"@web/dev-server": "^0.1.4",
"babel-core": "^6.26.3",
"core-js": "^2.5.7",
"pdfjs-dist": "2.5.207",
"rollup": "^1.0.0",
"rollup-plugin-commonjs": "^9.0.0",
"@rollup/plugin-commonjs": "^23.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@web/dev-server": "^0.1.34",
"pdfjs-dist": "2.16.105",
"rollup": "^3.2.3",
"rollup-plugin-copy": "^3.0.0",
"rollup-plugin-ignore": "^1.0.5",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-node-resolve": "^4.0.0",
"rollup-plugin-replace": "^2.1.0",
"semver": ">=4.3.2"
"rollup-plugin-ignore": "^1.0.10",
"rollup-plugin-polyfill-node": "^0.10.2"
},
"scripts": {
"build": "rollup -c ./rollup.config.js",
"start": "web-dev-server --node-resolve --root-dir ./ --watch --app-index demo/index.html --open"
"start": "wds --node-resolve --app-index demo/index.html --root-dir ./ --open"
}
}

@@ -52,3 +52,5 @@ # pdfjs-dist

```bash
# https://github.com/FredKSchott/rollup-plugin-polyfill-node/issues/61
npm i --legacy-peer-deps
npm run build
```

@@ -1,5 +0,4 @@

import resolve from 'rollup-plugin-node-resolve';
import builtins from 'rollup-plugin-node-builtins';
import globals from 'rollup-plugin-node-globals';
import commonjs from 'rollup-plugin-commonjs';
import commonjs from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
import nodePolyfills from 'rollup-plugin-polyfill-node';
import copy from 'rollup-plugin-copy';

@@ -32,3 +31,3 @@ import ignore from 'rollup-plugin-ignore';

{
input: './src/core/pdf.js',
input: './src/core/pdf.cjs',
output: {

@@ -44,9 +43,3 @@ file: './build/pdf.js',

}),
commonjs({
namedExports: {
'node_modules/buffer/index.js': ['isBuffer'],
'node_modules/process/browser.js': ['nextTick'],
'node_modules/events/events.js': ['EventEmitter']
}
}),
commonjs(),
copy({

@@ -76,8 +69,7 @@ targets: [

}),
globals(),
builtins()
nodePolyfills()
]
},
{
input: './src/viewer/module.js',
input: './src/viewer/module.cjs',
output: {

@@ -106,6 +98,5 @@ file: './web/module.js',

}),
globals(),
builtins()
nodePolyfills()
]
}
];

@@ -1,5 +0,5 @@

import "./util";
import viewer from "./module";
import "./util.js";
import viewer from "./module.js";
delete window["pdfjs-dist/build/pdf"];
export default viewer;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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