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

@neoskop/dockerfile.js

Package Overview
Dependencies
Maintainers
8
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neoskop/dockerfile.js - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3-rc.0

4

lib/dockerfile.js

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

this._args.map(arg => arg.toDockerCommand()).join('\n'),
[...this].map(stage => stage.toString(buildContext))
...[...this].map(stage => stage.toString(buildContext))
].filter(Boolean).join('\n\n');

@@ -40,2 +40,2 @@ }

exports.dockerfile = dockerfile;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9ja2VyZmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9saWIvZG9ja2VyZmlsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDZDQUEwQztBQUc3QixRQUFBLGdCQUFnQixHQUFHOzs7K0JBR0QsQ0FBQTtBQVUvQixNQUFhLFVBQVcsU0FBUSx1QkFBVTtJQUl0QyxZQUFZLFVBQXVDLEVBQUU7UUFDakQsS0FBSyxFQUFFLENBQUM7UUFKRixVQUFLLEdBQVUsRUFBRSxDQUFDO1FBS3hCLElBQUksQ0FBQyxRQUFRLGlCQUNOO1lBQ0MsUUFBUSxFQUFFLHdCQUFnQjtTQUM3QixFQUNFLE9BQU8sQ0FDYixDQUFDO0lBQ04sQ0FBQztJQUlELElBQUksQ0FBQyxHQUFTLEVBQUUsR0FBRyxJQUFXO1FBQzFCLElBQUcsR0FBRyxFQUFFO1lBQ0osSUFBSSxDQUFDLEtBQUssQ0FBQyxJQUFJLENBQUMsR0FBRyxFQUFFLEdBQUcsSUFBSSxDQUFDLENBQUM7WUFDOUIsT0FBTyxJQUFJLENBQUM7U0FDZjtRQUVELE9BQU8sSU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biAgICAgICAgcmV0dXJuIHRoaXMuX2FyZ3M7XG4gICAgfVxuXG4gICAgdG9TdHJpbmcoKSB7XG4gICAgICAgIGNvbnN0IGJ1aWxkQ29udGV4dCA9IHtcbiAgICAgICAgICAgIGRvY2tlcmZpbGU6IHRoaXNcbiAgICAgICAgfTtcblxuICAgICAgICByZXR1cm4gW1xuICAgICAgICAgICAgdGhpcy5fb3B0aW9ucy5wcmVhbWJsZSxcbiAgICAgICAgICAgIHRoaXMuX2FyZ3MubWFwKGFyZyA9PiBhcmcudG9Eb2NrZXJDb21tYW5kKCkpLmpvaW4oJ1xcbicpLFxuICAgICAgICAgICAgLi4uWyAuLi50aGlzIF0ubWFwKHN0YWdlID0+IHN0YWdlLnRvU3RyaW5nKGJ1aWxkQ29udGV4dCkpXG4gICAgICAgIF0uZmlsdGVyKEJvb2xlYW4pLmpvaW4oJ1xcblxcbicpXG4gICAgfVxufVxuXG5leHBvcnQgZnVuY3Rpb24gZG9ja2VyZmlsZSguLi5hcmdzIDogQ29uc3RydWN0b3JQYXJhbWV0ZXJzPHR5cGVvZiBEb2NrZXJmaWxlPikge1xuICAgIHJldHVybiBuZXcgRG9ja2VyZmlsZSguLi5hcmdzKTtcbn0iXX0=
{
"name": "@neoskop/dockerfile.js",
"version": "0.5.2",
"version": "0.5.3-rc.0",
"description": "Write configurable, scriptable, reusable dockerfiles in Typescript or plain Javascript.",

@@ -5,0 +5,0 @@ "keywords": [

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