@wix/motion-edm-autogen-transformations
Advanced tools
Comparing version 1.19.0 to 1.20.0
@@ -10,7 +10,7 @@ "use strict"; | ||
var _transformations = require("./lib/transformations"); | ||
exports.transformError = _transformations.transformError; | ||
exports.transformResponseMessage = _transformations.transformResponseMessage; | ||
exports.transformToRequestMessage = _transformations.transformToRequestMessage; | ||
exports.transformResponseMessage = _transformations.transformResponseMessage; | ||
exports.transformError = _transformations.transformError; | ||
var _omitUndefinedValues = require("./lib/transformations/omitUndefinedValues"); | ||
exports.omitUndefinedValues = _omitUndefinedValues.omitUndefinedValues; | ||
//# sourceMappingURL=index.js.map |
@@ -5,6 +5,6 @@ "use strict"; | ||
var _customTransformations = require("./custom-transformations"); | ||
exports.transformResponseMessage = _customTransformations.transformResponseMessage; | ||
exports.transformToRequestMessage = _customTransformations.transformToRequestMessage; | ||
exports.transformResponseMessage = _customTransformations.transformResponseMessage; | ||
var _transformError = require("./transformError"); | ||
exports.transformError = _transformError.transformError; | ||
//# sourceMappingURL=index.js.map |
import { __assign, __makeTemplateObject } from "tslib"; | ||
import { aString, anObject } from '@wix/motion-runtime-test-context'; | ||
import { anObject, aString } from '@wix/motion-runtime-test-context'; | ||
import { fromCorvidEntity, toCorvidEntity } from '..'; | ||
@@ -4,0 +4,0 @@ describe('corvid entities transformers', function () { |
import { __assign, __makeTemplateObject } from "tslib"; | ||
import { aString, anObject } from '@wix/motion-runtime-test-context'; | ||
import { anObject, aString } from '@wix/motion-runtime-test-context'; | ||
import { set, times } from 'lodash'; | ||
@@ -4,0 +4,0 @@ import { transformResponseMessage, transformToRequestMessage, } from '../../../lib/transformations/custom-transformations'; |
import { __makeTemplateObject } from "tslib"; | ||
import { transformations } from '@wix/motion-edm-autogen-transformations-core'; | ||
import { aString, aNumber, anObject, aRandomItemFrom, } from '@wix/motion-runtime-test-context'; | ||
import { anObject, aNumber, aRandomItemFrom, aString, } from '@wix/motion-runtime-test-context'; | ||
import { transformToRequestMessage } from '../../..'; | ||
@@ -5,0 +5,0 @@ var JS_SINGLE_ARG_UNCHANGED = transformations.JS_SINGLE_ARG_UNCHANGED; |
import { __makeTemplateObject } from "tslib"; | ||
import { transformations } from '@wix/motion-edm-autogen-transformations-core'; | ||
import { aString, anObject, aRandomItemFrom, aNumber, } from '@wix/motion-runtime-test-context'; | ||
import { anObject, aNumber, aRandomItemFrom, aString, } from '@wix/motion-runtime-test-context'; | ||
import { transformResponseMessage } from '../../..'; | ||
@@ -5,0 +5,0 @@ var RESPONSE_OBJECT_UNCHANGED = transformations.RESPONSE_OBJECT_UNCHANGED; |
import { __makeTemplateObject } from "tslib"; | ||
import { aString, aNumber, aRandomItemFrom, } from '@wix/motion-runtime-test-context'; | ||
import { aNumber, aRandomItemFrom, aString, } from '@wix/motion-runtime-test-context'; | ||
import dedent from 'dedent-js'; | ||
import { times, set } from 'lodash'; | ||
import { set, times } from 'lodash'; | ||
import { transformError } from '../../..'; | ||
@@ -6,0 +6,0 @@ describe('transformError', function () { |
@@ -1,3 +0,3 @@ | ||
import { aString, anObject } from '@wix/motion-runtime-test-context'; | ||
import { times, set } from 'lodash'; | ||
import { anObject, aString } from '@wix/motion-runtime-test-context'; | ||
import { set, times } from 'lodash'; | ||
import { violationsWithRenamedFields } from '../../../lib/transformations/transformError/violationsWithRenamedFields'; | ||
@@ -4,0 +4,0 @@ describe('violationsWithRenamedFields', function () { |
import { __makeTemplateObject } from "tslib"; | ||
import { aString, aBoolean, aNumber } from '@wix/motion-runtime-test-context'; | ||
import { aBoolean, aNumber, aString } from '@wix/motion-runtime-test-context'; | ||
import { times } from 'lodash'; | ||
@@ -4,0 +4,0 @@ import { omitUndefinedValues } from '../..'; |
import { fromCorvidEntity, toCorvidEntity } from './lib/converters'; | ||
import { getQueryItemsTransformationPaths } from './lib/getQueryItemsTransformationPaths'; | ||
import { transformToRequestMessage, transformResponseMessage, transformError, } from './lib/transformations'; | ||
import { transformError, transformResponseMessage, transformToRequestMessage, } from './lib/transformations'; | ||
import { omitUndefinedValues } from './lib/transformations/omitUndefinedValues'; | ||
export { transformToRequestMessage, transformResponseMessage, transformError, getQueryItemsTransformationPaths, fromCorvidEntity, toCorvidEntity, omitUndefinedValues, }; | ||
export { fromCorvidEntity, getQueryItemsTransformationPaths, omitUndefinedValues, toCorvidEntity, transformError, transformResponseMessage, transformToRequestMessage, }; | ||
//# sourceMappingURL=index.js.map |
import { corvidEntities } from '@wix/motion-edm-autogen-transformations-core'; | ||
import { transform, isPlainObject, isArray, mapKeys } from 'lodash'; | ||
import { isArray, isPlainObject, mapKeys, transform } from 'lodash'; | ||
var fromCorvidName = corvidEntities.fromCorvidName, toCorvidName = corvidEntities.toCorvidName; | ||
@@ -4,0 +4,0 @@ var renameUsing = function (renameKey) { return function (object) { |
import { __assign } from "tslib"; | ||
import { reduceTransformation, isJsonPathExpression, runCustomFunctionCallExpression, } from '@wix/motion-edm-autogen-transformations-core'; | ||
import { isJsonPathExpression, reduceTransformation, runCustomFunctionCallExpression, } from '@wix/motion-edm-autogen-transformations-core'; | ||
import { JSONPath } from 'jsonpath-plus'; | ||
import { get, set, pickBy, omit, isPlainObject } from 'lodash'; | ||
import { get, isPlainObject, omit, pickBy, set } from 'lodash'; | ||
var getValueAtPath = function (json, path) { return JSONPath({ path: path, json: json, wrap: false }); }; | ||
@@ -120,3 +120,3 @@ var getValueToSpread = function (_a) { | ||
}; | ||
export { transformToRequestMessage, transformResponseMessage }; | ||
export { transformResponseMessage, transformToRequestMessage }; | ||
//# sourceMappingURL=custom-transformations.js.map |
@@ -1,4 +0,4 @@ | ||
import { transformToRequestMessage, transformResponseMessage, } from './custom-transformations'; | ||
import { transformResponseMessage, transformToRequestMessage, } from './custom-transformations'; | ||
import { transformError } from './transformError'; | ||
export { transformToRequestMessage, transformResponseMessage, transformError }; | ||
export { transformError, transformResponseMessage, transformToRequestMessage }; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import { transform, isPlainObject, isEmpty } from 'lodash'; | ||
import { isEmpty, isPlainObject, transform } from 'lodash'; | ||
var isEmptyObject = function (maybeObject) { | ||
@@ -3,0 +3,0 @@ return isPlainObject(maybeObject) && isEmpty(maybeObject); |
import { fromCorvidEntity, toCorvidEntity } from './lib/converters'; | ||
import { getQueryItemsTransformationPaths } from './lib/getQueryItemsTransformationPaths'; | ||
import { transformToRequestMessage, transformResponseMessage, transformError } from './lib/transformations'; | ||
import { transformError, transformResponseMessage, transformToRequestMessage } from './lib/transformations'; | ||
import { omitUndefinedValues } from './lib/transformations/omitUndefinedValues'; | ||
export { transformToRequestMessage, transformResponseMessage, transformError, getQueryItemsTransformationPaths, fromCorvidEntity, toCorvidEntity, omitUndefinedValues, }; | ||
export { fromCorvidEntity, getQueryItemsTransformationPaths, omitUndefinedValues, toCorvidEntity, transformError, transformResponseMessage, transformToRequestMessage, }; | ||
//# sourceMappingURL=index.d.ts.map |
declare const transformToRequestMessage: (sourceObject: any, transformation: any, customFunctions?: any) => any; | ||
declare const transformResponseMessage: (sourceObject: any, transformation: any, customFunctions?: any) => any; | ||
export { transformToRequestMessage, transformResponseMessage }; | ||
export { transformResponseMessage, transformToRequestMessage }; | ||
//# sourceMappingURL=custom-transformations.d.ts.map |
@@ -1,4 +0,4 @@ | ||
import { transformToRequestMessage, transformResponseMessage } from './custom-transformations'; | ||
import { transformResponseMessage, transformToRequestMessage } from './custom-transformations'; | ||
import { transformError } from './transformError'; | ||
export { transformToRequestMessage, transformResponseMessage, transformError }; | ||
export { transformError, transformResponseMessage, transformToRequestMessage }; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@wix/motion-edm-autogen-transformations", | ||
"version": "1.19.0", | ||
"version": "1.20.0", | ||
"license": "UNLICENSED", | ||
@@ -38,6 +38,6 @@ "author": { | ||
"dependencies": { | ||
"@wix/motion-edm-autogen-common": "1.16.0", | ||
"@wix/motion-edm-autogen-transformations-core": "1.18.0", | ||
"@babel/runtime": "^7.0.0", | ||
"@rushstack/eslint-patch": "^1.1.0", | ||
"@wix/motion-edm-autogen-common": "1.17.0", | ||
"@wix/motion-edm-autogen-transformations-core": "1.19.0", | ||
"constant-case": "~3.0.0", | ||
@@ -52,8 +52,9 @@ "deep-for-each": "~3.0.0", | ||
"@types/jest": "^26.0.15", | ||
"@wix/motion-runtime-test-context": "~1.0.0", | ||
"@types/js-yaml": "^4.0.5", | ||
"@types/node": "^14.0.0", | ||
"@wix/jest-yoshi-preset": "^5.162.14", | ||
"@wix/motion-runtime-test-context": "~1.0.0", | ||
"@wix/yoshi-flow-library": "^5.162.14", | ||
"dedent-js": "~1.0.0", | ||
"eslint-plugin-simple-import-sort": "^10.0.0", | ||
"husky": "~4.2.1", | ||
@@ -76,3 +77,3 @@ "lint-staged": "^10.0.7", | ||
}, | ||
"falconPackageHash": "53e7a31d5e8cefba26dccd87e5d6624d01bbd971506b234b583ea908" | ||
"falconPackageHash": "f112ceafedfe81b2c6977f82723a02fe8e83b8b75f29a56f92c369f9" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
426655
12
+ Added@wix/motion-edm-autogen-common@1.17.0(transitive)
+ Added@wix/motion-edm-autogen-transformations-core@1.19.0(transitive)
- Removed@wix/motion-edm-autogen-common@1.16.0(transitive)
- Removed@wix/motion-edm-autogen-transformations-core@1.18.0(transitive)