New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@khanacademy/perseus-core

Package Overview
Dependencies
Maintainers
1
Versions
819
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@khanacademy/perseus-core - npm Package Compare versions

Comparing version 3.6.0 to 3.7.0

dist/parse-perseus-json/perseus-parsers/perseus-answer-area.d.ts

13

dist/data-schema.d.ts

@@ -229,4 +229,11 @@ /**

widgets: PerseusWidgetsMap;
metadata?: ReadonlyArray<string>;
/**
* Formerly used in the PerseusGradedGroup widget. A list of "tags" that
* are keys that represent other content in the system. Not rendered to
* the user. NOTE: perseus_data.go says this is required even though it
* isn't necessary.
* @deprecated
*/
metadata?: any;
/**
* A dictionary of {[imageUrl]: PerseusImageDetail}.

@@ -262,3 +269,3 @@ */

options: Options;
key?: number;
key?: number | null;
version?: Version;

@@ -309,3 +316,3 @@ };

left?: number;
scale?: number | string;
scale?: number;
bottom?: number;

@@ -312,0 +319,0 @@ };

@@ -104,1 +104,3 @@ export type { PerseusAnalyticsEvent, AnalyticsEventHandlerFn } from "./analytics";

export { default as getPlotterPublicWidgetOptions } from "./widgets/plotter/plotter-util";
export { default as getMatcherPublicWidgetOptions, shuffleMatcher, } from "./widgets/matcher/matcher-util";
export { shuffle, seededRNG, random } from "./utils/random-util";
import type { PerseusGroupWidgetOptions } from "../../data-schema";
import type { WidgetLogic } from "../logic-export.types";
export type GroupDefaultWidgetOptions = Pick<PerseusGroupWidgetOptions, "content" | "widgets" | "images" | "metadata">;
export type GroupDefaultWidgetOptions = Pick<PerseusGroupWidgetOptions, "content" | "widgets" | "images">;
declare const groupWidgetLogic: WidgetLogic;
export default groupWidgetLogic;

@@ -9,2 +9,3 @@ import type getCategorizerPublicWidgetOptions from "./categorizer/categorizer-util";

import type getLabelImagePublicWidgetOptions from "./label-image/label-image-util";
import type getMatcherPublicWidgetOptions from "./matcher/matcher-util";
import type getMatrixPublicWidgetOptions from "./matrix/matrix-util";

@@ -29,3 +30,3 @@ import type getNumberLinePublicWidgetOptions from "./number-line/number-line-util";

*/
export type PublicWidgetOptionsFunction = typeof getPlotterPublicWidgetOptions | typeof getIFramePublicWidgetOptions | typeof getRadioPublicWidgetOptions | typeof getNumericInputPublicWidgetOptions | typeof getDropdownPublicWidgetOptions | typeof getCategorizerPublicWidgetOptions | typeof getOrdererPublicWidgetOptions | typeof getExpressionPublicWidgetOptions | typeof getInteractiveGraphPublicWidgetOptions | typeof getLabelImagePublicWidgetOptions | typeof getSorterPublicWidgetOptions | typeof getCSProgramPublicWidgetOptions | typeof getNumberLinePublicWidgetOptions | typeof getTablePublicWidgetOptions | typeof getGrapherPublicWidgetOptions | typeof getMatrixPublicWidgetOptions;
export type PublicWidgetOptionsFunction = typeof getMatcherPublicWidgetOptions | typeof getPlotterPublicWidgetOptions | typeof getIFramePublicWidgetOptions | typeof getRadioPublicWidgetOptions | typeof getNumericInputPublicWidgetOptions | typeof getDropdownPublicWidgetOptions | typeof getCategorizerPublicWidgetOptions | typeof getOrdererPublicWidgetOptions | typeof getExpressionPublicWidgetOptions | typeof getInteractiveGraphPublicWidgetOptions | typeof getLabelImagePublicWidgetOptions | typeof getSorterPublicWidgetOptions | typeof getCSProgramPublicWidgetOptions | typeof getNumberLinePublicWidgetOptions | typeof getTablePublicWidgetOptions | typeof getGrapherPublicWidgetOptions | typeof getMatrixPublicWidgetOptions;
export type WidgetLogic = {

@@ -32,0 +33,0 @@ name: string;

@@ -10,2 +10,3 @@ import type { PerseusSorterWidgetOptions } from "@khanacademy/perseus-core";

layout: PerseusSorterWidgetOptions["layout"];
isCorrectShuffled: boolean;
};

@@ -12,0 +13,0 @@ /**

@@ -6,3 +6,3 @@ {

"license": "MIT",
"version": "3.6.0",
"version": "3.7.0",
"publishConfig": {

@@ -9,0 +9,0 @@ "access": "public"

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc