
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
betajs-data
Advanced tools
BetaJS-Data is a general-purpose JavaScript framework for handling RESTful operations and ActiveRecord abstractions.
BetaJS-Data is a general-purpose JavaScript framework for handling RESTful operations and ActiveRecord abstractions.
You can use the library in the browser, in your NodeJS project and compile it as well.
<script src="betajs/dist/betajs.min.js"></script>
<script src="betajs-data/dist/betajs-data.min.js"></script>
var BetaJS = require('betajs/dist/beta.js');
require('betajs-data/dist/betajs-data.js');
git clone https://github.com/betajs/betajs-data.git
npm install
grunt
The BetaJS Data module contains the following subsystems:
{
"gender": "male",
"age": {
"$gt": 16
},
"first_name": {
"$sw": "S"
}
}
evaluate(query, {"gender": "female", ...}) === false
evaluate(query, {"age": 16, ...}) === false
evaluate(query, {"first_name": "Guybrush", ...}) === false
evaluate(query, {"gender": "male", "age": 17, "first_name": "Simon"}) === true
store.insert(instance).success(function (data) {
// Instance was inserted, and the updated data of instance is data (including the id)
}).error(function (error) {
// Could not insert instance
});
store.query(query, constraints).success(function (iterator) {
// Store was succesfully queried; the query result is an iterator over matched instances.
}).error(function (error) {
// Could not execute query
});
var MyModel = BetaJS.Data.Modelling.Model.extend(null, {
}, function (inherited) {
return {
_initializeScheme: function () {
var scheme = inherited._initializeScheme.call(this);
scheme.first_name = {
type: "string"
};
scheme.last_name = {
type: "string"
};
return scheme;
}
};
});
var myTable = new BetaJS.Data.Modelling.Table(store, MyModel);
var tableQC = new BetaJS.Data.Collections.TableQueryCollection(table, query, options);
var storeQC = new BetaJS.Data.Collections.StoreQueryCollection(store, query, options);
Resource | URL |
---|---|
Homepage | https://betajs.com |
Git | git://github.com/betajs/betajs-data.git |
Repository | https://github.com/betajs/betajs-data |
Blog | https://blog.betajs.com |
https://twitter.com/thebetajs | |
Gitter | https://gitter.im/betajs/betajs-data |
Target | Versions |
---|---|
Firefox | 3 - Latest |
Chrome | 18 - Latest |
Safari | 4 - Latest |
Opera | 12 - Latest |
Internet Explorer | 6 - Latest |
Edge | 12 - Latest |
Yandex | Latest |
iOS | 3.0 - Latest |
Android | 4.4 - Latest |
NodeJS | 4.0 - Latest |
Resource | URL |
---|---|
betajs-data.js | http://cdn.rawgit.com/betajs/betajs-data/master/dist/betajs-data.js |
betajs-data.min.js | http://cdn.rawgit.com/betajs/betajs-data/master/dist/betajs-data.min.js |
betajs-data-noscoped.js | http://cdn.rawgit.com/betajs/betajs-data/master/dist/betajs-data-noscoped.js |
betajs-data-noscoped.min.js | http://cdn.rawgit.com/betajs/betajs-data/master/dist/betajs-data-noscoped.min.js |
Resource | URL |
---|---|
Test Suite | Run |
Name | URL |
---|---|
betajs | Open |
Name | URL |
---|---|
betajs-scoped | Open |
betajs-shims | Open |
Apache-2.0
FAQs
BetaJS-Data is a general-purpose JavaScript framework for handling RESTful operations and ActiveRecord abstractions.
The npm package betajs-data receives a total of 9 weekly downloads. As such, betajs-data popularity was classified as not popular.
We found that betajs-data 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.