![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
activity-mocks
Advanced tools
Mock [JSON Activity Streams](http://tools.ietf.org/html/draft-snell-activitystreams-09) Objects you can use to develop other components.
Mock JSON Activity Streams Objects you can use to develop other components.
The source is intended to be run by node (not, e.g. cajon).
A UMD build is distributed in dist/, and can be generated with make dist
.
The main export is a tree of the different sets of mocks
var activityMocks = require('activity-mocks');
activityMocks.strings;
activityMocks.jsonld;
activityMocks.livefyre.userPostMessage;
activityMocks.livefyre.sitePostCollection;
You can create a new instance of a mock by name
var activityMocks = require('activity-mocks');
activityMocks.create('strings');
activityMocks.create('jsonld');
activityMocks.create('livefyre.userPostMessage');
activityMocks.create('livefyre.sitePostCollection');
You can get an array of all mocks
require('activity-mocks').toArray();
You can get a list of all names
var activityMocks = require('activity-mocks');
activityMocks.names
.filter(function (name) {
return name.indexOf('livefyre.') === 0;
})
.map(activityMocks.create);
make
commandsmake build
- will npm install
and bower install
make dist
- will use r.js optimizer to compile the source, UMD wrap, and place that and source maps in dist/make clean
make server
- serve the repo over httpmake deploy [env={*prod,uat,qa}]
- Deploy to lfcdn, optionally specifying a bucket envFAQs
Mock [JSON Activity Streams](http://tools.ietf.org/html/draft-snell-activitystreams-09) Objects you can use to develop other components.
The npm package activity-mocks receives a total of 0 weekly downloads. As such, activity-mocks popularity was classified as not popular.
We found that activity-mocks 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.