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

dpacker

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dpacker - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

2

dist/unpack.js

@@ -9,3 +9,3 @@ var assert = require("assert");

? source
: acorn.parse(source, { ecmaVersion: 2019 });
: acorn.parse(source, { ecmaVersion: 2021 });
if (opts && opts.source) {

@@ -12,0 +12,0 @@ source = opts.source;

{
"name": "dpacker",
"version": "1.2.04",
"version": "1.2.5",
"main": "dist/index.js",

@@ -18,3 +18,3 @@ "license": "MIT",

"dependencies": {
"acorn": "^8.7.0",
"acorn": "^8.8.0",
"assert": "^2.0.0",

@@ -21,0 +21,0 @@ "astring": "^1.8.1",

@@ -15,3 +15,3 @@ # DPacker

```shell
npx dpacker -i ./assetsfolder [-b] [-d]
npx dpacker ./assets-canary [-b] [-d]
```

@@ -31,1 +31,9 @@

| --help | -h | | Show the help menu |
## Flags:
`-b` is optional, and will auto-beautify the JS files as they're written.
`-d` is optional, and will write duplicate files if they share the ID. (By default, it ignores duplicate files as there's usually not any difference)
The files will be written into an `out` folder :)

@@ -115,5 +115,3 @@ import fs from "fs";

if (!options.input) {
console.error(
"No input directory specified. Try running with `--help` for command usage."
);
console.error("No input directory specified. Try running with `--help` for command usage.");
process.exit(1);

@@ -120,0 +118,0 @@ }

@@ -15,3 +15,3 @@ // webpack-unpack

? source
: acorn.parse(source, { ecmaVersion: 2019 });
: acorn.parse(source, { ecmaVersion: 2021 });

@@ -18,0 +18,0 @@ if (opts && opts.source) {

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