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

docxtemplater

Package Overview
Dependencies
Maintainers
1
Versions
319
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docxtemplater - npm Package Compare versions

Comparing version 3.47.1 to 3.47.2

4

js/docxtemplater.js

@@ -6,3 +6,3 @@ "use strict";

function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

@@ -41,3 +41,3 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }

throwApiVersionError = _require2.throwApiVersionError;
var currentModuleApiVersion = [3, 39, 0];
var currentModuleApiVersion = [3, 40, 0];
function dropUnsupportedFileTypesModules(dx) {

@@ -44,0 +44,0 @@ dx.modules = dx.modules.filter(function (module) {

@@ -28,4 +28,4 @@ "use strict";

"neededVersion": [5, 6, 0],
"currentModuleApiVersion": [3, 39, 0],
"explanation": "moduleAPIVersionMismatch : needed=5.6.0, current=3.39.0"
"currentModuleApiVersion": [3, 40, 0],
"explanation": "moduleAPIVersionMismatch : needed=5.6.0, current=3.40.0"
}

@@ -40,4 +40,4 @@ };

"neededVersion": [3, 44, 0],
"currentModuleApiVersion": [3, 39, 0],
"explanation": "moduleAPIVersionMismatch : needed=3.44.0, current=3.39.0"
"currentModuleApiVersion": [3, 40, 0],
"explanation": "moduleAPIVersionMismatch : needed=3.44.0, current=3.40.0"
}

@@ -51,5 +51,5 @@ };

"id": "api_version_error",
"neededVersion": [3, 39, 100],
"currentModuleApiVersion": [3, 39, 0],
"explanation": "moduleAPIVersionMismatch : needed=3.39.100, current=3.39.0"
"neededVersion": [3, 40, 100],
"currentModuleApiVersion": [3, 40, 0],
"explanation": "moduleAPIVersionMismatch : needed=3.40.100, current=3.40.0"
}

@@ -56,0 +56,0 @@ };

@@ -90,3 +90,3 @@ "use strict";

expectToThrowSnapshot(doc.verifyApiVersion.bind(null, "3.44.0"));
expectToThrowSnapshot(doc.verifyApiVersion.bind(null, "3.39.100"));
expectToThrowSnapshot(doc.verifyApiVersion.bind(null, "3.40.100"));
});

@@ -93,0 +93,0 @@ });

@@ -52,3 +52,3 @@ "use strict";

id: "api_version_error",
currentModuleApiVersion: [3, 39, 0],
currentModuleApiVersion: [3, 40, 0],
neededVersion: [3, 92, 0]

@@ -55,0 +55,0 @@ }

@@ -280,3 +280,3 @@ "use strict";

// https://github.com/open-xml-templating/docxtemplater/issues/671
!part.subparsed) {
!part.subparsed && !part.expanded) {
try {

@@ -283,0 +283,0 @@ var limit = getExpandLimit(part, i, postparsed, options);

{
"name": "docxtemplater",
"version": "3.47.1",
"version": "3.47.2",
"author": "Edgar Hipp",

@@ -43,7 +43,7 @@ "description": "Generate docx, pptx, and xlsx from templates (Word, Powerpoint and Excel documents), from Node.js, the Browser and the command line",

"@arethetypeswrong/cli": "^0.15.3",
"@babel/cli": "^7.24.1",
"@babel/core": "^7.24.4",
"@babel/eslint-parser": "^7.24.1",
"@babel/cli": "^7.24.5",
"@babel/core": "^7.24.5",
"@babel/eslint-parser": "^7.24.5",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/preset-env": "^7.24.4",
"@babel/preset-env": "^7.24.5",
"@stryker-mutator/core": "^8.2.6",

@@ -50,0 +50,0 @@ "@stryker-mutator/mocha-runner": "^8.2.6",

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

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