Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: backport lodash upgrades to v6.1.1 #910

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"packages": ["packages/*"],
"version": "6.1.1"
"version": "6.1.2"
}
83 changes: 11 additions & 72 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 3 additions & 11 deletions packages/api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "api",
"version": "6.1.1",
"version": "6.1.2",
"description": "Magical SDK generation from an OpenAPI definition 🪄",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -55,11 +55,7 @@
"js-yaml": "^4.1.0",
"json-schema-to-ts": "^2.6.2-beta.0",
"json-schema-traverse": "^1.0.0",
"lodash.camelcase": "^4.3.0",
"lodash.deburr": "^4.1.0",
"lodash.merge": "^4.6.2",
"lodash.setwith": "^4.3.2",
"lodash.startcase": "^4.4.0",
"lodash": "^4.17.21",
"make-dir": "^3.1.0",
"node-abort-controller": "^3.1.1",
"oas": "^20.4.0",
Expand All @@ -76,11 +72,7 @@
"@types/caseless": "^0.12.2",
"@types/find-cache-dir": "^3.2.1",
"@types/js-yaml": "^4.0.5",
"@types/lodash.camelcase": "^4.3.7",
"@types/lodash.deburr": "^4.1.7",
"@types/lodash.merge": "^4.6.7",
"@types/lodash.setwith": "^4.3.7",
"@types/lodash.startcase": "^4.4.7",
"@types/lodash": "^4.17.6",
"@types/prettier": "^2.7.2",
"@types/prompts": "^2.4.2",
"@types/semver": "^7.3.13",
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/cli/codegen/languages/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import fs from 'fs';
import path from 'path';

import execa from 'execa';
import setWith from 'lodash.setwith';
import setWith from 'lodash/setWith';
import semver from 'semver';
import { IndentationText, Project, QuoteKind, ScriptTarget, VariableDeclarationKind } from 'ts-morph';

Expand Down
6 changes: 3 additions & 3 deletions packages/api/src/cli/codegen/languages/typescript/util.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import camelCase from 'lodash.camelcase';
import deburr from 'lodash.deburr';
import startCase from 'lodash.startcase';
import camelCase from 'lodash/camelCase';
import deburr from 'lodash/deburr';
import startCase from 'lodash/startCase';

/**
* This is a mix of reserved JS words and keywords in TypeScript that might be reserved or
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/core/prepareParams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import caseless from 'caseless';
import DatauriParser from 'datauri/parser';
import datauri from 'datauri/sync';
import getStream from 'get-stream';
import lodashMerge from 'lodash.merge';
import lodashMerge from 'lodash/merge';
import removeUndefinedObjects from 'remove-undefined-objects';

import getJSONSchemaDefaults from './getJSONSchemaDefaults';
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/packageInfo.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// This file is automatically updated by the build script.
export const PACKAGE_NAME = 'api';
export const PACKAGE_VERSION = '6.1.1';
export const PACKAGE_VERSION = '6.1.2';
2 changes: 1 addition & 1 deletion packages/httpsnippet-client-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "httpsnippet-client-api",
"version": "6.1.1",
"version": "6.1.2",
"description": "An HTTPSnippet client for generating snippets for the `api` module.",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
Loading