New Upstream Snapshot - node-browser-pack

Ready changes

Summary

Merged new upstream version: 6.1.0+ds+~6.1.1+git20200616.1.522bc7f+ds (was: 6.1.0+ds+~6.1.1).

Resulting package

Built on 2023-01-18T19:38 (took 29m0s)

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-snapshots node-browser-pack

Diff

diff --git a/.npmrc b/.npmrc
deleted file mode 100644
index 43c97e7..0000000
--- a/.npmrc
+++ /dev/null
@@ -1 +0,0 @@
-package-lock=false
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..c979798
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,49 @@
+language: node_js
+dist: bionic
+
+jobs:
+    include:
+        - node_js: '0.10'
+          before_script: npm run prepare
+          os: linux
+        - node_js: '0.12'
+          before_script: npm run prepare
+          os: linux
+        - node_js: '4'
+          before_script: npm run prepare
+          os: linux
+        - node_js: '6'
+          before_script: npm run prepare
+          os: linux
+        - node_js: '8'
+          os: linux
+        - node_js: '10'
+          os: linux
+        - node_js: '12'
+          os: linux
+        - node_js: '13'
+          os: linux
+        - node_js: 'stable'
+          os: linux
+        - node_js: '0.10'
+          before_script: npm run prepare
+          os: windows
+        - node_js: '0.12'
+          before_script: npm run prepare
+          os: windows
+        - node_js: '4'
+          before_script: npm run prepare
+          os: windows
+        - node_js: '6'
+          before_script: npm run prepare
+          os: windows
+        - node_js: '8'
+          os: windows
+        - node_js: '10'
+          os: windows
+        - node_js: '12'
+          os: windows
+        - node_js: '13'
+          os: windows
+        - node_js: 'latest'
+          os: windows
diff --git a/bin/prepublish.js b/bin/prepublish.js
index 326412e..e3ef5dd 100755
--- a/bin/prepublish.js
+++ b/bin/prepublish.js
@@ -6,8 +6,8 @@ var concat = require('concat-stream');
 var path = require('path');
 
 var uglify = spawn(
-    require.resolve('uglify-js/bin/uglifyjs'),
-    ['--wrap-iife', '-c', 'side_effects=false,screw_ie8=false', '--verbose', '--ie8', '--passes=5', '-m', '--source-map', '--', '-']
+    process.execPath,
+    [require.resolve('uglify-js/bin/uglifyjs'), '--wrap-iife', '-c', 'side_effects=false,screw_ie8=false', '--verbose', '--ie8', '--passes=5', '-m', '--source-map', '--', '-']
 );
 
 fs.createReadStream(path.join(__dirname, '..', 'prelude.js'))
diff --git a/debian/changelog b/debian/changelog
index d1fb0e0..bf7239c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+node-browser-pack (6.1.0+ds+~6.1.1+git20200616.1.522bc7f+ds-1) UNRELEASED; urgency=low
+
+  * New upstream snapshot.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 18 Jan 2023 19:18:04 -0000
+
 node-browser-pack (6.1.0+ds+~6.1.1-2) unstable; urgency=medium
 
   * Team upload
diff --git a/package.json b/package.json
index d84b401..25e1f63 100644
--- a/package.json
+++ b/package.json
@@ -23,7 +23,7 @@
   },
   "scripts": {
     "test": "tap test/*.js",
-    "prepublish": "node bin/prepublish.js"
+    "prepare": "node bin/prepublish.js"
   },
   "testling": {
     "files": "test/*.js",
diff --git a/readme.markdown b/readme.markdown
index 2a65aa0..571a2cd 100644
--- a/readme.markdown
+++ b/readme.markdown
@@ -92,6 +92,22 @@ and to get the command-line tool do:
 npm install -g browser-pack
 ```
 
+# input objects
+
+Input objects are written to browser-pack using `bpack.write(row)`. browser-pack
+uses these properties:
+
+ - `id` - A unique ID for this module.
+ - `deps` - An object mapping `require()` argument strings to dependency row
+   IDs, used for resolution at runtime.
+ - `entry` - When true, this module will be executed when the bundle loads.
+   Otherwise, it will only be executed once some other module `require()`s it.
+ - `order` - When `row.entry` is true, this number indicates the order in which
+   different entry modules are executed.
+ - `source` - The contents of the module.
+ - `nomap` - When true, a source map is not generated for this module.
+ - `sourceFile` - The file name to use for this module in the source map.
+
 # license
 
 MIT
diff --git a/types-browser-pack/LICENSE b/types-browser-pack/LICENSE
deleted file mode 100755
index 9e841e7..0000000
--- a/types-browser-pack/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-    MIT License
-
-    Copyright (c) Microsoft Corporation.
-
-    Permission is hereby granted, free of charge, to any person obtaining a copy
-    of this software and associated documentation files (the "Software"), to deal
-    in the Software without restriction, including without limitation the rights
-    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-    copies of the Software, and to permit persons to whom the Software is
-    furnished to do so, subject to the following conditions:
-
-    The above copyright notice and this permission notice shall be included in all
-    copies or substantial portions of the Software.
-
-    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-    SOFTWARE
diff --git a/types-browser-pack/README.md b/types-browser-pack/README.md
deleted file mode 100755
index 99d9b29..0000000
--- a/types-browser-pack/README.md
+++ /dev/null
@@ -1,16 +0,0 @@
-# Installation
-> `npm install --save @types/browser-pack`
-
-# Summary
-This package contains type definitions for browser-pack (https://github.com/substack/browser-pack).
-
-# Details
-Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/browser-pack.
-
-### Additional Details
- * Last updated: Thu, 08 Jul 2021 00:35:42 GMT
- * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
- * Global values: `browserPack`
-
-# Credits
-These definitions were written by [TeamworkGuy2](https://github.com/TeamworkGuy2).
diff --git a/types-browser-pack/index.d.ts b/types-browser-pack/index.d.ts
deleted file mode 100755
index d7dcb9d..0000000
--- a/types-browser-pack/index.d.ts
+++ /dev/null
@@ -1,82 +0,0 @@
-// Type definitions for browser-pack 6.1
-// Project: https://github.com/substack/browser-pack
-// Definitions by: TeamworkGuy2 <https://github.com/TeamworkGuy2>
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-
-/// <reference types="node" />
-
-/**
- * pack node-style source files from a json stream into a browser bundle
- */
-declare namespace browserPack {
-    interface Options {
-        /**
-         * Whether the bundle should include require= (or the opts.externalRequireName) so that
-         * require() is available outside the bundle
-         */
-        hasExports?: boolean | undefined;
-
-        /**
-         * A string to use in place of 'require' if opts.hasExports is specified, default is 'require'
-         */
-        externalRequireName?: string | undefined;
-
-        /**
-         * Specify a custom prelude, but know what you're doing first. See the prelude.js file in
-         * this repo for the default prelude. If you specify a custom prelude, you must also specify
-         * a valid opts.preludePath to the prelude source file for sourcemaps to work
-         */
-        prelude?: string | undefined;
-
-        /**
-         * prelude.js path if a custom opts.prelude is specified
-         */
-        preludePath?: string | undefined;
-
-        /**
-         * Used if opts.preludePath is undefined, this is used to resolve the prelude.js file location, default: 'process.cwd()'
-         */
-        basedir?: string | undefined;
-
-        /**
-         * If given, the writable end of the stream will expect objects to be written to
-         * it instead of expecting a stream of json text it will need to parse, default false
-         */
-        raw?: boolean | undefined;
-
-        /**
-         * External string name to use for UMD, if not provided, UMD declaration is not wrapped around output
-         */
-        standalone?: string | undefined;
-
-        /**
-         * Sets the internal module name to export for standalone
-         */
-        standaloneModule?: string | undefined;
-
-        /**
-         * If given and source maps are computed, the opts.sourceMapPrefix string will be used instead of default: '//#'
-         */
-        sourceMapPrefix?: string | undefined;
-
-        /**
-         * If given and source maps are computed, the root for the output source map will be defined. (default is no root)
-         */
-        sourceRoot?: string | undefined;
-    }
-}
-
-/**
- * Pack node-style source files from a json stream into a browser bundle.
- * Source objects are written to browser-pack using 'write(row)'. browser-pack uses these properties of each row:
- *  - 'id' - A unique ID for this module.
- *  - 'deps' - An object mapping 'require()' argument strings to dependency row IDs, used for resolution at runtime.
- *  - 'entry' - When true, this module will be executed when the bundle loads. Otherwise, it will only be executed once some other module 'require()'s it.
- *  - 'order' - When 'row.entry' is true, this number indicates the order in which different entry modules are executed.
- *  - 'source' - The contents of the module.
- *  - 'nomap' - When true, a source map is not generated for this module.
- *  - 'sourceFile' - The file name to use for this module in the source map.
- */
-declare function browserPack(opts?: browserPack.Options): NodeJS.ReadWriteStream;
-export = browserPack;
-export as namespace browserPack;
diff --git a/types-browser-pack/package.json b/types-browser-pack/package.json
deleted file mode 100755
index fd942af..0000000
--- a/types-browser-pack/package.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
-    "name": "@types/browser-pack",
-    "version": "6.1.1",
-    "description": "TypeScript definitions for browser-pack",
-    "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/browser-pack",
-    "license": "MIT",
-    "contributors": [
-        {
-            "name": "TeamworkGuy2",
-            "url": "https://github.com/TeamworkGuy2",
-            "githubUsername": "TeamworkGuy2"
-        }
-    ],
-    "main": "",
-    "types": "index.d.ts",
-    "repository": {
-        "type": "git",
-        "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
-        "directory": "types/browser-pack"
-    },
-    "scripts": {},
-    "dependencies": {
-        "@types/node": "*"
-    },
-    "typesPublisherContentHash": "98289f34356c497e6e59de9ecda3a531e6b5f590cb4ab26a5e0079f301c7f1da",
-    "typeScriptVersion": "3.6"
-}
\ No newline at end of file

More details

Full run details