
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
ember-cache-primitive-polyfill
Advanced tools
Polyfills Ember's cache primitive API.
Provides a low-level primitive for memoizing the result of a function based on autotracking, allowing users to create their own reactive systems that can respond to changes in autotracked state.
ember-cli-babel
v7.22.1 or aboveember install ember-cache-primitive-polyfill
import { tracked } from '@glimmer/tracking';
import { createCache, getValue } from '@glimmer/tracking/primitives/cache';
let computeCount = 0;
class Person {
@tracked firstName = 'Jen';
@tracked lastName = 'Weber';
#fullName = createCache(() => {
++computeCount;
return `${this.firstName} ${this.lastName}`;
})
get fullName() {
return getValue(this.#fullName);
}
}
let person = new Person();
console.log(person.fullName); // Jen Weber
console.log(count); // 1;
console.log(person.fullName); // Jen Weber
console.log(count); // 1;
person.firstName = 'Jennifer';
console.log(person.fullName); // Jennifer Weber
console.log(count); // 2;
See the Contributing guide for details.
This project is licensed under the MIT License.
v1.0.1 (2020-09-18)
FAQs
The default blueprint for ember-cli addons.
We found that ember-cache-primitive-polyfill demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.