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

@syncfusion/ej2-pdf

Package Overview
Dependencies
Maintainers
3
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-pdf - npm Package Compare versions

Comparing version 26.1.42 to 26.2.4

hotfix/26.1.35_Vol2.txt

2

dist/global/index.d.ts
/*!
* filename: index.d.ts
* version : 26.1.42
* version : 26.2.4
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.

@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license.

{
"_from": "@syncfusion/ej2-pdf@*",
"_id": "@syncfusion/ej2-pdf@26.1.41",
"_id": "@syncfusion/ej2-pdf@26.1.42",
"_inBundle": false,
"_integrity": "sha512-JeTlDsPE6/F0Rx5oNBek3dHa+HE9nxlHqbB2eI0k+jDS7wOZcJtH8ogu8WNiMY6NtaA4qm1ArAI34tmKjMfgVQ==",
"_integrity": "sha512-vvMQJr6fUEseSThVPp1CMy4hgbV6+jqtbyRYzsHCk2TWK4Uxw2BYMGeITrInJp3sOfHq4tfiC5+UkW5nBrfAGw==",
"_location": "/@syncfusion/ej2-pdf",

@@ -24,4 +24,4 @@ "_phantomChildren": {},

],
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-pdf/-/ej2-pdf-26.1.41.tgz",
"_shasum": "6dadafc93070cd35eb000c16da06738b200e910a",
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-pdf/-/ej2-pdf-26.1.42.tgz",
"_shasum": "aa90f341394c7944df3e50049589a28d7a49e9d2",
"_spec": "@syncfusion/ej2-pdf@*",

@@ -34,4 +34,4 @@ "_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",

"dependencies": {
"@syncfusion/ej2-base": "~26.1.42",
"@syncfusion/ej2-compression": "~26.1.35",
"@syncfusion/ej2-base": "~26.2.4",
"@syncfusion/ej2-compression": "~26.2.4",
"@types/node": "^20.12.7"

@@ -61,5 +61,5 @@ },

"typings": "index.d.ts",
"version": "26.1.42",
"version": "26.2.4",
"sideEffects": false,
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
}

@@ -33,3 +33,3 @@ import { PdfForm } from './form';

_groupFormFields(form: PdfForm, oldPage: PdfPage, newPage: PdfPage, crossReference: _PdfCrossReference): void;
_combineFormFields(form: PdfForm, field: PdfField, kidsArray: _PdfReference[], existingkids: _PdfReference[], ref: _PdfReference, array: _PdfReference[], index: number): _PdfReference[];
_combineFormFields(form: PdfForm, field: PdfField, kidsArray: _PdfReference[], existingKids: _PdfReference[], ref: _PdfReference, array: _PdfReference[], index: number): _PdfReference[];
_importFormField(page: PdfPage, pdfForm: PdfForm, newPage: PdfPage, crossReference: _PdfCrossReference): void;

@@ -36,0 +36,0 @@ _insertFormFields(index: number, crossReference: _PdfCrossReference, pdfField: PdfField, form: PdfForm, ref: _PdfReference, array: _PdfReference[], kidsArray: _PdfReference[]): _PdfReference[];

@@ -179,12 +179,12 @@ import { PdfPageOrientation } from './enumerator';

var field = form.fieldAt(i);
var existingkids = [];
var existingKids = [];
var isTextbox = field._dictionary.get('FT');
if (isTextbox.name.toString() === 'Tx') {
if (field._dictionary.has('Kids')) {
existingkids = field._dictionary.get('Kids');
if (existingkids.length > 1) {
for (var j = 0; j < existingkids.length; j++) {
existingKids = field._dictionary.get('Kids');
if (existingKids.length > 1) {
for (var j = 0; j < existingKids.length; j++) {
var fieldItem = field.itemAt(j); // eslint-disable-line
if (fieldItem.page === oldPage) {
array = this._combineFormFields(form, field, kidsArray, existingkids, newPage._ref, array, i);
array = this._combineFormFields(form, field, kidsArray, existingKids, newPage._ref, array, i);
break;

@@ -194,5 +194,5 @@ }

}
else if (existingkids.length === 1) {
else if (existingKids.length === 1) {
if (field.page === oldPage) {
array = this._combineFormFields(form, field, kidsArray, existingkids, newPage._ref, array, i);
array = this._combineFormFields(form, field, kidsArray, existingKids, newPage._ref, array, i);
}

@@ -203,3 +203,3 @@ }

if (field.page === oldPage) {
array = this._combineFormFields(form, field, kidsArray, existingkids, newPage._ref, array, i);
array = this._combineFormFields(form, field, kidsArray, existingKids, newPage._ref, array, i);
}

@@ -217,3 +217,3 @@ }

};
_PdfMergeHelper.prototype._combineFormFields = function (form, field, kidsArray, existingkids, ref, array, index) {
_PdfMergeHelper.prototype._combineFormFields = function (form, field, kidsArray, existingKids, ref, array, index) {
var fieldDictionary = this._exportFormFieldDictionary(this._crossReference, field);

@@ -223,7 +223,7 @@ if (fieldDictionary.has('Kids')) {

var _loop_1 = function (j) {
if ((kidsArray.indexOf(existingkids[Number.parseInt(j.toString(), 10)]) !== -1)) {
if ((kidsArray.indexOf(existingKids[Number.parseInt(j.toString(), 10)]) !== -1)) {
var dictionary_1 = this_1._crossReference._fetch(kids[Number.parseInt(j.toString(), 10)]);
dictionary_1.update('P', ref);
array.push(kids[Number.parseInt(j.toString(), 10)]);
var oldDictionary = this_1._crossReference._fetch(existingkids[Number.parseInt(j.toString(), 10)]);
var oldDictionary = this_1._crossReference._fetch(existingKids[Number.parseInt(j.toString(), 10)]);
oldDictionary.forEach(function (key, value) {

@@ -234,4 +234,4 @@ if (key === 'Parent') {

});
this_1._kidsReference.push(existingkids[Number.parseInt(j.toString(), 10)]);
existingkids.push(kids[Number.parseInt(j.toString(), 10)]);
this_1._kidsReference.push(existingKids[Number.parseInt(j.toString(), 10)]);
existingKids.push(kids[Number.parseInt(j.toString(), 10)]);
dictionary_1._updated = true;

@@ -384,6 +384,6 @@ field._dictionary._updated = true;

if (field._dictionary.has('Kids')) {
var existingkids = pdfField._dictionary.get('Kids');
var existingKids = pdfField._dictionary.get('Kids');
var kids = field._dictionary.get('Kids');
for (var j = 0; j < kids.length; j++) {
if ((kidsArray.indexOf(existingkids[Number.parseInt(j.toString(), 10)]) !== -1)) {
if ((kidsArray.indexOf(existingKids[Number.parseInt(j.toString(), 10)]) !== -1)) {
var dictionary = this._crossReference._fetch(kids[Number.parseInt(j.toString(), 10)]);

@@ -390,0 +390,0 @@ dictionary.update('P', ref);

@@ -150,3 +150,3 @@ import { PdfRotationAngle } from './enumerator';

*
* @returns {boolean} value Indicates formfields grouping.
* @returns {boolean} value Indicates form fields grouping.
* ```typescript

@@ -168,3 +168,3 @@ * // Load an existing PDF document

*
* @param {boolean} value Indicates formfields grouping
* @param {boolean} value Indicates form fields grouping
* ```typescript

@@ -171,0 +171,0 @@ * // Load an existing PDF document

@@ -177,3 +177,3 @@ /**

*
* @returns {boolean} value Indicates formfields grouping.
* @returns {boolean} value Indicates form fields grouping.
* ```typescript

@@ -198,3 +198,3 @@ * // Load an existing PDF document

*
* @param {boolean} value Indicates formfields grouping
* @param {boolean} value Indicates form fields grouping
* ```typescript

@@ -201,0 +201,0 @@ * // Load an existing PDF document

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

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

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

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

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