Remove modules from source

This commit is contained in:
Federico Grandi
2019-12-14 21:58:11 +01:00
parent f118062594
commit e5272e4c09
4269 changed files with 0 additions and 1074858 deletions

View File

@@ -1,4 +0,0 @@
src
__tests__
node_modules
*.log

View File

@@ -1,7 +0,0 @@
# babel-helper-is-nodes-equiv
## Installation
```sh
$ npm install babel-helper-is-nodes-equiv
```

View File

@@ -1,68 +0,0 @@
"use strict";
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
module.exports = function (t) {
function equiv(a, b) {
if ((typeof a === "undefined" ? "undefined" : _typeof(a)) !== "object" || (typeof a === "undefined" ? "undefined" : _typeof(a)) !== "object" || a == null || b == null) {
return a === b;
}
if (a.type !== b.type) {
return false;
}
var fields = Object.keys(t.NODE_FIELDS[a.type]);
var _iteratorNormalCompletion = true;
var _didIteratorError = false;
var _iteratorError = undefined;
try {
for (var _iterator = fields[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
var field = _step.value;
if (_typeof(a[field]) !== _typeof(b[field])) {
return false;
}
if (Array.isArray(a[field])) {
if (!Array.isArray(b[field])) {
return false;
}
if (a[field].length !== b[field].length) {
return false;
}
for (var i = 0; i < a[field].length; i++) {
if (!equiv(a[field][i], b[field][i])) {
return false;
}
}
continue;
}
if (!equiv(a[field], b[field])) {
return false;
}
}
} catch (err) {
_didIteratorError = true;
_iteratorError = err;
} finally {
try {
if (!_iteratorNormalCompletion && _iterator.return) {
_iterator.return();
}
} finally {
if (_didIteratorError) {
throw _iteratorError;
}
}
}
return true;
}
return equiv;
};

View File

@@ -1,52 +0,0 @@
{
"_args": [
[
"babel-helper-is-nodes-equiv@0.0.1",
"/home/runner/work/add-and-commit/add-and-commit"
]
],
"_development": true,
"_from": "babel-helper-is-nodes-equiv@0.0.1",
"_id": "babel-helper-is-nodes-equiv@0.0.1",
"_inBundle": false,
"_integrity": "sha1-NOmzALFHnd2Y7HfqC76TQt/jloQ=",
"_location": "/babel-helper-is-nodes-equiv",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "babel-helper-is-nodes-equiv@0.0.1",
"name": "babel-helper-is-nodes-equiv",
"escapedName": "babel-helper-is-nodes-equiv",
"rawSpec": "0.0.1",
"saveSpec": null,
"fetchSpec": "0.0.1"
},
"_requiredBy": [
"/babel-plugin-minify-simplify"
],
"_resolved": "https://registry.npmjs.org/babel-helper-is-nodes-equiv/-/babel-helper-is-nodes-equiv-0.0.1.tgz",
"_spec": "0.0.1",
"_where": "/home/runner/work/add-and-commit/add-and-commit",
"author": {
"name": "amasad"
},
"bugs": {
"url": "https://github.com/babel/babili/issues"
},
"dependencies": {},
"description": "## Installation",
"devDependencies": {},
"homepage": "https://github.com/babel/babili#readme",
"keywords": [
"babel-plugin"
],
"license": "MIT",
"main": "lib/index.js",
"name": "babel-helper-is-nodes-equiv",
"repository": {
"type": "git",
"url": "https://github.com/babel/babili/tree/master/packages/babel-helper-is-nodes-equiv"
},
"version": "0.0.1"
}