@lowdefy/helpers
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -8,3 +8,3 @@ "use strict"; | ||
var _type = _interopRequireDefault(require("@lowdefy/type")); | ||
var _type = _interopRequireDefault(require("./type")); | ||
@@ -14,15 +14,15 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
/* | ||
Copyright 2020 Lowdefy, Inc | ||
Copyright 2020 Lowdefy, Inc | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
@@ -29,0 +29,0 @@ var applyArrayIndices = (arrayIndices, name) => { |
@@ -13,16 +13,17 @@ "use strict"; | ||
/* | ||
Copyright 2020 Lowdefy, Inc | ||
Copyright 2020 Lowdefy, Inc | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
//engine | ||
function getFieldValues(operatorName) { | ||
@@ -29,0 +30,0 @@ var result = new Set(); |
@@ -13,15 +13,15 @@ "use strict"; | ||
/* | ||
Copyright 2020 Lowdefy, Inc | ||
Copyright 2020 Lowdefy, Inc | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
@@ -28,0 +28,0 @@ var getUniqueValues = function getUniqueValues(arr) { |
@@ -13,15 +13,15 @@ "use strict"; | ||
/* | ||
Copyright 2020 Lowdefy, Inc | ||
Copyright 2020 Lowdefy, Inc | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
@@ -28,0 +28,0 @@ // eslint-disable-next-line consistent-return |
@@ -12,50 +12,56 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "getFieldValues", { | ||
Object.defineProperty(exports, "get", { | ||
enumerable: true, | ||
get: function get() { | ||
return _getFieldValues.default; | ||
return _get.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "getUniqueValues", { | ||
Object.defineProperty(exports, "mergeObjects", { | ||
enumerable: true, | ||
get: function get() { | ||
return _getUniqueValues.default; | ||
return _mergeObjects.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "getValueIndex", { | ||
Object.defineProperty(exports, "omit", { | ||
enumerable: true, | ||
get: function get() { | ||
return _getValueIndex.default; | ||
return _omit.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "intersect", { | ||
Object.defineProperty(exports, "serializer", { | ||
enumerable: true, | ||
get: function get() { | ||
return _intersect.default; | ||
return _serializer.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "keyPermutations", { | ||
Object.defineProperty(exports, "set", { | ||
enumerable: true, | ||
get: function get() { | ||
return _keyPermutations.default; | ||
return _set.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "mergeObjects", { | ||
Object.defineProperty(exports, "stableStringify", { | ||
enumerable: true, | ||
get: function get() { | ||
return _mergeObjects.default; | ||
return _stableStringify.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "omit", { | ||
Object.defineProperty(exports, "swap", { | ||
enumerable: true, | ||
get: function get() { | ||
return _omit.default; | ||
return _swap.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "swap", { | ||
Object.defineProperty(exports, "type", { | ||
enumerable: true, | ||
get: function get() { | ||
return _swap.default; | ||
return _type.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "unset", { | ||
enumerable: true, | ||
get: function get() { | ||
return _unset.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "urlQuery", { | ||
@@ -70,20 +76,22 @@ enumerable: true, | ||
var _getFieldValues = _interopRequireDefault(require("./getFieldValues")); | ||
var _get = _interopRequireDefault(require("./get")); | ||
var _getUniqueValues = _interopRequireDefault(require("./getUniqueValues")); | ||
var _mergeObjects = _interopRequireDefault(require("./mergeObjects")); | ||
var _getValueIndex = _interopRequireDefault(require("./getValueIndex")); | ||
var _omit = _interopRequireDefault(require("./omit")); | ||
var _intersect = _interopRequireDefault(require("./intersect")); | ||
var _serializer = _interopRequireDefault(require("./serializer")); | ||
var _keyPermutations = _interopRequireDefault(require("./keyPermutations")); | ||
var _set = _interopRequireDefault(require("./set")); | ||
var _mergeObjects = _interopRequireDefault(require("./mergeObjects")); | ||
var _stableStringify = _interopRequireDefault(require("./stableStringify")); | ||
var _omit = _interopRequireDefault(require("./omit")); | ||
var _swap = _interopRequireDefault(require("./swap")); | ||
var _type = _interopRequireDefault(require("./type")); | ||
var _unset = _interopRequireDefault(require("./unset")); | ||
var _urlQuery = _interopRequireDefault(require("./urlQuery")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
@@ -9,15 +9,15 @@ "use strict"; | ||
/* | ||
Copyright 2020 Lowdefy, Inc | ||
Copyright 2020 Lowdefy, Inc | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
@@ -24,0 +24,0 @@ var intersect = (arrOne, arrTwo) => { |
@@ -11,15 +11,15 @@ "use strict"; | ||
/* | ||
Copyright 2020 Lowdefy, Inc | ||
Copyright 2020 Lowdefy, Inc | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
@@ -26,0 +26,0 @@ var regex = /(\.\d)/g; |
@@ -8,22 +8,22 @@ "use strict"; | ||
var _type = _interopRequireDefault(require("@lowdefy/type")); | ||
var _lodash = _interopRequireDefault(require("lodash.merge")); | ||
var _type = _interopRequireDefault(require("./type")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
/* | ||
Copyright 2020 Lowdefy, Inc | ||
Copyright 2020 Lowdefy, Inc | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
@@ -30,0 +30,0 @@ var mergeObjects = objects => { |
@@ -8,3 +8,3 @@ "use strict"; | ||
var _delete = _interopRequireDefault(require("@lowdefy/delete")); | ||
var _unset = _interopRequireDefault(require("./unset")); | ||
@@ -14,19 +14,19 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
/* | ||
Copyright 2020 Lowdefy, Inc | ||
Copyright 2020 Lowdefy, Inc | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
var omit = (obj, list) => { | ||
list.forEach(item => { | ||
(0, _delete.default)(obj, item); | ||
(0, _unset.default)(obj, item); | ||
}); | ||
@@ -33,0 +33,0 @@ return obj; |
@@ -8,3 +8,3 @@ "use strict"; | ||
var _type = _interopRequireDefault(require("@lowdefy/type")); | ||
var _type = _interopRequireDefault(require("./type")); | ||
@@ -14,15 +14,15 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
/* | ||
Copyright 2020 Lowdefy, Inc | ||
Copyright 2020 Lowdefy, Inc | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
@@ -29,0 +29,0 @@ var swap = (arr, from, to) => { |
@@ -8,24 +8,24 @@ "use strict"; | ||
var _type = _interopRequireDefault(require("@lowdefy/type")); | ||
var _queryString = _interopRequireDefault(require("query-string")); | ||
var _serializer = _interopRequireDefault(require("@lowdefy/serializer")); | ||
var _serializer = _interopRequireDefault(require("./serializer")); | ||
var _type = _interopRequireDefault(require("./type")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
/* | ||
Copyright 2020 Lowdefy, Inc | ||
Copyright 2020 Lowdefy, Inc | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
@@ -32,0 +32,0 @@ var parse = str => { |
module.exports = { | ||
// Automatically clear mock calls and instances between every test | ||
clearMocks: true, | ||
// The directory where Jest should output its coverage files | ||
collectCoverage: true, | ||
collectCoverageFrom: ['src/**/*.js'], | ||
coverageDirectory: 'coverage', | ||
// An array of regexp pattern strings used to skip coverage collection | ||
coveragePathIgnorePatterns: ['/node_modules/', '/dist/'], | ||
// A list of reporter names that Jest uses when writing coverage reports | ||
coverageReporters: ['text'], | ||
// The test environment that will be used for testing | ||
coveragePathIgnorePatterns: ['<rootDir>/dist/', '<rootDir>/test/'], | ||
coverageReporters: ['lcov', 'text', 'clover'], | ||
errorOnDeprecated: true, | ||
testEnvironment: 'node', | ||
// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped | ||
testPathIgnorePatterns: ['/node_modules/', '/dist/'], | ||
testPathIgnorePatterns: ['<rootDir>/dist/'], | ||
}; |
{ | ||
"name": "@lowdefy/helpers", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"licence": "Apache-2.0", | ||
@@ -29,29 +29,17 @@ "description": "", | ||
"prepare": "yarn build", | ||
"prepublishOnly": "yarn build" | ||
"prepublishOnly": "yarn build", | ||
"npm-publish": "npm publish --access public" | ||
}, | ||
"dependencies": { | ||
"@lowdefy/delete": "1.0.1", | ||
"@lowdefy/serializer": "1.0.0", | ||
"@lowdefy/type": "1.0.1", | ||
"lodash.merge": "4.6.2", | ||
"query-string": "6.13.1" | ||
"query-string": "6.13.5" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "7.8.4", | ||
"@babel/compat-data": "7.9.6", | ||
"@babel/core": "7.9.6", | ||
"@babel/preset-env": "7.9.6", | ||
"babel-jest": "24.9.0", | ||
"eslint": "6.8.0", | ||
"eslint-config-airbnb": "18.2.0", | ||
"eslint-config-prettier": "6.12.0", | ||
"eslint-plugin-import": "2.22.1", | ||
"eslint-plugin-jsx-a11y": "6.3.1", | ||
"eslint-plugin-prettier": "3.1.4", | ||
"eslint-plugin-react": "7.21.2", | ||
"eslint-plugin-react-hooks": "4.1.2", | ||
"jest": "24.9.0", | ||
"jest-diff": "24.9.0", | ||
"prettier": "2.1.2" | ||
"@babel/cli": "7.12.1", | ||
"@babel/core": "7.12.1", | ||
"@babel/preset-env": "7.12.1", | ||
"babel-jest": "26.5.2", | ||
"jest": "26.5.3", | ||
"jest-diff": "26.5.2" | ||
} | ||
} |
/* | ||
Copyright 2020 Lowdefy, Inc | ||
Copyright 2020 Lowdefy, Inc | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
import type from '@lowdefy/type'; | ||
import type from './type'; | ||
@@ -19,0 +19,0 @@ const applyArrayIndices = (arrayIndices, name) => { |
/* | ||
Copyright 2020 Lowdefy, Inc | ||
Copyright 2020 Lowdefy, Inc | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
import applyArrayIndices from './applyArrayIndices'; | ||
import getFieldValues from './getFieldValues'; | ||
import getUniqueValues from './getUniqueValues'; | ||
import getValueIndex from './getValueIndex'; | ||
import intersect from './intersect'; | ||
import keyPermutations from './keyPermutations'; | ||
import get from './get'; | ||
import mergeObjects from './mergeObjects'; | ||
import omit from './omit'; | ||
import serializer from './serializer'; | ||
import set from './set'; | ||
import stableStringify from './stableStringify'; | ||
import swap from './swap'; | ||
import type from './type'; | ||
import unset from './unset'; | ||
import urlQuery from './urlQuery'; | ||
@@ -30,11 +31,12 @@ | ||
applyArrayIndices, | ||
getFieldValues, | ||
getUniqueValues, | ||
getValueIndex, | ||
intersect, | ||
keyPermutations, | ||
get, | ||
mergeObjects, | ||
omit, | ||
serializer, | ||
set, | ||
stableStringify, | ||
swap, | ||
type, | ||
unset, | ||
urlQuery, | ||
}; |
/* | ||
Copyright 2020 Lowdefy, Inc | ||
Copyright 2020 Lowdefy, Inc | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
import type from '@lowdefy/type'; | ||
import merge from 'lodash.merge'; | ||
import type from './type'; | ||
const mergeObjects = (objects) => { | ||
@@ -21,0 +22,0 @@ let merged = objects; |
/* | ||
Copyright 2020 Lowdefy, Inc | ||
Copyright 2020 Lowdefy, Inc | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
import del from '@lowdefy/delete'; | ||
import unset from './unset'; | ||
const omit = (obj, list) => { | ||
list.forEach((item) => { | ||
del(obj, item); | ||
unset(obj, item); | ||
}); | ||
@@ -23,0 +23,0 @@ return obj; |
/* | ||
Copyright 2020 Lowdefy, Inc | ||
Copyright 2020 Lowdefy, Inc | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
import type from '@lowdefy/type'; | ||
import type from './type'; | ||
@@ -19,0 +19,0 @@ const swap = (arr, from, to) => { |
/* | ||
Copyright 2020 Lowdefy, Inc | ||
Copyright 2020 Lowdefy, Inc | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
import type from '@lowdefy/type'; | ||
import queryString from 'query-string'; | ||
import serializer from '@lowdefy/serializer'; | ||
import serializer from './serializer'; | ||
import type from './type'; | ||
const parse = (str) => { | ||
@@ -22,0 +23,0 @@ const parsed = queryString.parse(str); |
@@ -0,1 +1,17 @@ | ||
/* | ||
Copyright 2020 Lowdefy, Inc | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
import applyArrayIndices from '../src/applyArrayIndices'; | ||
@@ -2,0 +18,0 @@ |
@@ -0,1 +1,17 @@ | ||
/* | ||
Copyright 2020 Lowdefy, Inc | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
import mergeObjects from '../src/mergeObjects'; | ||
@@ -2,0 +18,0 @@ |
@@ -0,1 +1,17 @@ | ||
/* | ||
Copyright 2020 Lowdefy, Inc | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
import omit from '../src/omit'; | ||
@@ -2,0 +18,0 @@ |
@@ -0,1 +1,17 @@ | ||
/* | ||
Copyright 2020 Lowdefy, Inc | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
import swap from '../src/swap'; | ||
@@ -2,0 +18,0 @@ |
@@ -0,1 +1,17 @@ | ||
/* | ||
Copyright 2020 Lowdefy, Inc | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
import urlQuery from '../src/urlQuery'; | ||
@@ -2,0 +18,0 @@ |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
438213
2
6
66
4887
2
+ Addedquery-string@6.13.5(transitive)
- Removed@lowdefy/delete@1.0.1
- Removed@lowdefy/serializer@1.0.0
- Removed@lowdefy/type@1.0.1
- Removed@lowdefy/delete@1.0.1(transitive)
- Removed@lowdefy/get@1.0.1(transitive)
- Removed@lowdefy/serializer@1.0.0(transitive)
- Removed@lowdefy/type@1.0.1(transitive)
- Removedquery-string@6.13.1(transitive)
Updatedquery-string@6.13.5