Socket
Socket
Sign inDemoInstall

jspackage

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jspackage - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

10

cmd.js
// Generated by CoffeeScript 1.3.3
var compile, fs, options, optparse, output, parser, printUsage, switches;
var compile, ext, fs, options, optparse, output, parser, path, printUsage, switches, without_ext;

@@ -8,2 +8,4 @@ compile = require('./jspackage').compile;

path = require('path');
optparse = require('optparse');

@@ -57,2 +59,8 @@

if ((ext = path.extname(options.mainfile)).length > 0) {
without_ext = options.mainfile.substring(0, options.mainfile.length - ext.length);
console.error("Warning: don't include the file extension for input_file.");
console.error("Did you mean this? " + without_ext);
}
compile(options, function(err, code) {

@@ -59,0 +67,0 @@ var timestamp;

2

package.json
{
"name": "jspackage",
"description": "build tool which adds client-side import syntax",
"version": "0.3.0",
"version": "0.3.1",
"author": {

@@ -6,0 +6,0 @@ "name": "Andrew Kelley",

@@ -1,3 +0,3 @@

Client side build tool with dependency management
=================================================
Build tool to bundle client side code with an import syntax
===========================================================

@@ -22,4 +22,4 @@ Ever wanted to have an `#import` statement in your favorite language which

* File extensions are automatically resolved. Do not include file extensions
in your import statements.
* File extensions are automatically resolved, and in fact are not allowed in
import statements. This goes for the input_file too.
* Files will only be included once in the resulting code, regardless of how

@@ -32,5 +32,5 @@ many times a file is imported.

request.
* Includes a --watch mode which automatically recompiles source files when
* Includes a `--watch` mode which automatically recompiles source files when
they change.
* Ability to supply more source code search paths with --lib.
* Ability to supply more source code search paths with `--lib`.

@@ -37,0 +37,0 @@ ## Command line usage

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