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

BREAKING(jsonc): move to top-level folder and single-export files #3243

Merged
merged 4 commits into from
Mar 13, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
deprecation version update
  • Loading branch information
iuioiua committed Mar 11, 2023
commit bb021194146e77a2fe09772219843ce9eb048856
8 changes: 4 additions & 4 deletions encoding/jsonc.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.

/**
* @deprecated (will be removed after 0.181.0) Import from `std/jsonc` instead.
* @deprecated (will be removed after 0.182.0) Import from `std/jsonc` instead.
*
* {@linkcode parse} function for parsing
* [JSONC](https://code.visualstudio.com/docs/languages/json#_json-with-comments)
Expand All @@ -14,13 +14,13 @@

export {
/**
* @deprecated (will be removed after 0.181.0) Import from `std/jsonc/parse.ts` instead.
* @deprecated (will be removed after 0.182.0) Import from `std/jsonc/parse.ts` instead.
*
* Valid types as a result of JSON parsing.
*/
type JSONValue,
/**
* @deprecated (will be removed after 0.181.0) Import from `std/jsonc/parse.ts` instead.
* @deprecated (will be removed after 0.182.0) Import from `std/jsonc/parse.ts` instead.
*
* Converts a JSON with Comments (JSONC) string into an object.
* If a syntax error is found, throw a SyntaxError.
Expand All @@ -40,6 +40,6 @@ export {
* @param text A valid JSONC string.
*/
parse,
/** @deprecated (will be removed after 0.181.0) Import from `std/jsonc/parse.ts` instead. */
/** @deprecated (will be removed after 0.182.0) Import from `std/jsonc/parse.ts` instead. */
type ParseOptions,
} from "../jsonc/mod.ts";