📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

@fluentui-react-native/memo-cache

Package Overview
Dependencies
Maintainers
4
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui-react-native/memo-cache - npm Package Compare versions

Comparing version

to
1.1.5

17

CHANGELOG.json

@@ -5,3 +5,18 @@ {

{
"date": "Tue, 28 Sep 2021 21:06:18 GMT",
"date": "Mon, 25 Oct 2021 19:22:27 GMT",
"tag": "@fluentui-react-native/memo-cache_v1.1.5",
"version": "1.1.5",
"comments": {
"patch": [
{
"comment": "Use tslib where spreadArray is used",
"author": "ruaraki@microsoft.com",
"commit": "f6578742d6c957cf7e346db82f89171f80bedc3b",
"package": "@fluentui-react-native/memo-cache"
}
]
}
},
{
"date": "Tue, 28 Sep 2021 21:08:25 GMT",
"tag": "@fluentui-react-native/memo-cache_v1.1.4",

@@ -8,0 +23,0 @@ "version": "1.1.4",

# Change Log - @fluentui-react-native/memo-cache
This log was last generated on Tue, 28 Sep 2021 21:06:18 GMT and should not be manually modified.
This log was last generated on Mon, 25 Oct 2021 19:22:27 GMT and should not be manually modified.
<!-- Start content -->
## 1.1.5
Mon, 25 Oct 2021 19:22:27 GMT
### Patches
- Use tslib where spreadArray is used (ruaraki@microsoft.com)
## 1.1.4
Tue, 28 Sep 2021 21:06:18 GMT
Tue, 28 Sep 2021 21:08:25 GMT

@@ -11,0 +19,0 @@ ### Patches

10

lib-commonjs/getCacheEntry.test.js
"use strict";
var __spreadArrays = (this && this.__spreadArrays) || function () {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
};
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var getCacheEntry_1 = require("./getCacheEntry");

@@ -101,5 +95,5 @@ function compareResults(base, args, argsNoMatch) {

var target = getCacheEntry_1.getCacheEntry(subRoot, args2);
expect(getCacheEntry_1.getCacheEntry(base, __spreadArrays(args1, args2))).toBe(target);
expect(getCacheEntry_1.getCacheEntry(base, tslib_1.__spreadArrays(args1, args2))).toBe(target);
});
});
//# sourceMappingURL=getCacheEntry.test.js.map
"use strict";
var __spreadArrays = (this && this.__spreadArrays) || function () {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
};
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var getMemoCache_1 = require("./getMemoCache");

@@ -83,3 +77,3 @@ function getObjFactory() {

var val1 = getMemoValue(fn, keys2)[0];
var val2 = memoValue(fn, __spreadArrays(keys1, keys2))[0];
var val2 = memoValue(fn, tslib_1.__spreadArrays(keys1, keys2))[0];
expect(val2).toBe(val1);

@@ -86,0 +80,0 @@ });

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

var __spreadArrays = (this && this.__spreadArrays) || function () {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
};
import { __spreadArrays } from "tslib";
import { getCacheEntry } from './getCacheEntry';

@@ -9,0 +3,0 @@ function compareResults(base, args, argsNoMatch) {

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

var __spreadArrays = (this && this.__spreadArrays) || function () {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
};
import { __spreadArrays } from "tslib";
import { getMemoCache } from './getMemoCache';

@@ -9,0 +3,0 @@ function getObjFactory() {

{
"name": "@fluentui-react-native/memo-cache",
"version": "1.1.4",
"version": "1.1.5",
"description": "Layered memoization style cache helper",

@@ -34,4 +34,5 @@ "repository": {

"@uifabricshared/build-native": "^0.1.1",
"@uifabricshared/eslint-config-rules": "^0.1.1"
"@uifabricshared/eslint-config-rules": "^0.1.1",
"tslib": "^1.13.0"
}
}

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

Sorry, the diff of this file is not supported yet