New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

buildstamp

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buildstamp - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## buildstamp [1.4.2](https://github.com/qiwi/buildstamp/compare/buildstamp@1.4.1...buildstamp@1.4.2) (2021-02-16)
### Performance Improvements
* update deps ([#45](https://github.com/qiwi/buildstamp/issues/45)) ([8774e47](https://github.com/qiwi/buildstamp/commit/8774e473744c75740ffe96a8b668601aa7d4579d))
## buildstamp [1.4.1](https://github.com/qiwi/buildstamp/compare/buildstamp@1.4.0...buildstamp@1.4.1) (2020-11-25)

@@ -2,0 +9,0 @@

2

flow-typed/index.flow.js
/**
* Flowtype definitions for index
* Generated by Flowgen from a Typescript Definition
* Flowgen v1.12.0
* Flowgen v1.13.0
*/

@@ -6,0 +6,0 @@

{
"name": "buildstamp",
"version": "1.4.1",
"version": "1.4.2",
"private": false,

@@ -30,3 +30,3 @@ "publishConfig": {

"coveralls:push": "cat ./coverage/lcov.info | coveralls || exit 0",
"docs": "typedoc --readme README.md --tsconfig tsconfig.json src/main --ignoreCompilerErrors || exit 0",
"docs": "typedoc --readme README.md --tsconfig tsconfig.json src/main",
"uglify": "for f in $(find target -name '*.js'); do short=${f%.js}; terser -c -m -o $short.js -- $f; done",

@@ -54,22 +54,21 @@ "postupdate": "yarn && npx yarn-audit-fix && yarn build && yarn test",

"devDependencies": {
"@qiwi/libdefkit": "^2.1.4",
"@qiwi/libdefkit": "^2.1.6",
"@qiwi/license": "^1.1.3",
"@swissquote/crafty-preset-jest": "^1.13.7",
"@types/jest": "^26.0.15",
"@types/jest": "^26.0.20",
"@types/mkdirp": "^1.0.1",
"@types/node": "^14.14.6",
"@types/node": "^14.14.28",
"@types/rimraf": "^3.0.0",
"coveralls": "^3.1.0",
"prettier": "^2.1.2",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"terser": "^5.3.8",
"ts-jest": "^26.4.3",
"typedoc": "^0.19.2",
"typedoc-plugin-external-module-name": "^4.0.3",
"typescript": "4.0.5"
"terser": "^5.6.0",
"ts-jest": "^26.5.1",
"typedoc": "^0.20.25",
"typescript": "4.1.5"
},
"dependencies": {
"find-git-root": "^1.0.4",
"meow": "^8.0.0",
"tslib": "^2.0.3"
"meow": "^9.0.0",
"tslib": "^2.1.0"
},

@@ -76,0 +75,0 @@ "bin": {

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

var generators_1 = require("../generators");
exports.dateChunk = function (ctx) {
var dateChunk = function (ctx) {
var options = ctx.options, stamp = ctx.stamp;

@@ -18,2 +18,3 @@ if (!options || !options.date) {

};
exports.dateChunk = dateChunk;
//# sourceMappingURL=date.js.map

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

var tslib_1 = require("tslib");
exports.dockerChunk = function (ctx) {
var dockerChunk = function (ctx) {
var options = ctx.options, stamp = ctx.stamp;

@@ -13,2 +13,3 @@ if (!options || !options.docker) {

};
exports.dockerChunk = dockerChunk;
//# sourceMappingURL=docker.js.map

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

var utils_1 = require("../utils");
exports.getGitInfo = function (cwd) {
var getGitInfo = function (cwd) {
if (cwd === void 0) { cwd = process.cwd(); }

@@ -29,3 +29,4 @@ var gitFolder = find_git_root_1.default(cwd);

};
exports.gitChunk = function (ctx) {
exports.getGitInfo = getGitInfo;
var gitChunk = function (ctx) {
var options = ctx.options, stamp = ctx.stamp, cwd = ctx.cwd;

@@ -37,2 +38,3 @@ if (!options || !options.git) {

};
exports.gitChunk = gitChunk;
//# sourceMappingURL=git.js.map

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

var utils_1 = require("../utils");
exports.loggerChunk = function (ctx) {
var loggerChunk = function (ctx) {
var _a, _b;

@@ -15,2 +15,3 @@ if (ctx.stamp) {

};
exports.loggerChunk = loggerChunk;
//# sourceMappingURL=logger.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.normalizeChunk = void 0;
exports.normalizeChunk = function (ctx, _env) {
var normalizeChunk = function (ctx, _env) {
var env = _env || process.env;

@@ -12,2 +12,3 @@ return {

};
exports.normalizeChunk = normalizeChunk;
//# sourceMappingURL=normalize.js.map

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

var utils_1 = require("../utils");
exports.writerChunk = function (ctx) {
var writerChunk = function (ctx) {
var _a;

@@ -27,2 +27,3 @@ var out = (_a = ctx === null || ctx === void 0 ? void 0 : ctx.options) === null || _a === void 0 ? void 0 : _a.out;

};
exports.writerChunk = writerChunk;
//# sourceMappingURL=writer.js.map

@@ -18,6 +18,7 @@ "use strict";

];
exports.execute = function (options, env) {
var execute = function (options, env) {
if (env === void 0) { env = process.env; }
return exports.chunks.reduce(function (ctx, chunk) { return chunk(ctx, env); }, { options: options, stamp: {} }).stamp;
};
exports.execute = execute;
//# sourceMappingURL=executor.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.now = void 0;
exports.now = function () { return Date.now(); };
var now = function () { return Date.now(); };
exports.now = now;
//# sourceMappingURL=generators.js.map

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

var utils_1 = require("./utils");
exports.readBuildstamp = function (stampPath) {
var readBuildstamp = function (stampPath) {
try {

@@ -14,2 +14,3 @@ return JSON.parse(utils_1.readFileToString(stampPath));

};
exports.readBuildstamp = readBuildstamp;
//# sourceMappingURL=getter.js.map

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

var utils_1 = require("../utils");
exports.resolveFilePath = function (path, sep) {
var resolveFilePath = function (path, sep) {
if (utils_1.hasTrailingSeparator(path, sep)) {

@@ -23,2 +23,3 @@ fs_1.mkdirSync(path, { recursive: true });

};
exports.resolveFilePath = resolveFilePath;
//# sourceMappingURL=pathResolver.js.map

@@ -5,8 +5,11 @@ "use strict";

var fs_1 = require("fs");
exports.readFileToString = function (path) { return fs_1.readFileSync(path, 'utf-8'); };
exports.hasTrailingSeparator = function (path, sep) {
var readFileToString = function (path) { return fs_1.readFileSync(path, 'utf-8'); };
exports.readFileToString = readFileToString;
var hasTrailingSeparator = function (path, sep) {
return path.slice(-sep.length) === sep;
};
exports.hasTrailingSeparator = hasTrailingSeparator;
// eslint-disable-next-line unicorn/no-null
exports.formatOutput = function (output, space) { return JSON.stringify(output, null, space); };
var formatOutput = function (output, space) { return JSON.stringify(output, null, space); };
exports.formatOutput = formatOutput;
//# sourceMappingURL=utils.js.map

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

const generators_1 = require("../generators");
exports.dateChunk = (ctx) => {
const dateChunk = (ctx) => {
const { options, stamp } = ctx;

@@ -17,2 +17,3 @@ if (!options || !options.date) {

};
exports.dateChunk = dateChunk;
//# sourceMappingURL=date.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.dockerChunk = void 0;
exports.dockerChunk = (ctx) => {
const dockerChunk = (ctx) => {
const { options, stamp } = ctx;

@@ -11,2 +11,3 @@ if (!options || !options.docker) {

};
exports.dockerChunk = dockerChunk;
//# sourceMappingURL=docker.js.map

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

const utils_1 = require("../utils");
exports.getGitInfo = (cwd = process.cwd()) => {
const getGitInfo = (cwd = process.cwd()) => {
const gitFolder = find_git_root_1.default(cwd);

@@ -28,3 +28,4 @@ const rev = utils_1.readFileToString(`${gitFolder}${path_1.sep}HEAD`).trim();

};
exports.gitChunk = (ctx) => {
exports.getGitInfo = getGitInfo;
const gitChunk = (ctx) => {
const { options, stamp, cwd } = ctx;

@@ -36,2 +37,3 @@ if (!options || !options.git) {

};
exports.gitChunk = gitChunk;
//# sourceMappingURL=git.js.map

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

const utils_1 = require("../utils");
exports.loggerChunk = (ctx) => {
const loggerChunk = (ctx) => {
var _a, _b;

@@ -15,2 +15,3 @@ if (ctx.stamp) {

};
exports.loggerChunk = loggerChunk;
//# sourceMappingURL=logger.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.normalizeChunk = void 0;
exports.normalizeChunk = (ctx, _env) => {
const normalizeChunk = (ctx, _env) => {
const env = _env || process.env;

@@ -12,2 +12,3 @@ return {

};
exports.normalizeChunk = normalizeChunk;
//# sourceMappingURL=normalize.js.map

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

const utils_1 = require("../utils");
exports.writerChunk = (ctx) => {
const writerChunk = (ctx) => {
var _a;

@@ -27,2 +27,3 @@ const out = (_a = ctx === null || ctx === void 0 ? void 0 : ctx.options) === null || _a === void 0 ? void 0 : _a.out;

};
exports.writerChunk = writerChunk;
//# sourceMappingURL=writer.js.map

@@ -18,3 +18,4 @@ "use strict";

];
exports.execute = (options, env = process.env) => exports.chunks.reduce((ctx, chunk) => chunk(ctx, env), { options, stamp: {} }).stamp;
const execute = (options, env = process.env) => exports.chunks.reduce((ctx, chunk) => chunk(ctx, env), { options, stamp: {} }).stamp;
exports.execute = execute;
//# sourceMappingURL=executor.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.now = void 0;
exports.now = () => Date.now();
const now = () => Date.now();
exports.now = now;
//# sourceMappingURL=generators.js.map

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

const utils_1 = require("./utils");
exports.readBuildstamp = (stampPath) => {
const readBuildstamp = (stampPath) => {
try {

@@ -14,2 +14,3 @@ return JSON.parse(utils_1.readFileToString(stampPath));

};
exports.readBuildstamp = readBuildstamp;
//# sourceMappingURL=getter.js.map

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

const utils_1 = require("../utils");
exports.resolveFilePath = (path, sep) => {
const resolveFilePath = (path, sep) => {
if (utils_1.hasTrailingSeparator(path, sep)) {

@@ -23,2 +23,3 @@ fs_1.mkdirSync(path, { recursive: true });

};
exports.resolveFilePath = resolveFilePath;
//# sourceMappingURL=pathResolver.js.map

@@ -5,8 +5,11 @@ "use strict";

const fs_1 = require("fs");
exports.readFileToString = (path) => fs_1.readFileSync(path, 'utf-8');
exports.hasTrailingSeparator = (path, sep) => {
const readFileToString = (path) => fs_1.readFileSync(path, 'utf-8');
exports.readFileToString = readFileToString;
const hasTrailingSeparator = (path, sep) => {
return path.slice(-sep.length) === sep;
};
exports.hasTrailingSeparator = hasTrailingSeparator;
// eslint-disable-next-line unicorn/no-null
exports.formatOutput = (output, space) => JSON.stringify(output, null, space);
const formatOutput = (output, space) => JSON.stringify(output, null, space);
exports.formatOutput = formatOutput;
//# sourceMappingURL=utils.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

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

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

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