StrongLoop general chat. For LoopBack help, see https://gitter.im/strongloop/loopback
Until this is resolved anyone with strong-cluster-control
installed will get this report when running npm audit
:
Low Prototype Pollution
Package lodash
Patched in >=4.17.5
Dependency of strong-supervisor
Path strong-supervisor > strong-cluster-control > lodash
More info https://nodesecurity.io/advisories/577
const { src, series, parallel } = require('gulp');
const nodemon = require('gulp-nodemon');
const logger = require('gulp-logger');
function StartServer(cb) {
nodemon({
script: './index.js',
done: cb,
watch: ['./dist', './index.js']
})
.on('readable', function () {
console.log(process.stdout);
});
}
exports.StartServer = StartServer
Heya Folks, I'm using strong-soap server to host a web service that talks to a downstream rest api. The response I'm getting is not having correct tag name prefix for first element after soap:body,
I believe the responsible code for this is
if (descriptor.form === 'unqualified') {
elementName = name;
nsContext.pushContext();
nameSpaceContextCreated = true;
} else if (descriptor.qname) {
nsContext.pushContext();
nameSpaceContextCreated = true;
// get the mapping for the namespace uri
let mapping = nsContext.getPrefixMapping(descriptor.qname.nsURI);
let newlyDeclared = false;
// if namespace not declared, declare it
if (mapping === null || mapping.declared === false) {
newlyDeclared = true;
mapping = declareNamespace(nsContext, null,
descriptor.qname.prefix, descriptor.qname.nsURI);
}
// add the element to a parent node
let prefix = mapping ? mapping.prefix : descriptor.qname.prefix;
elementName = prefix ? prefix + ':' + name : name;
// if namespace is newly declared add the xmlns attribute
if (newlyDeclared) {
xmlns = prefix ? 'xmlns:' + prefix : 'xmlns';
}
}
in this one, my elements descriptor has qname but its prefix is undefined, any ideas ?
Hi, we would love to use the StrongLoop Process Manager and its client. Most things do work without a problem. The web site states under "Deploy to remote host"
You can also specify a .tgz file or Git branch as an argument.
This would mean I can specify a .tgz file I previously built and specify it as a parameter to the slc call. That didn't work at all and I get an error in the log, see https://pastebin.com/5Tsu1D9a .
I have data in monogdb look like this
"value": {
"EN": "Please write to us for Queries",
"UR": "سوالات کے لئے ہم پر لکھ کریں"
},
My model like
@property({
type: "object",
required: true,
default: ""
})
value: Object;
And I am trying to get value of EN in filed
{
"where": {
"additionalProp1": {}
},
"fields": {
"_id": true,
"language_id": true,
"title": true,
"code": true,
"created_at": true,
"updated_at": true,
"status": true,
"additionalProp1": {}
},
"offset": 0,
"limit": 100,
"skip": 0,
"order": [
"string"
]
}
So how can Get value.EN in filed