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

one

Package Overview
Dependencies
Maintainers
1
Versions
222
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

one - npm Package Compare versions

Comparing version 3.0.7 to 3.0.8

8

index.js

@@ -11,3 +11,9 @@ var log = require('./lib/debug')('api'),

function one(entry){
var chain = newChain(options.set.debug, options.set.native, options.set.global, options.set.ignore, options.set.require, save, options.set.tie),
var chain = newChain(options.set.debug,
options.set.native,
options.set.global,
options.set.ignore,
options.set.require,
options.set.tie,
save),
pack = ( /\.js$/.test(entry) ? newModule : newDependency )( entry );

@@ -14,0 +20,0 @@

@@ -5,2 +5,6 @@ var debug = require("./debug")('requires');

function isNotOne(uri){
return uri != 'one';
}
function requires(module){

@@ -19,3 +23,3 @@ var re = /require\((?:'|")([^\'\"]+)(?:'|")\)/g,

return result;
return result.filter(isNotOne);
}

2

package.json
{
"name": "one",
"version": "3.0.7",
"version": "3.0.8",
"description": "Bundles NodeJS modules/libraries for web browsers",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,2 +0,2 @@

## OneJS
## OneJS v3

@@ -23,3 +23,3 @@ Bundles NodeJS modules/libraries for web browsers.

## Manual
## Command-line Manual

@@ -61,2 +61,16 @@ ```

## JavaScript Manual
```js
one('index.js').save('bundle.js')
```
All Available methods:
```js
one('index.js').debug().global().require('foobar').ignore('jquery').native().save('/tmp/foo.js')
```
See the command-line manual above for details.
## TODO

@@ -63,0 +77,0 @@

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