Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@khanacademy/perseus-core

Package Overview
Dependencies
Maintainers
1
Versions
282
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 1.3.0 to 1.4.0

10

CHANGELOG.md
# @khanacademy/perseus-core
## 1.4.0
### Minor Changes
- [#794](https://github.com/Khan/perseus/pull/794) [`a91c84fe`](https://github.com/Khan/perseus/commit/a91c84fe53827ff4333220777a9918882b7fe9f0) Thanks [@SonicScrewdriver](https://github.com/SonicScrewdriver)! - Removing the useV2Keypad apiOption as the V1 keypad is no longer in use.
### Patch Changes
- [#814](https://github.com/Khan/perseus/pull/814) [`105d2060`](https://github.com/Khan/perseus/commit/105d20603d935d35cff237b17f0bfb57ca751e4c) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Minor build change to how we provide Typescript type definitions (should be no change to build output).
## 1.3.0

@@ -4,0 +14,0 @@

2

dist/analytics.d.ts

@@ -1,2 +0,2 @@

export type VirtualKeypadVersion = "PERSEUS_MATH_INPUT" | "MATH_INPUT_KEYPAD_V1" | "MATH_INPUT_KEYPAD_V2" | "REACT_NATIVE_KEYPAD";
export type VirtualKeypadVersion = "MATH_INPUT_KEYPAD_V2" | "REACT_NATIVE_KEYPAD";
/**

@@ -3,0 +3,0 @@ * A type union of all the events that any package in the Perseus ecosystem can

@@ -45,3 +45,3 @@ /**

const libName = "@khanacademy/perseus-core";
const libVersion = "1.3.0";
const libVersion = "1.4.0";
addLibraryVersionToPerseusDebug(libName, libVersion);

@@ -48,0 +48,0 @@

@@ -20,6 +20,5 @@ 'use strict';

}
const formattedVersion = "".concat(prefix).concat(libraryVersion);
const formattedVersion = `${prefix}${libraryVersion}`;
if (typeof globalThis !== "undefined") {
var _globalThis$__perseus;
globalThis.__perseus_debug__ = (_globalThis$__perseus = globalThis.__perseus_debug__) !== null && _globalThis$__perseus !== void 0 ? _globalThis$__perseus : {};
globalThis.__perseus_debug__ = globalThis.__perseus_debug__ ?? {};
const existingVersionEntry = globalThis.__perseus_debug__[libraryName];

@@ -37,3 +36,3 @@ if (existingVersionEntry) {

// eslint-disable-next-line no-console
console.warn("Multiple versions of ".concat(libraryName, " loaded on this page: ").concat(allVersions.sort().join(", ")));
console.warn(`Multiple versions of ${libraryName} loaded on this page: ${allVersions.sort().join(", ")}`);
}

@@ -45,3 +44,3 @@ } else {

// eslint-disable-next-line no-console
console.warn("globalThis not found found (".concat(formattedVersion, ")"));
console.warn(`globalThis not found found (${formattedVersion})`);
}

@@ -52,3 +51,3 @@ };

const libName = "@khanacademy/perseus-core";
const libVersion = "1.3.0";
const libVersion = "1.4.0";
addLibraryVersionToPerseusDebug(libName, libVersion);

@@ -55,0 +54,0 @@

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

"license": "MIT",
"version": "1.3.0",
"version": "1.4.0",
"publishConfig": {

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

export type VirtualKeypadVersion =
| "PERSEUS_MATH_INPUT"
| "MATH_INPUT_KEYPAD_V1"
| "MATH_INPUT_KEYPAD_V2"

@@ -5,0 +3,0 @@ | "REACT_NATIVE_KEYPAD";

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

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