
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
fd-angular-core
Advanced tools
fd-angular-core
Promise
polyfill.import {bootstrap, State} from 'npm:fd-angular-core';
@State({
template: `<p>{{ app.message }}</p>`
})
class AppController {
constructor() {
this.message = "Hello world!";
}
activate() {
// can return a promise
}
attach() {
}
detach() {
}
}
bootstrap(AppController); // => Promise
@Inject
@Inject('$scope')
class Foo {
constructor($scope) {}
@Inject('$scope')
aMethod($scope) {}
}
$injector.superConstruct
and $injector.superCall
class Foo extends Bar {
constructor($injector) {
$injector.superConstruct(this);
// or:
// $injector.superConstruct(this, locals);
}
aMethod($injector) {
$injector.superCall(this, "aMethod");
// or:
// $injector.superCall(this, "aMethod", locals)
}
}
@Service
@Service
// or: @Service('Foo')
class Foo {}
// this service is injectable as 'Foo'
@Controller
@Controller
// or: @Controller('Foo')
class Foo {}
// this controller is injectable as 'Foo'
@Component
@Component
// or: @Component({ ... })
class FooController {}
// this component can be used as `<foo>` or `<div foo></div>`
// and uses the `./components/foo/foo.html` template
options: restrict
, scope
, template
, templateUrl
Set template
to false
to prevent the default template from being used.
FAQs
Personal Angular utils
The npm package fd-angular-core receives a total of 4 weekly downloads. As such, fd-angular-core popularity was classified as not popular.
We found that fd-angular-core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
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.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.