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

sliced

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sliced - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

3

component.json
{
"name": "sliced",
"version": "0.0.3",
"version": "0.0.5",
"description": "A faster Node.js alternative to Array.prototype.slice.call(arguments)",

@@ -11,4 +11,5 @@ "repo" : "aheckmann/sliced",

],
"scripts": ["lib/sliced.js", "index.js"],
"author": "Aaron Heckmann <aaron.heckmann+github@gmail.com>",
"license": "MIT"
}
0.0.5 / 2013-02-05
==================
* optimization: remove use of arguments [jkroso](https://github.com/jkroso)
* add scripts to component.json [jkroso](https://github.com/jkroso)
* tests; remove time for travis
0.0.4 / 2013-01-07

@@ -3,0 +10,0 @@ ==================

@@ -11,7 +11,3 @@

module.exports = function () {
var args = arguments[0];
var slice = arguments[1];
var sliceEnd = arguments[2];
module.exports = function (args, slice, sliceEnd) {
var ret = [];

@@ -26,10 +22,10 @@ var len = args.length;

var end = 3 === arguments.length
? sliceEnd < 0
if (sliceEnd !== undefined) {
len = sliceEnd < 0
? sliceEnd + len
: sliceEnd
: len;
}
while (end-- > start) {
ret[end - start] = args[end];
while (len-- > start) {
ret[len - start] = args[len];
}

@@ -36,0 +32,0 @@

{
"name": "sliced",
"version": "0.0.4",
"version": "0.0.5",
"description": "A faster Node.js alternative to Array.prototype.slice.call(arguments)",

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

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