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

@universal-packages/variable-replacer

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@universal-packages/variable-replacer - npm Package Compare versions

Comparing version 1.7.2 to 1.8.0

3

cleanOrphanReplaceable.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.cleanOrphanReplaceable = void 0;
exports.cleanOrphanReplaceable = cleanOrphanReplaceable;
function cleanOrphanReplaceable(input, enclosures = ['{{', '}}']) {

@@ -10,3 +10,2 @@ const enclosureA = `\\${enclosures[0].split('').join('\\')}`;

}
exports.cleanOrphanReplaceable = cleanOrphanReplaceable;
//# sourceMappingURL=cleanOrphanReplaceable.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.evaluate = void 0;
exports.evaluate = evaluate;
const isolatedEval_1 = require("./isolatedEval");

@@ -19,3 +19,2 @@ function evaluate(input, scope) {

}
exports.evaluate = evaluate;
//# sourceMappingURL=evaluate.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.evaluateAndReplace = void 0;
exports.evaluateAndReplace = evaluateAndReplace;
const isolatedEval_1 = require("./isolatedEval");

@@ -28,3 +28,2 @@ function evaluateAndReplace(input, options) {

}
exports.evaluateAndReplace = evaluateAndReplace;
//# sourceMappingURL=evaluateAndReplace.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.____MMMEVALUEATE98786875674674 = void 0;
exports.____MMMEVALUEATE98786875674674 = ____MMMEVALUEATE98786875674674;
function ____MMMEVALUEATE98786875674674(____YYYEXPRESSION324234324, __XXXSCOPE836478623846) {

@@ -15,3 +15,2 @@ const __XXXSCOPE836478623846Keys = Object.keys(__XXXSCOPE836478623846 || {});

}
exports.____MMMEVALUEATE98786875674674 = ____MMMEVALUEATE98786875674674;
//# sourceMappingURL=isolatedEval.js.map
{
"name": "@universal-packages/variable-replacer",
"version": "1.7.2",
"version": "1.8.0",
"description": "Easily inject environment variables or provided variables to compose richer strings.",

@@ -20,9 +20,9 @@ "author": "David De Anda <david@universal-packages.com> (https://github.com/universal-packages)",

"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/jest": "^29.5.12",
"@types/jest": "^29.5.14",
"@types/node": "^18.11.9",
"@universal-packages/maintenance": "^1.6.3",
"@universal-packages/maintenance": "^1.6.12",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"ts-jest": "^29.1.2",
"typescript": "^5.4.3"
"prettier": "^3.4.1",
"ts-jest": "^29.2.5",
"typescript": "^5.7.2"
},

@@ -29,0 +29,0 @@ "jest": {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.replaceEnv = void 0;
exports.replaceEnv = replaceEnv;
const replaceVars_1 = require("./replaceVars");

@@ -8,3 +8,2 @@ function replaceEnv(input, enclosures) {

}
exports.replaceEnv = replaceEnv;
//# sourceMappingURL=replaceEnv.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.replaceVars = void 0;
exports.replaceVars = replaceVars;
function replaceVars(input, variables, enclosures = ['{{', '}}']) {

@@ -25,3 +25,2 @@ let finalValue = input;

}
exports.replaceVars = replaceVars;
//# sourceMappingURL=replaceVars.js.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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