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

@enact/core

Package Overview
Dependencies
Maintainers
1
Versions
218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@enact/core - npm Package Compare versions

Comparing version 2.4.1 to 2.5.0

4

CHANGELOG.md

@@ -5,2 +5,6 @@ # Change Log

## [2.5.0] - 2019-04-01
No significant changes.
## [2.4.1] - 2019-03-11

@@ -7,0 +11,0 @@

6

internal/ApiDecorator/ApiDecorator.js

@@ -28,2 +28,4 @@ "use strict";

function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }

@@ -33,4 +35,2 @@

function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
// Gets a property from `provider`

@@ -119,3 +119,3 @@ var get = function get(provider, name) {

api.forEach(function (key) {
Object.defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), key, {
Object.defineProperty(_assertThisInitialized(_this), key, {
get: get(provider, key),

@@ -122,0 +122,0 @@ set: set(provider, key),

@@ -23,2 +23,4 @@ "use strict";

function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }

@@ -28,4 +30,2 @@

function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
describe('ApiDecorator', function () {

@@ -51,3 +51,3 @@ var _class, _temp;

_this.instanceProperty = 'property';
props.setApiProvider(_assertThisInitialized(_assertThisInitialized(_this)));
props.setApiProvider(_assertThisInitialized(_this));
return _this;

@@ -54,0 +54,0 @@ }

{
"name": "@enact/core",
"version": "2.4.1",
"version": "2.5.0",
"description": "Enact is an open source JavaScript framework containing everything you need to create a fast, scalable mobile or web application.",

@@ -5,0 +5,0 @@ "main": "index.js",

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