New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

common-sequence

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

common-sequence - npm Package Compare versions

Comparing version
2.0.0
to
2.0.1
+6
-6
dist/index.js
(function (factory) {
typeof define === 'function' && define.amd ? define(factory) :
factory();
}(function () { 'use strict';
}((function () { 'use strict';

@@ -12,8 +12,8 @@ /**

* ```js
* > commonSequence = require("common-sequence");
* > commonSequence = require('common-sequence');
*
* > pathA = "/Users/lloyd/Documents/75lb/dmd".split("/");
* > pathB = "/Users/lloyd/Documents/75lb/array-tools".split("/");
* > pathA = '/Users/lloyd/Documents/75lb/dmd'.split('/');
* > pathB = '/Users/lloyd/Documents/75lb/array-tools'.split('/');
*
* > commonSequence(pathA, pathB).join("/");
* > commonSequence(pathA, pathB).join('/');
* '/Users/lloyd/Documents/75lb'

@@ -50,2 +50,2 @@ * ```

}));
})));

@@ -7,8 +7,8 @@ /**

* ```js
* > commonSequence = require("common-sequence");
* > commonSequence = require('common-sequence');
*
* > pathA = "/Users/lloyd/Documents/75lb/dmd".split("/");
* > pathB = "/Users/lloyd/Documents/75lb/array-tools".split("/");
* > pathA = '/Users/lloyd/Documents/75lb/dmd'.split('/');
* > pathB = '/Users/lloyd/Documents/75lb/array-tools'.split('/');
*
* > commonSequence(pathA, pathB).join("/");
* > commonSequence(pathA, pathB).join('/');
* '/Users/lloyd/Documents/75lb'

@@ -15,0 +15,0 @@ * ```

The MIT License (MIT)
Copyright (c) 2015-19 Lloyd Brookes <75pound@gmail.com>
Copyright (c) 2015-21 Lloyd Brookes <75pound@gmail.com>

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "common-sequence",
"author": "Lloyd Brookes <75pound@gmail.com>",
"version": "2.0.0",
"version": "2.0.1",
"description": "Returns an array containing the initial elements which both input arrays have in common",

@@ -29,5 +29,5 @@ "repository": "https://github.com/75lb/common-sequence",

"devDependencies": {
"jsdoc-to-markdown": "^5.0.1",
"rollup": "^1.21.4",
"test-runner": "^0.6.0"
"jsdoc-to-markdown": "^7.0.0",
"rollup": "^2.41.2",
"test-runner": "^0.6.3"
},

@@ -34,0 +34,0 @@ "files": [

@@ -1,5 +0,7 @@

[![view on npm](http://img.shields.io/npm/v/common-sequence.svg)](https://www.npmjs.org/package/common-sequence)
[![npm module downloads per month](http://img.shields.io/npm/dt/common-sequence.svg)](https://www.npmjs.org/package/common-sequence)
[![view on npm](https://badgen.net/npm/v/common-sequence)](https://www.npmjs.org/package/common-sequence)
[![npm module downloads](https://badgen.net/npm/dt/common-sequence)](https://www.npmjs.org/package/common-sequence)
[![Gihub repo dependents](https://badgen.net/github/dependents-repo/75lb/common-sequence)](https://github.com/75lb/common-sequence/network/dependents?dependent_type=REPOSITORY)
[![Gihub package dependents](https://badgen.net/github/dependents-pkg/75lb/common-sequence)](https://github.com/75lb/common-sequence/network/dependents?dependent_type=PACKAGE)
[![Build Status](https://travis-ci.org/75lb/common-sequence.svg?branch=master)](https://travis-ci.org/75lb/common-sequence)
[![Dependency Status](https://badgen.net/david/dep/75lb/common-sequence)](https://david-dm.org/75lb/common-sequence)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)

@@ -15,3 +17,3 @@ {{>main}}

```js
const arrayify = require('common-sequence')
const commonSequence = require('common-sequence')
```

@@ -22,3 +24,3 @@

```js
import arrayify from 'common-sequence'
import commonSequence from 'common-sequence'
```

@@ -29,3 +31,3 @@

```js
import arrayify from './node_modules/common-sequence/index.mjs'
import commonSequence from './node_modules/common-sequence/index.mjs'
```

@@ -41,2 +43,2 @@

&copy; 2015-19 Lloyd Brookes \<75pound@gmail.com\>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).
&copy; 2015-21 Lloyd Brookes \<75pound@gmail.com\>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).
+13
-11

@@ -1,5 +0,7 @@

[![view on npm](http://img.shields.io/npm/v/common-sequence.svg)](https://www.npmjs.org/package/common-sequence)
[![npm module downloads per month](http://img.shields.io/npm/dt/common-sequence.svg)](https://www.npmjs.org/package/common-sequence)
[![view on npm](https://badgen.net/npm/v/common-sequence)](https://www.npmjs.org/package/common-sequence)
[![npm module downloads](https://badgen.net/npm/dt/common-sequence)](https://www.npmjs.org/package/common-sequence)
[![Gihub repo dependents](https://badgen.net/github/dependents-repo/75lb/common-sequence)](https://github.com/75lb/common-sequence/network/dependents?dependent_type=REPOSITORY)
[![Gihub package dependents](https://badgen.net/github/dependents-pkg/75lb/common-sequence)](https://github.com/75lb/common-sequence/network/dependents?dependent_type=PACKAGE)
[![Build Status](https://travis-ci.org/75lb/common-sequence.svg?branch=master)](https://travis-ci.org/75lb/common-sequence)
[![Dependency Status](https://badgen.net/david/dep/75lb/common-sequence)](https://david-dm.org/75lb/common-sequence)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)

@@ -14,8 +16,8 @@ <a name="module_common-sequence"></a>

```js
> commonSequence = require("common-sequence");
> commonSequence = require('common-sequence');
> pathA = "/Users/lloyd/Documents/75lb/dmd".split("/");
> pathB = "/Users/lloyd/Documents/75lb/array-tools".split("/");
> pathA = '/Users/lloyd/Documents/75lb/dmd'.split('/');
> pathB = '/Users/lloyd/Documents/75lb/array-tools'.split('/');
> commonSequence(pathA, pathB).join("/");
> commonSequence(pathA, pathB).join('/');
'/Users/lloyd/Documents/75lb'

@@ -50,3 +52,3 @@ ```

```js
const arrayify = require('common-sequence')
const commonSequence = require('common-sequence')
```

@@ -57,3 +59,3 @@

```js
import arrayify from 'common-sequence'
import commonSequence from 'common-sequence'
```

@@ -64,3 +66,3 @@

```js
import arrayify from './node_modules/common-sequence/index.mjs'
import commonSequence from './node_modules/common-sequence/index.mjs'
```

@@ -76,2 +78,2 @@

&copy; 2015-19 Lloyd Brookes \<75pound@gmail.com\>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).
&copy; 2015-21 Lloyd Brookes \<75pound@gmail.com\>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).