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

ml-array-sequential-fill

Package Overview
Dependencies
Maintainers
6
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ml-array-sequential-fill - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

types.d.ts

13

CHANGELOG.md

@@ -6,2 +6,15 @@ # Change Log

## [1.1.3](https://github.com/mljs/array/compare/ml-array-sequential-fill@1.1.2...ml-array-sequential-fill@1.1.3) (2020-10-07)
### Bug Fixes
* add is-any-array dependency ([451f438](https://github.com/mljs/array/commit/451f43807d3d290aefb6f813408438a1121ce2f7))
* allow any array in array-normed and array-sequential-fill ([2772ea3](https://github.com/mljs/array/commit/2772ea352c3948b657eb7ae537b04d3e2c287d3d))
## [1.1.2](https://github.com/mljs/array/compare/ml-array-sequential-fill@1.1.1...ml-array-sequential-fill@1.1.2) (2019-08-30)

@@ -8,0 +21,0 @@

7

lib-es6/index.js
import isArray from 'is-any-array';
function _typeof(obj) {
"@babel/helpers - typeof";
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {

@@ -50,3 +52,3 @@ _typeof = function (obj) {

if (size && step) {
if (size !== 0 && step) {
throw new Error('step is defined by the array size');

@@ -68,3 +70,4 @@ }

if (Array.isArray(input)) {
input.length = 0; // only works with normal array
// only works with normal array
input.length = 0;

@@ -71,0 +74,0 @@ for (var i = 0; i < size; i++) {

@@ -29,3 +29,3 @@ 'use strict';

if (size && step) {
if (size !== 0 && step) {
throw new Error('step is defined by the array size');

@@ -45,3 +45,4 @@ }

if (Array.isArray(input)) {
input.length = 0; // only works with normal array
// only works with normal array
input.length = 0;
for (let i = 0; i < size; i++) {

@@ -48,0 +49,0 @@ input.push(from);

{
"name": "ml-array-sequential-fill",
"version": "1.1.2",
"version": "1.1.3",
"description": "Create an array with sequential numbers",
"main": "lib/index.js",
"module": "lib-es6/index.js",
"types": "types.d.ts",
"files": [
"lib",
"lib-es6",
"src"
"src",
"types.d.ts"
],

@@ -24,5 +26,5 @@ "repository": {

"dependencies": {
"is-any-array": "^0.0.3"
"is-any-array": "0.1.0"
},
"gitHead": "6a3b7e1b0fab7f3996b9af3a75d6234a68c9e4d0"
"gitHead": "942138d036d4c0753ad4c261cc692652c0a9cac1"
}

@@ -0,0 +0,0 @@ # array-variance

@@ -0,0 +0,0 @@ import sequentialFill from '..';

@@ -25,3 +25,3 @@ import isArray from 'is-any-array';

if (size && step) {
if (size !== 0 && step) {
throw new Error('step is defined by the array size');

@@ -41,3 +41,4 @@ }

if (Array.isArray(input)) {
input.length = 0; // only works with normal array
// only works with normal array
input.length = 0;
for (let i = 0; i < size; i++) {

@@ -44,0 +45,0 @@ input.push(from);

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